103
A live facepile for shared docs: status rings, a rolling “viewing” count, faces that spring in and out, and a click to follow someone around the page.
akafacepile·avatar stack·who's online
Run this in any project set up for the shadcn CLI. It copies the Presence Bar source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/presence-bar.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 { PresenceBar } from "@/components/presence-bar";
export default function Page() {
return <PresenceBar />;
}A free React component in the Together collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Presence Bar source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| peoplerequired | PresencePerson[] | — |
| title | string | "Q3 roadmap" |
| subtitle | string | "Edited just now" |
| max | number | 4 |
| following | string | null | — |
| onFollowChange | (id: string | null) => void | — |
| children | ReactNode | ((following: PresencePerson | null) => ReactNode) | — |
| className | string | — |