TidalUI

Empty state section preview

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

pro · Blocks · section

When to use

Alternatives

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

Installation

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

Import components/ui/tidal.css, components/ui/empty-state-section.css. Wrap installed components in tidal-scope.

Preview

Empty state section component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/empty-state-section.css";
import{TidalEmptyStateSection}from"./components/ui/empty-state-section";
export default()=><div className="tidal-scope"><TidalEmptyStateSection title={"Demo"}/></div>;

API and props

TidalEmptyStateSection.title (required)
ReactNode

Required title value accepted by this exported component.

TidalEmptyStateSection.actions
ReadonlyArray<TidalEmptyStateAction> | undefined

Optional actions value accepted by this exported component.

TidalEmptyStateSection.actionsLabel
string | undefined

Optional actions label value accepted by this exported component.

TidalEmptyStateSection.description
ReactNode

Optional description value accepted by this exported component.

TidalEmptyStateSection.detail
ReactNode

Optional detail value accepted by this exported component.

TidalEmptyStateSection.detailLabel
ReactNode

Optional detail label value accepted by this exported component.

TidalEmptyStateSection.emptyActionsMessage
ReactNode

Optional empty actions message value accepted by this exported component.

TidalEmptyStateSection.footer
ReactNode

Optional footer value accepted by this exported component.

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

Optional heading level value accepted by this exported component.

TidalEmptyStateSection.stateLabel
ReactNode

Optional state label value accepted by this exported component.

TidalEmptyStateSection.variant
TidalEmptyStateVariant | undefined

Optional variant value accepted by this exported component.

TidalEmptyStateSection.visual
ReactNode

Optional visual value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas