Flying button
A send button whose paper plane takes off with a trail while work runs, then lands as a check; async-aware and announced to screen readers.
What it is for
Contact forms, invites and any submit that completes asynchronously.
Use it
1 · site.json
"effects": { "components": ["flying-button"] }or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components flying-button2 · import it
import { FlyingButton } from '@/components/fx/ui';Files
components/fx/ui/FlyingButton.tsxcomponents/fx/ui/_micro-a.tsui-flying-button.cssstyles
Accessibility
- Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
- Reduced motion. With
prefers-reduced-motionon, animation settles to its finished state at once. - Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.