1 slot open this monthBy the makers of shadcnregistryWe built shadcnregistry. Now we build your product.Book a callCheck availability
1 slot open this monthAI features?We build AI features into your product.Book a callCheck availability
1 slot open this month🚨 Slop police🚨 Slop police: we clean up vibe-coded apps.Report itReport your app
shadcnregistry
shadcnregistry
RegistryHealthInspect
Terms of ServicePrivacy Policy
  1. Registries
  2. sunui
  3. Person Chip

Person Chip

block

Name and project chips with a stable identity dot hashed from the id, drawn from 8 equal-lightness, low-chroma OKLCH hues that read the same in light and dark; text stays ink, colour lives only on the dot. PersonChip has emphasized (self), selected, highlighted (changed, dashed), muted and locked states, EmployeeChip is the same keyed by employeeId, AppChip tags an app with an optional paid mark, and AppDot is the dot alone. PersonChipGroup collapses people past max into a +N chip that expands in place, names sliding out of it while surrounding content slides, and one shared selection frame slides between chips; arrow keys move between chips. Clickable chips are buttons with aria-pressed, the toggle has aria-expanded, dots are aria-hidden, and reduced motion switches instantly.

pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/person-chip.json"
Premium blocks for shadcn/uiShadcnblocks.com · AffiliateExplore
  • framer-motion
  • utils
components/person-chip.tsx