Component packs › Slats › Venetian Reveal
The slats turn edge on one after another down the blind, throwing striped shadows on what is behind while part open.
Venetian Reveal is a reveal from Slats, a component pack with 6 blind and shutter components: Reveals, modals, tabs and loaders built from blinds, louvres and shutters. Price: $2 for the whole pack.
Built with: chained slat springs, per-slat light, shadow stripes.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
src | string | Image URL to reveal. | |
alt | string | Alt text for `src`. | |
content | HTMLElement | Or any element to reveal. | |
open | boolean | Starts open. | |
width | number | 360 | Width in px. Default 360. |
height | number | 240 | Height in px. Default 240. |
label | string | "Open the blind" | Accessible name of the toggle. Default "Open the blind". |
onChange | (open: boolean) => void | ||
autoplay | number | false | Showcase mode: opens and closes every N ms while visible. |
readonly open: booleansetOpen(open: boolean, silent?: boolean): voiddestroy(): voidimport VenetianReveal from './VenetianReveal';
<VenetianReveal />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Dialogs and drawers, Skeuomorphic UI.