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. Scene Transition

Scene Transition

component

A wipe that sweeps the screen (or a container) between two sections or pages, in steps: four frames to cover, a hold, four frames to uncover, at 12 fps, swapping the scene while the screen is covered. Across in the reading order (right to left with data-reading="rtl" or dir="rtl") or downward. Variants: ink (an ink flat), tone (a 50% screentone on paper edged with ink lines), panels (four ink panels with paper gutters dropped one per frame). An optional caption pops in the middle during the hold, on a paper narration box. As a hook (useSceneTransition: play(swap) returns a promise) or a component (playing, onCovered, onDone). The overlay is aria-hidden and catches clicks while it plays; with reduced motion the scene is swapped at once.

pnpm dlx shadcn@latest add "https://mangacn.romain-sonnet.fr/r/scene-transition.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • cn
@components/manga/scene-transition.tsx