UNPKG

@mozaic-ds/vue

Version:

Mozaic-Vue is the Vue.js implementation of ADEO Design system

33 lines (30 loc) 890 B
/** * Code Connect mapping for MCarousel * Links Figma Carousel (ADS2) to @mozaic-ds/vue */ import figma, { html } from '@figma/code-connect/html'; figma.connect( 'https://www.figma.com/design/Zyh9RyabNaqkjbuFWP9Aqj/%E2%9C%A8-Components--ADS2---Stable-version-?node-id=5-6454', { props: { hasScrollbar: figma.boolean('Has scrollbar'), hasPagination: figma.boolean('Has pagination'), breakpoint: figma.enum('Breakpoint', { 'S to M (320 to 1023px)': 's', 'L to XXL (1024 and up)': 'l', }), }, example: () => html`<script setup> import { MCarousel } from '@mozaic-ds/vue'; </script> <MCarousel> <template #header> <h2>Carousel title</h2> </template> <div>Slide 1</div> <div>Slide 2</div> <div>Slide 3</div> </MCarousel>`, }, );