# Micro Interactions

> Animated React micro interactions, including like, bookmark, upvote, copy, follow, star rating and add to cart, built with Motion and Tailwind CSS as copy-paste source.

Install any page with `npx shadcn@latest add @beui/<install-slug>`. Every page's full docs in one file: https://beui.dev/llms/micro-interactions.txt

- [Like Button](https://beui.dev/micro-interactions/like-button.md): A heart toggle that pops, throws a ring of sparks and rolls its count up when liked, and drains back quietly when unliked. Install: `like-button`
- [Bookmark Button](https://beui.dev/micro-interactions/bookmark-button.md): A save toggle that drops a filled ribbon into the bookmark from above, cuts a check into it and morphs the label to Saved. Install: `bookmark-button`
- [Upvote Button](https://beui.dev/micro-interactions/upvote-button.md): A vote toggle that fills with colour from the bottom as the arrow shoots out the top, a +1 floats away and the count rolls up. Install: `upvote-button`
- [Copy Button](https://beui.dev/micro-interactions/copy-button.md): Copies text and confirms it: the pill tints, the icon blurs into a check that draws its stroke, and Copy morphs letter by letter into Copied. Install: `copy-button`
- [Text Morph](https://beui.dev/micro-interactions/text-morph.md): Text that morphs between strings: shared letters glide into place while new ones spring up one by one and old ones drop away. For button states. Install: `text-morph`
- [Follow Button](https://beui.dev/micro-interactions/follow-button.md): Follow in three beats: the pill closes into a circle with a spinner, a check draws itself in, then it opens into Following. Install: `follow-button`
- [Star Rating](https://beui.dev/micro-interactions/star-rating.md): A star rating where a new score waves down the row: stars hop and fill in turn, the chosen one pops with sparks, and lowering it drains back. Install: `star-rating`
- [Add to Cart](https://beui.dev/micro-interactions/add-to-cart.md): An add to cart button that morphs into a quantity stepper: the pill resizes, minus and plus open out from the centre, and the count rolls. Install: `add-to-cart`
- [Delete Button](https://beui.dev/micro-interactions/delete-button.md): A bin button that opens into a cross and a tick to confirm, then a spinner while it deletes, then a drawn check with Deleted. Install: `delete-button`
- [Download Button](https://beui.dev/micro-interactions/download-button.md): A download where the whole button is the progress bar: colour sweeps across with drifting stripes, the label turns white as the fill passes, then it folds into a round check badge. Install: `download-button`
- [Send Button](https://beui.dev/micro-interactions/send-button.md): A send you can watch go: the paper plane winds up and takes off with a contrail, dots bounce while it sends, a check pops in, and the plane loops back. Install: `send-button`
- [Refresh Button](https://beui.dev/micro-interactions/refresh-button.md): Arrows that wind back, spin up into a breathing spinner arc, then coast to land upright and hand over to a check as Refresh morphs to Updated. Install: `refresh-button`
- [Message Status](https://beui.dev/micro-interactions/message-status.md): Delivery badges for chat: a progress ring closes into a check badge, a second badge slides out from behind it, and both fill blue when read. Install: `message-status`
- [Notification Bell](https://beui.dev/micro-interactions/notification-bell.md): A bell that swings from its top with ring waves and a lagging clapper; the badge pops from its shoulder, bumps on each new count, and tucks back in when read. Install: `notification-bell`
- [Reaction Picker](https://beui.dev/micro-interactions/reaction-picker.md): A reaction button whose tray grows out of it in colour; the one you pick arcs onto the button, which catches it with a burst as the count rolls. Install: `reaction-picker`
- [Share Button](https://beui.dev/micro-interactions/share-button.md): A round share button that fans its actions out on an arc, names each on hover, and turns the chosen one into a check. You decide what each action does. Install: `share-button`
- [Mute Toggle](https://beui.dev/micro-interactions/mute-toggle.md): A speaker that recoils as its waves fold back in and a slash cuts through it, then pumps the waves back out with a ripple on unmute. Install: `mute-toggle`
- [Lock Toggle](https://beui.dev/micro-interactions/lock-toggle.md): A padlock whose shackle drops home with a knock as the body fills solid and the key turns, then pops up and swings open on unlock. Install: `lock-toggle`
- [Poll Vote](https://beui.dev/micro-interactions/poll-vote.md): A one-tap poll: your ring fills with a check, your bar leads a wave of bars to their shares, and the percentages and vote total count up. Install: `poll-vote`
- [Status Icon](https://beui.dev/micro-interactions/status-icon.md): One status icon that morphs instead of swapping: a breathing arc spins while syncing, then sweeps on to close the ring, which fills green, amber or red as a white check, exclamation or cross draws in. Install: `status-icon`
- [Confetti](https://beui.dev/micro-interactions/confetti.md): Confetti for success moments, called like a toast: confetti() from any handler throws a burst from a button or a point, on one canvas that exists only while pieces fall. Install: `confetti`
- [Click Burst](https://beui.dev/micro-interactions/click-burst.md): Wrap any clickable element and each click throws a small burst of stars and dots from the point you click: a moment of delight on a check, a like or a save. Install: `click-burst`
