Sidebar
Collapsible application sidebar navigation panel.
Generado a partir del código fuente público del paquete.
API
Contentcomponente
Content(props: SidebarContentProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Footercomponente
Footer(props: SidebarFooterProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Headercomponente
Header(props: SidebarHeaderProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Panelcomponente
Panel(props: SidebarPanelProps): Element
Propiedades
aria-label?string— Accessible label for the navigation landmark.class?stringstyle?string | CSSProperties
hijos: Element
Railcomponente
Rail(props: SidebarRailProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Rootcomponente
Root(props: SidebarRootProps): Element
Propiedades
collapsedWidth?string— Width when collapsed.collapsible?boolean— Whether the sidebar can be collapsed.defaultOpen?boolean— Default open state (uncontrolled).disabled?boolean— Disable all interactions.expandedWidth?string— Width when expanded.onOpenChange?(open: boolean) => void— Called when open/collapsed state changes.open?Accessor<boolean>— Controlled open state.side?"left" | "right"— Which side the sidebar is on.
hijos: Element
SidebarContentPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
SidebarFooterPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
SidebarHeaderPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
SidebarPanelPropsinterfaz
Propiedades
aria-label?string— Accessible label for the navigation landmark.class?stringstyle?string | CSSProperties
hijos: Element
SidebarRailPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
SidebarRootPropsinterfaz
Propiedades
collapsedWidth?string— Width when collapsed.collapsible?boolean— Whether the sidebar can be collapsed.defaultOpen?boolean— Default open state (uncontrolled).disabled?boolean— Disable all interactions.expandedWidth?string— Width when expanded.onOpenChange?(open: boolean) => void— Called when open/collapsed state changes.open?Accessor<boolean>— Controlled open state.side?"left" | "right"— Which side the sidebar is on.
hijos: Element
SidebarTriggerPropsinterfaz
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element
Triggercomponente
Trigger(props: SidebarTriggerProps): Element
Propiedades
class?stringstyle?string | CSSProperties
hijos: Element