Skip to main content

Function: DropDrawerGroup()

@arolariu/components


@arolariu/components / DropDrawerGroup

Function: DropDrawerGroup()

DropDrawerGroup(__namedParameters): Element

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

Renders a grouped collection of drop drawer items.

Parameters

__namedParameters

ClassAttributes<HTMLDivElement> & HTMLAttributes<HTMLDivElement> & object

Returns

Element

Remarks

  • Renders a Base UI menu group on desktop and a <div role="group"> on mobile
  • Inserts mobile-only separators between adjacent children

Example

<DropDrawerGroup>
<DropDrawerItem>Profile</DropDrawerItem>
<DropDrawerItem>Billing</DropDrawerItem>
</DropDrawerGroup>

See

ARIA Group Role

// was this page useful?