Pular para o conteúdo

Carousel

Este conteúdo não está disponível em sua língua ainda.

The Carousel component allows you to display a slideshow of images or content panels with navigation controls and optional autoplay.
It is perfect for galleries, featured content, or interactive UI sections.

  • Multiple items: Display images, text, or custom content in slides.
  • Navigation controls: Buttons or indicators to move between slides.
  • Autoplay support: Automatically cycle through slides.
  • Custom actions: Slots for custom previous/next buttons or indicators.
  • Responsive design: Works with any container size.
PropTypeDefaultDescription
idstring""Unique identifier for the carousel instance.
autobooleanfalseEnables automatic cycling through slides.
hrefstringundefinedOptional link for slides that navigate to a URL.
Carousel.Itemslot/componentRequiredIndividual slide content, can include images, text, or custom elements.
actionsslot/functionOptionalCustom navigation controls (prev/next buttons, indicators).
  • Use alt attributes for images to improve accessibility and SEO.
  • Keep slides concise and visually clear for user engagement.
  • Use autoplay carefully, especially on mobile, to avoid overwhelming users.
  • Ensure navigation controls are visible and intuitive.
  • Combine with Cards or other layout components for rich content presentations.