Privacy settings as strips of matte redaction tape across a portrait: near the hand a corner lifts, a pull peels the strip back and a shown field can be covered again.
Use it on privacy or profile settings where showing and hiding fields is the task. Pass src, a visible map, name, city and employer (required) and an onChange handler; pair it with real switches, because the strips are not accessible controls on their own.
When not to use
Not a replacement for form controls, and too much for dense data screens or long text. It is fixed to four fields (face, name, city, employer) and a portrait on a flat wall. For a plain on/off setting use Switch.
Use it on privacy or profile settings where showing and hiding fields is the task, with a portrait on a flat wall; pair it with real switches. Effects are visual
pieces rather than controls: they do not replace the Interface components in dashboards and forms.
The effect needs your image through its image prop (see the table below). Use a JPEG or WebP of at
least 1600 px on the long side, under 200 KB (400 KB at full screen); host it on your own origin or
send CORS headers, because the browser blocks cross-origin textures. The demo images stay on this
site and are not installed.
The canvases and photo are decorative and hidden; the content they cover is hidden from assistive technology while covered, and the page should expose real switches for each field.
The effect never takes focus. On touch screens a horizontal drag pulls a strip and a tap peels or re-covers it; at rest the strips lift a corner in turn, and vertical scrolling stays with the page.
No lifting, peeling or flight: strips appear and disappear in one step, and clicking or tapping a strip still toggles it. The Redacted hooks read usePrefersReducedMotion, so the MotionKitProvider setting applies too.