← All components
Carousel
Embla-powered carousel with ARIA live region for screen reader slide announcements, keyboard arrow-key navigation, role=region with aria-roledescription, and customizable announceSlide callback. Uses nav-variant buttons for accessible previous/next controls.
Install
npx shadcn add a11y/carouselnpm Dependencies
- embla-carousel-react
- @hugeicons/react
- @hugeicons/core-free-icons
Registry Dependencies
Files
- componentregistry/a11y/carousel/carousel.tsx
Preview & Source
1
2
3
4
5