Carousel
Dot Pager
A carousel whose dots are real buttons labelled "Slide N of M": arrow keys walk the row and the track moves by transform rather than scrolling.
What you can change
- the slides through slides: title, text and hue
- the carousel label through label
- 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-009?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-009-* variables. A client component ("use client") — the position is held by useState. The rail is shifted with translateX from the --vibeui-carousel-009-index variable: the position is set by a number and does not depend on where a finger scrolled to, so the dot and the frame cannot diverge. The arrow keys, Home and End are handled on the dot container and move focus to the chosen dot. The invisible slides are marked inert and aria-hidden — otherwise Tab goes past the frame edge to unreachable content.
Tags
- carousel
- dots
- keyboard
- slider
Component source
The same file your agent installs. Here in case you would rather copy it by hand.
Loading…