Feedback
Curtain line loader
Curtain line loader: A loading curtain that retreats behind a bright travelling line, cutting the finished content into view instead of fading it in.
Using Curtain line loader
Curtain line loader uses the card preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
accent | color | #FF6A1F | No additional limit in the metadata. |
duration | number | 900 | From 400 to 2000; step 50 |
direction | select | right | Options: left, right, up, down |
lineWidth | number | 4 | From 2 to 10; step 1 |
loop | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Curtain line loader?
Curtain line loader is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Curtain line loader depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Curtain line loader?
The React source for Curtain line loader includes: native elements (button); attributes and handlers (aria-hidden, aria-label). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Curtain line loader handle reduced motion?
Curtain line loader reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.