Component packs › Presence › Comment Pins

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.

Comment Pins props

PropTypeDefaultDescription
pinsCommentPin[]
simulatebooleantrueFollow the page's demo room. Default true.
maxnumber4Most pins shown; the oldest lifts off first. Default 4.
labelstring
darkboolean
onOpen(pin: CommentPin) => void

Methods on the ref

Use it in React

import CommentPins from './CommentPins';

<CommentPins />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Presence

Good for: Collaboration and calls.