Did you know?dyk.si

Carousel (Slider)

A strip of slides you page through with arrows, dots or swipes.

Also known as: Slider

aria-roledescription="carousel" + scroll-snap

When to use it

For product or project photos.

Common mistake

Don’t hide key content in later slides; few people reach them.

Accessibility

No auto-advance without a pause button; let keyboard users reach every slide.

Name in code

HTML/CSSaria-roledescription="carousel" + scroll-snap
ReactEmbla Carousel
Jetpack ComposeHorizontalPager
SwiftUITabView(.page) / ScrollView + scrollTargetBehavior

Ready prompt for your coding agent

Add a Carousel (Slider) to this screen. What it is: A strip of slides you page through with arrows, dots or swipes. Implement with: aria-roledescription="carousel" + scroll-snap (HTML/CSS). Accessibility: No auto-advance without a pause button; let keyboard users reach every slide. When to use it: For product or project photos. Avoid: Don’t hide key content in later slides; few people reach them. 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.