Skip to main content

Variable: SidebarRail

@arolariu/components


@arolariu/components / SidebarRail

Variable: SidebarRail

const SidebarRail: ForwardRefExoticComponent<Omit<DetailedHTMLProps<ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>

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

Renders a slim rail button used to toggle the sidebar collapsed state.

Remarks

  • Renders a <button> element
  • Built on the shared sidebar context

Example

<SidebarRail />

See

HTML button element

// was this page useful?