Buttons
Twin Sweep Tile
Twin Sweep Tile: A square outlined tile that tilts as it lifts, runs two slanted light bands across itself in opposite directions and trades its glyph for a caption.
Using Twin Sweep Tile
Twin Sweep Tile uses the inline preview frame with a light/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 | #3DDC97 | No additional limit in the metadata. |
label | text | Powered by | Up to 24 characters |
caption | text | Beacon Two | Up to 24 characters |
tilt | number | 1 | From 0 to 4; step 0.5 |
sweep | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Twin Sweep Tile?
Twin Sweep Tile 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 Twin Sweep Tile depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Twin Sweep Tile?
The React source for Twin Sweep Tile includes: attributes and handlers (aria-hidden, aria-label, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Twin Sweep Tile handle reduced motion?
Twin Sweep Tile 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.