Carousel
Shop Rail
A product rail where the next card peeks past the edge and the arrows go dim at the ends: a disabled arrow answers "nothing further" before the click.
What you can change
- the products through products: name, price, old price, rating and hue
- the rail heading through title
- the accent colour through accent
A link for your AI agent: preview, code and instructions.
Preview
Use it with AI
- 1. Copy the link.
- 2. Write to your agent in your own words and drop the link into the sentence.
- 3. The agent opens the link and installs the component from the registry.
put this on the home page as the hero:
https://vibeui.ru/c/carousel-010?lang=en&theme=dark
Not sure where to paste it? Step-by-step guide
Show the full instructions
What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.
Loading…
For developers
The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.
Technical notes
The component is self-contained: one file, zero dependencies, the palette in the local --vibeui-carousel-010-* variables. A client component ("use client") — the edge state is computed on scroll. The rail stays native scrolling with scroll-snap: finger and wheel work on their own. The arrow step equals the card width plus the gap, so the rail stops exactly on a card rather than halfway. The edge position is recomputed in the onScroll handler and once after mounting: the buttons are switched off with the disabled attribute rather than a style, so that they drop out of the tab order.
Tags
- carousel
- products
- peek
- shop
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…