Component packs › Presence › Comment Pins
New comment pins drop onto the design and land with a bounce, their shadow tightening as they touch down; open one to read the note.
Comment Pins is a design comments from Presence, a component pack with 6 collaboration components: Real-time collaboration UI that looks live: one shared room drives every cursor, face and highlight. Price: $2 for the whole pack.
Built with: drop and land, surface shadow, oldest lifts off.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
pins | CommentPin[] | ||
simulate | boolean | true | Follow the page's demo room. Default true. |
max | number | 4 | Most pins shown; the oldest lifts off first. Default 4. |
label | string | ||
dark | boolean | ||
onOpen | (pin: CommentPin) => void |
add(pin: CommentPin): voidremove(id: string): voiddestroy(): voidimport CommentPins from './CommentPins';
<CommentPins />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Collaboration and calls.