Buttons
Flight path confirm button
Flight path confirm button: A booking button that flies a small plane in a lap around its face while three dots pulse, then turns green and reports the booking confirmed.
Using Flight path confirm button
Flight path confirm button 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 |
|---|---|---|---|
label | text | Buy a ticket | Up to 20 characters |
doneLabel | text | Confirmed | Up to 20 characters |
accent | color | #4C46C8 | No additional limit in the metadata. |
successColor | color | #31CB20 | No additional limit in the metadata. |
duration | number | 4 | From 1.5 to 8; step 0.5 |
Which frameworks are available for Flight path confirm button?
Flight path confirm 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 Flight path confirm button depend on?
The React metadata lists these npm dependencies beyond React: motion.
What accessibility details are visible in Flight path confirm button?
The React source for Flight path confirm button includes: native elements (button); 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 Flight path confirm button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Flight path confirm button's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.