Buttons
Send flight button
Send flight button: A brushed light button that plays a short send sequence: the paper glyph flies off, a sending label counts its dots, then a check drops in.
Using Send flight button
Send flight button uses the inline preview frame with a light 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 |
|---|---|---|---|
label | text | Send message | Up to 20 characters |
sentLabel | text | Sent | Up to 16 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
sequenceMs | number | 4500 | From 1500 to 8000; step 250 |
autoReplay | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Send flight button?
Send flight button 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 Send flight button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Send flight button?
The React source for Send flight button includes: attributes and handlers (aria-busy, aria-hidden, aria-label); explicit roles (status). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Send flight button handle reduced motion?
Send flight button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: bobAnimate: !idle || reduced ? { x: 0, y: 0 } : pressed ? { x: -2, y: 2 } : hovered ? { y: [0, -3, 0] } : { x: 0, y: 0 }; bobTransition: idle && hovered && !pressed && !reduced ? { duration: 0.8, repeat: Infinity, ease: "easeInOut" as const } : { duration: 0.18 }; reduced ? { opacity: 0 } : { opacity: 0, y: -14 }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.