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. snapcn
  3. Depth Swap

Depth Swap

component

Depth-of-field text swap: a headline cuts over a photo wall the camera dollies out of. A headline swaps inside a wall of pictures with real depth. The camera dollies back out of a defocused wall while the first line blurs up out of nothing and each picture comes into focus at its own distance; on the beat the line cuts to the second, sharp in the middle and blurred at its ends, and the camera slides sideways as the nearest picture swings across, growing. Replayed from a screen recording: one pinhole camera fitted to every card and both lines at once, each card's edge and picture blur, shadow and out-of-focus spill are measured tables.

pnpm dlx shadcn@latest add "https://snapcn.dev/r/depth-swap.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • remotion
    components/snap-cn/depth-swap.tsx