shadcn.io is not affiliated with official shadcn/ui
Horizontal Marquee Band Features Block for React Aria
A feature section for a medication planner with a marquee of ten capability chips between two ruled lines, a visible Pause button, and three feature cells with small greyscale drawings below.
Installation
Overview
A capability band for React with React Aria. A compact header carries a Pause button at its end; under it, ten capability chips (an icon, a name and a metric badge) scroll sideways between two ruled lines with + marks at the rails, with soft edges. Below the band, three feature cells with overshoot lines each show a small greyscale drawing (a reminder, a bottle's pills, a week of doses), a title and one sentence. It's built from Marquee, Button, Badge and Guides, with CSS for the entrance and your theme's tokens for every colour. For products with many small capabilities, where a moving strip says "a lot" and three cells say "how".
FAQ
How do I stop the scrolling?
Press the Pause scrolling button above the strip: it's a real button before the strip in the reading order, it shows a pause or a play icon, and it reports whether the strip is paused. The strip also pauses while the pointer is over it or focus is inside it. Moving content can be stopped, as WCAG asks.
What happens with reduced motion?
The strip doesn't scroll at all. It becomes a still row that you can scroll sideways yourself, the repeated copies that make the loop are removed, and the edge fade is off so no chip is hidden. The Pause button is hidden then, because there is nothing to pause.
How do I change the chips?
Edit CAPABILITIES at the top of the file: each has an icon, a name and a metric. Ten is enough for the strip to be longer than a wide screen; with fewer, add more. The repeated copies are hidden from assistive technology and can't be tabbed to, so a screen reader hears each chip once.
How do I change the three cells?
Edit REMINDERS, REFILLS and SCHEDULE for the titles and sentences; each cell takes its drawing as its child. The drawings are decoration, hidden from assistive technology, and the bottle's count and the week's doses are derived from PILLS, TAKEN and DAYS.