0
Components

Sidebar

Composable navigation sidebar with grouped menu items, solid tonal active surfaces, corner morphing, and ripple feedback.

Installation

Usage

Examples

Groups & Badges

Static Radius

API Reference

SidebarProvider

Provides sidebar open/close state and mobile detection via context. Sets --sidebar-width: 16rem by default.

PropTypeDefaultDescription
defaultOpenbooleantrueInitial uncontrolled open state
openboolean-Controlled desktop open state
onOpenChange(open: boolean) => void-Called when the desktop open state changes
classNamestring-Additional CSS classes

Root <aside> container sized to w-(--sidebar-width,16rem).

PropTypeDefaultDescription
collapsible"offcanvas" | "icon" | "none""offcanvas"Collapsible mode metadata
renderReact.ReactElement-Custom element to render
classNamestring-Additional CSS classes

SidebarMenuButton

Interactive menu item button with solid tonal hover/active surfaces, corner morphing, and <Ripple />.

PropTypeDefaultDescription
isActivebooleanfalseMarks the item as active (aria-current="page")
morphbooleantrueMorphs border-radius from rounded-lg to rounded-xl
renderReact.ReactElement-Custom element (e.g. Next.js <Link />)
classNamestring-Additional CSS classes

SidebarContent / SidebarGroup / SidebarGroupLabel / SidebarGroupContent / SidebarMenu / SidebarMenuItem / useSidebar

Composable layout primitives and context hook for building structured navigation trees.

© taut ui — built with Base UI and Tailwind CSS v4.