TidalUI

Dashboard layout preview

A responsive semantic dashboard shell with composable header, navigation, main content, and an in-flow mobile disclosure.

pro · Templates · template

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/dashboard-layout

Import components/ui/tidal.css, components/ui/dashboard-layout.css. Wrap installed components in tidal-scope.

Preview

Dashboard layout component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/dashboard-layout.css";
import{TidalDashboardLayout}from"./components/ui/dashboard-layout";
export default()=><div className="tidal-scope"><TidalDashboardLayout children={"value"} navigation={"value"} title={"Demo"}/></div>;

API and props

TidalDashboardNavGroup.children (required)
ReactNode

Required children value accepted by this exported component.

TidalDashboardNavGroup.label (required)
ReactNode

Required label value accepted by this exported component.

TidalDashboardNavGroup.headingLevel
"h2" | "h3" | "h4" | undefined

Optional heading level value accepted by this exported component.

TidalDashboardNavLink.href (required)
string

Required href value accepted by this exported component.

TidalDashboardNavLink.label (required)
ReactNode

Required label value accepted by this exported component.

TidalDashboardNavLink.active
boolean | undefined

Optional active value accepted by this exported component.

TidalDashboardNavLink.badge
ReactNode

Optional badge value accepted by this exported component.

TidalDashboardNavLink.icon
ReactNode

Optional icon value accepted by this exported component.

TidalDashboardNavAction.label (required)
ReactNode

Required label value accepted by this exported component.

TidalDashboardNavAction.active
boolean | undefined

Optional active value accepted by this exported component.

TidalDashboardNavAction.badge
ReactNode

Optional badge value accepted by this exported component.

TidalDashboardNavAction.closeOnSelect
boolean | undefined

Optional close on select value accepted by this exported component.

TidalDashboardNavAction.icon
ReactNode

Optional icon value accepted by this exported component.

TidalDashboardLayout.children (required)
ReactNode

Required children value accepted by this exported component.

TidalDashboardLayout.navigation (required)
ReactNode

Required navigation value accepted by this exported component.

TidalDashboardLayout.title (required)
ReactNode

Required title value accepted by this exported component.

TidalDashboardLayout.brandHref
string | undefined

Optional brand href value accepted by this exported component.

TidalDashboardLayout.brandProps
Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "children" | "href"> | undefined

Optional brand props value accepted by this exported component.

TidalDashboardLayout.brandRef
Ref<HTMLAnchorElement> | undefined

Optional brand ref value accepted by this exported component.

TidalDashboardLayout.defaultMobileNavigationOpen
boolean | undefined

Optional default mobile navigation open value accepted by this exported component.

TidalDashboardLayout.header
ReactNode

Optional header value accepted by this exported component.

TidalDashboardLayout.headerProps
Omit<HTMLAttributes<HTMLElement>, "children"> | undefined

Optional header props value accepted by this exported component.

TidalDashboardLayout.headerRef
Ref<HTMLElement> | undefined

Optional header ref value accepted by this exported component.

TidalDashboardLayout.mainProps
Omit<HTMLAttributes<HTMLElement>, "children"> | undefined

Optional main props value accepted by this exported component.

TidalDashboardLayout.mainRef
Ref<HTMLElement> | undefined

Optional main ref value accepted by this exported component.

TidalDashboardLayout.mark
ReactNode

Optional mark value accepted by this exported component.

TidalDashboardLayout.mobileNavigationLabel
string | undefined

Optional mobile navigation label value accepted by this exported component.

TidalDashboardLayout.mobileNavigationOpen
boolean | undefined

Optional mobile navigation open value accepted by this exported component.

TidalDashboardLayout.navigationFooter
ReactNode

Optional navigation footer value accepted by this exported component.

TidalDashboardLayout.navigationLabel
string | undefined

Optional navigation label value accepted by this exported component.

TidalDashboardLayout.navigationProps
Omit<HTMLAttributes<HTMLElement>, "aria-label" | "children"> | undefined

Optional navigation props value accepted by this exported component.

TidalDashboardLayout.navigationRef
Ref<HTMLElement> | undefined

Optional navigation ref value accepted by this exported component.

TidalDashboardLayout.onMobileNavigationOpenChange
((open: boolean) => void) | undefined

Callback invoked when the mobile navigation open change interaction is proposed.

TidalDashboardLayout.skipLabel
string | undefined

Optional skip label value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas