diff --git a/apps/www/.vitepress/theme/components/ComponentPreview.vue b/apps/www/.vitepress/theme/components/ComponentPreview.vue index 8653daa9..7620e0da 100644 --- a/apps/www/.vitepress/theme/components/ComponentPreview.vue +++ b/apps/www/.vitepress/theme/components/ComponentPreview.vue @@ -52,7 +52,7 @@ const { style } = useConfigStore()
- -```vue - - ... - -``` - ### Sizes To set the size of the items, you can use the `basis` utility class on the ``. @@ -151,6 +139,17 @@ Responsive ``` +### Orientation + +Use the `orientation` prop to set the orientation of the carousel. + + + +```vue + + ... + +``` ## Options @@ -280,4 +279,4 @@ import Autoplay from 'embla-carousel-autoplay' -See the [Embla Carousel docs](https://www.embla-carousel.com/api/plugins/) for more information on using plugins. \ No newline at end of file +See the [Embla Carousel docs](https://www.embla-carousel.com/api/plugins/) for more information on using plugins. diff --git a/apps/www/src/lib/registry/default/example/CarouselApi.vue b/apps/www/src/lib/registry/default/example/CarouselApi.vue index 0b25dc94..521d0e0a 100644 --- a/apps/www/src/lib/registry/default/example/CarouselApi.vue +++ b/apps/www/src/lib/registry/default/example/CarouselApi.vue @@ -27,8 +27,8 @@ watchOnce(api, (api) => {