Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Reference for Nuxt UI v4 (125+ components built on Reka UI + Tailwind CSS v4) including forms, overlays, and theming.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
components/carousel.md
1# Carousel23A carousel with motion and swipe built using Embla.45## Key Props67- `items`: as an array and render each item using the default slot:89## ::component-example1011name: 'carousel-items-example'12class: 'p-8'1314---1516::1718You can also pass an array of objects with the following properties:1920- `class?: any`{lang="ts-type"}21- `ui?: { item?: ClassNameValue }`{lang="ts-type"}2223You can control how many items are visible by using the [`basis`](https://tailwindcss.2425- `orientation`: to change the orientation of the Progress.26- `arrows`: to display prev and next buttons.27- `dots`: to display a list of dots to scroll to a specific slide.28- `autoplay`: as a boolean or an object to configure the [Autoplay plugin](https://www.29- `fade`: as a boolean or an object to configure the [Fade plugin](https://www.3031## Usage3233```vue34<UCarousel35<!-- props here -->36/>37```38