TidalUI

Status badge preview

Animated labels for pending, success and error states.

free · Feedback · primitive

When to use

Alternatives

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

Installation

npx shadcn@latest add https://tidalui.com/r/status-badge.json

Import components/ui/tidal.css, components/ui/status-badge.css. Wrap installed components in tidal-scope.

Preview

Status badge component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/status-badge.css";
import{TidalStatusBadge}from"./components/ui/status-badge";
export default()=><div className="tidal-scope"><TidalStatusBadge label="Ready"/></div>;

API and props

TidalStatusBadge.announce
boolean | undefined

Opt into polite announcements for a changing status. Static collections should leave this false.

TidalStatusBadge.children
string | undefined

String-only alias for label. Rich children are intentionally rejected.

TidalStatusBadge.label
string | undefined

Visible status text. When both forms are supplied, label takes precedence.

TidalStatusBadge.size
"sm" | "md" | undefined

Optional size value accepted by this exported component.

TidalStatusBadge.status
TidalStatus | undefined

Optional status value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas