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. sunui
  3. Brush Reveal

Brush Reveal

block

Two stacked layers where the pointer or a finger paints through the top one: a soft airbrush or a blotchy ink drop leaves a trail that uncovers the reveal layer and fades back over a set time, or stays when fade is 0. Both layers are ordinary React content (images, text, cards), masked by a small canvas that only redraws while a stroke is painting or fading. Keyboard focus shows the whole reveal layer, a hidden hint explains the interaction to screen readers, and with reduced motion hovering or tapping shows the layer at once without trails.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/brush-reveal.json"
Premium blocks for shadcn/uiShadcnblocks.com ยท AffiliateExplore
  • framer-motion
  • utils
components/brush-reveal.tsx