Component packs › Slats › Roller Blind Modal
A dialog printed on a roller blind unrolls with its text riding the hem while the roll on the drum thins.
Roller Blind Modal is a modal 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: spiral roll radius, spring roller snap, dialog with Esc.
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 |
|---|---|---|---|
title | string | Title on the blind. | |
body | string | Body text on the blind. | |
trigger | string | Text of the button that opens it. | |
width | number | 360 x 280 | Width and height of the area it covers. Default 360 x 280. |
height | number | ||
open | boolean | ||
onChange | (open: boolean) => void | ||
autoplay | number | false | Showcase mode: opens and closes every N ms while visible. |
readonly open: booleansetOpen(open: boolean): voiddestroy(): voidimport RollerModal from './RollerModal';
<RollerModal />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Dialogs and drawers, Skeuomorphic UI.