Component libraryEmpty state section
Components/Blocks

Empty state section

Pro

A responsive blank, no-results, error, or permission state with consumer-owned native actions and outcomes.

npx shadcn@latest add @tidal-pro/empty-state-section
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/empty-state-section

Import components/ui/tidal.css, components/ui/empty-state-section.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

title is required. variant is blank(default) | no-results | error | permission and selects neutral visual/state styling only. Optional stateLabel, visual, description, detail/detailLabel, footer and emptyActionsMessage are consumer-owned ReactNode values. Actions are discriminated native links with href/linkProps/ref or buttons with onAction/buttonProps/ref, optional icon, primary/secondary variant and disabled state. Link aria-disabled true resolves disabled semantics, removes the destination from tab order and suppresses navigation/caller handling while false is preserved. Button type defaults to button; native onClick runs before onAction and preventDefault suppresses the higher callback. The section forwards native attributes/ref and headingLevel h2(default) | h3 | h4. The component performs no search, retry, creation, permission, request, storage or result side effect.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.