Skip to main content

Function: DropDrawerItem()

@arolariu/components


@arolariu/components / DropDrawerItem

Function: DropDrawerItem()

DropDrawerItem(__namedParameters): Element

Defined in: components/ui/dropdrawer.tsx:716

Renders an actionable item inside the drop drawer surface.

Parameters

__namedParameters

SharedDropDrawerItemProps

Returns

Element

Remarks

  • Renders a Base UI menu item on desktop and a keyboard-accessible <div> on mobile
  • Built on Base UI Menu and Drawer close primitives

Example

<DropDrawerItem icon={<ChevronRightIcon />}>Account</DropDrawerItem>

See

Base UI Menu Docs

// was this page useful?