1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month๐Ÿšจ Slop police๐Ÿšจ Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. mangacn
  3. Carousel

Carousel

ui

Manga-styled wrapper around your shadcn Carousel (embla). Every slide is a panel: its content gets a 2px ink frame on paper (ink-case-inner). Previous / Next are the kit outline icon button with a brush arrow: the tone shadow appears on hover, pressed is a negative with impact lines, focus is the ink / paper / ink ring, disabled is dashed with a tone frame. Under 640px they grow to 44px and sit inside the carousel width, in a row under the slides (stock places them 48px outside). Adds CarouselDots, a mangacn addition built on useCarousel: square dots, the current one an ink flat that sweeps in, 24px hit areas (44px under 640px). Manga reading order: under data-reading="rtl" (or opts.direction "rtl", or dir="rtl") embla runs right to left, slides flow right to left, the arrows and arrow keys follow; text stays left to right. Vertical orientation puts the buttons above and below and uses the up / down keys.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/carousel.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • cn
  • carousel
@ui/manga/carousel.tsx