103
A like, comment, repost and share pill where each icon pops and fills with a tiny burst and every count rolls over digit by digit.
akareactions·likes
Run this in any project set up for the shadcn CLI. It copies the Social Pill source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/social-pill.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { RollingCount } from "@/components/social-pill";
export default function Page() {
return <RollingCount />;
}A free React component in the Together collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Social Pill source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| valuerequired | number | — |
| className | string | — |