shadcn.io is not affiliated with official shadcn/ui
Horizontal Marquee Band Features Block for React
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 Base UI. 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.
Related
- Pro
Filmstrip Frame Row Features
Carousels and mediaA storyboard row of five numbered frames for a demo recorder, each a small greyscale drawing with a scene line, in one band of shared hairlines in a snapping scroll area with a visible scrollbar thumb.
- Pro
Thin Sidebar Marquee Panel Features
Tabs and accordionsA features section for a realtime sync engine: a thin icon rail of six streams and a panel with the stream's name at display size beside a vertical marquee of its sync events, with a visible Pause button.
- Pro
Fast and Slow Dual Marquee Logos
Multi-row marqueesTwo depths of customer wordmarks for a barrel-tracking service: large names drifting slowly in front, small ones three times as fast behind, in opposite directions.
- Pro
Logo Marquee Hero
Logos and social proofA compact hero for a support platform: copy and two calls to action, then two bands across the column: a strip of customer logos that scrolls on its own with a pause button, and a row of three stats.
- 010203Pro
Minimal Outline Card Trio Features
Card gridsThree outline cells with oversized step numerals and an outcome badge at each foot, under a start-aligned header, for an event-planning tool.
- Pro
Card Carousel Features
Carousels and mediaA multi-up carousel of seven capability cards for a product-tour builder, each led by a greyscale drawing, with the next card cut off at the rail and previous and next buttons in the heading row.