Evantis

Design System

Carousel

  • 5examples
shadcn Carousel on Embla, Maia preset. A row of cards to swipe or step through: the first week at home, one step per card. Use it only when the order matters and one card at a time is enough; a list shows everything at once. Slides never move by themselves.

Demo

  • Previous and Next are Evantis icon-only secondary buttons outside the slides, named Previous slide and Next slide, off at either end.
  • Swipe, drag, the buttons, or Left and Right arrows when the carousel has focus.
1Take the evening dose at 8 PM
2Walk for ten minutes
3Check the wound dressing
4Drink eight glasses of water
5Write down any questions for the nurse

Sizes

  • Slide width by basis: two across, three from 1024px.
1Take the evening dose at 8 PM
2Walk for ten minutes
3Check the wound dressing
4Drink eight glasses of water
5Write down any questions for the nurse

Spacing

  • The gap between slides is the item's left padding, cancelled by the content's negative margin.
1Take the evening dose at 8 PM
2Walk for ten minutes
3Check the wound dressing
4Drink eight glasses of water
5Write down any questions for the nurse

Orientation

  • Vertical carousels use up and down chevrons above and below. The keys stay Left and Right in both orientations (shadcn handles only those).
1Take the evening dose at 8 PM
2Walk for ten minutes
3Check the wound dressing
4Drink eight glasses of water
5Write down any questions for the nurse

API

  • The page can read the position: Step 3 of 5, announced politely when it changes.
1Take the evening dose at 8 PM
2Walk for ten minutes
3Check the wound dressing
4Drink eight glasses of water
5Write down any questions for the nurse
Step 0 of 0