Component packs › Slats › Roller Blind Modal

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.

Roller Blind Modal props

PropTypeDefaultDescription
titlestringTitle on the blind.
bodystringBody text on the blind.
triggerstringText of the button that opens it.
widthnumber360 x 280Width and height of the area it covers. Default 360 x 280.
heightnumber
openboolean
onChange(open: boolean) => void
autoplaynumber | falseShowcase mode: opens and closes every N ms while visible.

Methods on the ref

Use it in React

import RollerModal from './RollerModal';

<RollerModal />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Slats

Good for: Dialogs and drawers, Skeuomorphic UI.