Component packs › Slats › Slat Loader

Slat Loader

A tilt wave runs down a small blind again and again, light flickering through in a travelling band.

Slat Loader is a loader 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: wand-driven wave, chained slats, status role.

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.

Slat Loader props

PropTypeDefaultDescription
sizenumber88Size in px. Default 88.
labelstring"Loading"Accessible status text. Default "Loading".
runningbooleantrueStarts running. Default true.

Methods on the ref

Use it in React

import SlatLoader from './SlatLoader';

<SlatLoader />

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

More in Slats

Good for: Dialogs and drawers, Skeuomorphic UI.