Page Control (Dots Indicator)
Small dots under a carousel; each is a page and the filled one is current.
Also known as: Dots Indicator
aria-roledescription="carousel"When to use it
Under an image carousel or onboarding screens.
Common mistake
Past seven pages, the dots stop being useful.
Accessibility
Give each dot a tap target of at least 24px, even if it looks smaller.
Name in code
| HTML/CSS | aria-roledescription="carousel" |
|---|---|
| React | Carousel dots (custom) |
| Jetpack Compose | HorizontalPager + indicator Row |
| SwiftUI | TabView().tabViewStyle(.page) |
Ready prompt for your coding agent
Add a Page Control (Dots Indicator) to this screen.
What it is: Small dots under a carousel; each is a page and the filled one is current.
Implement with: aria-roledescription="carousel" (HTML/CSS).
Accessibility: Give each dot a tap target of at least 24px, even if it looks smaller.
When to use it: Under an image carousel or onboarding screens.
Avoid: Past seven pages, the dots stop being useful.
Reuse the project's existing design tokens, spacing and component conventions.
Or compose a whole page from this element and others →
Prompts are in English for the most precise results with coding agents.