TidalUI

Notification stack preview

Dismissible messages with optional actions and timers.

pro · Feedback · composite

When to use

Alternatives

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

Installation

npx shadcn@latest add @tidal-pro/notification-stack

Import components/ui/tidal.css, components/ui/notification-stack.css. Wrap installed components in tidal-scope.

Preview

Notification stack component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/notification-stack.css";
import{TidalNotificationStack}from"./components/ui/notification-stack";
export default()=><div className="tidal-scope"><TidalNotificationStack notifications={[{id:"example",title:"Demo"}]} onDismiss={() => {}}/></div>;

API and props

TidalNotificationStack.notifications (required)
Array<TidalNotification>

Required notifications value accepted by this exported component.

TidalNotificationStack.onDismiss (required)
(id: string) => void

Callback invoked when the dismiss interaction is proposed.

TidalNotificationStack.className
string | undefined

Optional class name value accepted by this exported component.

TidalNotificationStack.position
"inline" | "bottom-right" | undefined

Optional position value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas