Orbit Dot Export Button
Pill tucks down to its ring, a shaped comet orbits with a trailing progress arc, the ring floods solid, the arrow bends into a check and the pill reopens as the next action.
Try it: Click — orbit, fill, arrow morphs to check, then press “Open”.
Installation
Install with the shadcn CLI:
npx shadcn@latest add https://www.framekitui.live/r/orbit-dot-export-button.jsonOr, with the @framekit namespace registered: npx shadcn@latest add @framekit/orbit-dot-export-button. You can also copy the source into components/ui/orbit-dot-export-button.tsx (view on GitHub).
Usage
import { OrbitDotExportButton } from '@/components/ui/orbit-dot-export-button'Props
| Prop | Type | Default | Notes |
|---|---|---|---|
dot | 'teardrop' | 'diamond' | 'spark' | 'bead' | 'teardrop' | Orbiting marker shape. |
accent | string | '#f5b14c' | Marker, arc and fill colour. |
label / doneLabel | string | 'Export report' / 'Open file' | Before/after labels. |
onExport | (report: (p: number) => void) => Promise<unknown> | — | Real work with progress; rejecting shows a retry label. |
onOpen | () => void | — | Pressed in the done state; the button resets afterwards. |
Dependencies
motion
Related Buttons components
- Shredder Delete Button
Pill holds still while its icon works: the lid flips, a sheet feeds in, paper ribbons tumble out below and a tally counts each shred.
- Face Scan Pay Button
Navy pay pill folds into a lit square, a biometric reticle sweeps a face glyph while a comet laps the rim, then it unfolds with a check.
- Cloud Launch Publish Button
The arrow launches out of the cloud on a puff of vapour, a progress seam draws along the bottom edge, and a check drops back into the cloud.
- Swallow Delete Button
Bin lid swings open on its hinge, the label’s letters arc inside, the lid snaps shut and a ring traces the receipt.
- Radial Share Menu
Share pill folds into a close button while channel bubbles spring out on an arc; the pick glides to centre, becomes a check and really copies the link.
- Fill Progress Download Button
Arrow sinks away, a deeper blue floods the pill with a live percentage, then it condenses into a calm done chip.