Cards
Sheen sweep card
Sheen sweep card: A card with a band of light parked off one corner that travels across the face on hover and slides back the moment the pointer leaves.
Using Sheen sweep card
Sheen sweep card 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 |
|---|---|---|---|
angle | number | -45 | From -90 to 90; step 5 |
bandSize | number | 250 | From 100 to 400; step 10 |
duration | number | 650 | From 200 to 1500; step 50 |
playOnce | boolean | false | No additional limit in the metadata. |
glareColor | color | #ffffff | No additional limit in the metadata. |
Which frameworks are available for Sheen sweep card?
Sheen sweep card 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 Sheen sweep card depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Sheen sweep card?
The React source for Sheen sweep card includes: attributes and handlers (aria-hidden, aria-label, tabIndex); explicit roles (group). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Sheen sweep card handle reduced motion?
Sheen sweep card 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.