Sidebar preview
Collapsible workspace navigation with an inline mobile menu.
pro · Navigation · composite
When to use
- Use it when a page needs collapsible workspace navigation with an inline mobile menu.
- Choose it as the nav region when composing a page from independently reusable TidalUI sections.
Alternatives
- Choose navigation-bar instead when responsive saas navigation with native links, actions and an in-flow mobile disclosure is the actual interface need, rather than sidebar.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/sidebarImport components/ui/tidal.css, components/ui/sidebar.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/sidebar.css";
import{TidalSidebar}from"./components/ui/sidebar";
export default()=><div className="tidal-scope"><TidalSidebar navigation={"value"} title={"Demo"}/></div>;API and props
TidalSidebar.navigation (required)ReactNodeRequired navigation value accepted by this exported component.
TidalSidebar.title (required)stringRequired title value accepted by this exported component.
TidalSidebar.collapsedboolean | undefinedOptional collapsed value accepted by this exported component.
TidalSidebar.defaultCollapsedboolean | undefinedOptional default collapsed value accepted by this exported component.
TidalSidebar.footerReactNodeOptional footer value accepted by this exported component.
TidalSidebar.markReactNodeOptional mark value accepted by this exported component.
TidalSidebar.navigationLabelstring | undefinedOptional navigation label value accepted by this exported component.
TidalSidebar.onCollapsedChange((collapsed: boolean) => void) | undefinedCallback invoked when the collapsed change interaction is proposed.
TidalSidebarGroup.label (required)stringRequired label value accepted by this exported component.
TidalSidebarLink.label (required)stringRequired label value accepted by this exported component.
TidalSidebarLink.activeboolean | undefinedOptional active value accepted by this exported component.
TidalSidebarLink.badgestring | number | undefinedOptional badge value accepted by this exported component.
TidalSidebarLink.iconReactNodeOptional icon value accepted by this exported component.
TidalSidebarAction.label (required)stringRequired label value accepted by this exported component.
TidalSidebarAction.activeboolean | undefinedOptional active value accepted by this exported component.
TidalSidebarAction.badgestring | number | undefinedOptional badge value accepted by this exported component.
TidalSidebarAction.closeOnSelectboolean | undefinedOptional close on select value accepted by this exported component.
TidalSidebarAction.iconReactNodeOptional icon value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.