Sticker Toss, animated React component
A round logo sticker you can peel off a page header and throw. In flight it stretches along its direction of travel and its ring of text spins faster, then it springs back into its spot with a wobble.
- Pro
- Motion Effects
- Spring
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| text | string | "NEXUS UI · MADE TO MOVE · " | Text that runs around the ring; end it with a separator so the loop reads cleanly. |
| color | string | theme ink | Sticker colour. Unset, it is #1d1d1f with white text (#f5f5f7 with dark text in dark mode); set, the ring text is white. |
| accent | string | "#c8f560" | Colour of the dot in the middle. |
| autoplay | boolean | false | Tosses the sticker every 3.2s until someone grabs it. |