Component libraryNotification stack
Notification stack
ProDismissible messages with optional actions and timers.
npx shadcn@latest add @tidal-pro/notification-stackInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/notification-stack.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
notifications: unique fresh id per message, title, description?, tone (success|info|error)?, duration?, action {label,altText,onClick}?. onDismiss required. Optional inline/bottom-right position, className. Persistent by default; positive finite duration in milliseconds enables timed dismissal; Infinity persists. Radix pauses timer on focus/hover/blur, supports swipe and F8 focus. Mount one stack per application.
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.