Skip to main content

Variable: SidebarGroupAction

@arolariu/components


@arolariu/components / SidebarGroupAction

Variable: SidebarGroupAction

const SidebarGroupAction: ForwardRefExoticComponent<Omit<SidebarGroupActionProps, "ref"> & RefAttributes<HTMLButtonElement>>

Defined in: components/ui/sidebar.tsx:677

Renders a secondary action aligned with a sidebar group heading.

Remarks

  • Renders a <button> element by default
  • Supports asChild composition for custom controls

Example

<SidebarGroupAction aria-label='Add project'>+</SidebarGroupAction>

See

React cloneElement Docs

// was this page useful?