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.

KB-223 · ANNOUNCE/LAUNCH/RAIL

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

PropTypeDefaultDescription
updatesstring[]The lines the slot rolls through, in order.
open / onOpenChangeboolean · (open) => voidControlled visibility passthrough to the bar.
actionLabel / onActionstring · () => voidThe see-everything path at the rail's end.