CD-18CardsNew, November 28, 2026
Account Card
A connected social account with its platform on the avatar, its followers, and two weeks of posts as tiny bars. Hover a bar to see that day.
IN USEThis component is used in Postrippl.
Usage
activity is posts per day, oldest first. Empty days show as faint dots, so a quiet stretch reads as calm. platform puts the network's mark on the avatar: x, bluesky, linkedin and threads get theirs, and any other name gets its initial. When the connection has died, set status="expired" and the activity line turns into a single red Reconnect button that calls onReconnect. actions goes on the right of the header, for a menu.
"use client";
import AccountCard from "@/components/kokonutui/account-card";
export function Accounts({ accounts }: { accounts: Account[] }) {
return (
<div className="grid gap-3 sm:grid-cols-2">
{accounts.map((account) => (
<AccountCard
activity={account.postsPerDay}
avatarUrl={account.avatar}
followers={account.followers}
handle={account.handle}
key={account.id}
onReconnect={() => reconnect(account.id)}
platform={account.platform}
status={account.expired ? "expired" : "active"}
/>
))}
</div>
);
}PROOnboarding Checklist and more like it are in Kokonut UI Pro
Installation
Account Card is a free, open-source React component in the Kokonut UI Cards collection. Add it with the shadcn CLI, which copies the source into components/kokonutui/account-card.tsx, so the code is yours to change.
npx shadcn@latest add @kokonutui/account-cardOr add it by hand: install its packages, then copy the source from Copy code above into components/kokonutui/account-card.tsx.
npm install lucide-reactProps
handlestringDefault DEMO.handleThe handle, e.g. "@northwind". Bluesky's ".bsky.social" is dropped.
platformstringDefault DEMO.platform"x", "bluesky", "linkedin" and "threads" get their marks; others get an initial.
platformNamestringShown next to the platform, e.g. "Bluesky". Defaults to a known name.
avatarUrlstringfollowersnumberDefault DEMO.followersactivitynumber[]Default DEMO.activityPosts per day, oldest first, usually the last 14 days.
status"active" | "expired"Default "active"A dead connection swaps the activity line for Reconnect.
onReconnect() => voidactionsReactNodeA menu or buttons on the right of the header.
classNamestringExtra classes for the root element.
Dependencies
| Needs | Version | Comes from |
|---|---|---|
lucide-react | ^0.556.0 | npm, installed by the CLI |
cn from lib/utils.ts | shadcn init | |
| React | 19 | Your app |
| Tailwind CSS | 4 | Your app |
No provider, font or global CSS to set up: the file works as soon as it lands.
Onboarding ChecklistPRO
A get-started checklist with a progress ring, steps that collapse as you check them and an all-set state at the end. Part of Kokonut UI Pro.
Navigation Components
Free React navigation components: command palette, account menu, tabs, drawers, marking menus and scroll index, animated with Motion and Tailwind CSS.


