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"