Skip to main content

Function: DropDrawerLabel()

@arolariu/components


@arolariu/components / DropDrawerLabel

Function: DropDrawerLabel()

DropDrawerLabel(__namedParameters): Element

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

Renders a section label for the drop drawer surface.

Parameters

__namedParameters

Readonly<DrawerTitleProps> | Readonly<Omit<MenuGroupLabelProps, "ref"> & RefAttributes<HTMLDivElement>>

Returns

Element

Remarks

  • Renders a drawer title on mobile and a menu label on desktop
  • Built on Base UI Drawer and Menu primitives

Example

<DropDrawerLabel>Actions</DropDrawerLabel>

See

Base UI Menu Docs

// was this page useful?