KB-223 · ANNOUNCE/LAUNCH/RAIL
Launch Rail Announcements
A launch rail for the top of a page: the library's own alert bar carrying a rolling slot of updates — one line at a time, each holding just long enough to read. The bar owns the entrance, the severity stripe, and the dismissal that closes the space behind it; the slot only rolls. Dismiss it and every update goes at once, the way a rail should.
Install
One command — the source lands in your repo. Or copy it from the Code tab.
$ pnpm dlx shadcn@latest add @kinetiq/announce-launch-rail
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| updates | string[] | — | The lines the slot rolls through, in order. |
| open / onOpenChange | boolean · (open) => void | — | Controlled visibility passthrough to the bar. |
| actionLabel / onAction | string · () => void | — | The see-everything path at the rail's end. |