Huddle

Design review

Live
  • Mina, speaking
  • Omar
  • Leo
  • Ama
  • Noor
8
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/card-huddle

About this component

A live voice room. The people in it stand in a row of small faces; whoever is talking rises out of the row onto the stage at twice the size, inside a ring of their own colour, with sound rings and a waveform in that colour, and the card's glow follows. Every few seconds the next person trades places with them. Join slides your face into the row and swaps the button for a dock: mute yourself, raise a hand, leave.

Triggers

  • Card
  • Click
  • State change
  • Spring
  • Glow
  • Loop

Techniques

  • @property
  • CSS transition
  • Keyframes
  • CSS variables
  • Interval
  • Spring

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

The row is a list named In the room; each picture's alt is the person's first name, and the speaker's reads 'Mina, speaking'. Your face is aria-hidden until you join. Join, Mute, Raise hand and Leave are native buttons; Mute and Raise hand carry aria-pressed and labels that flip. A visually hidden role=status line says you joined, and whether you are muted or have a hand up.

Reduced motion

The speaker stays fixed, nothing pulses or waves and every change applies at once.

Use it in anything you build, commercial and client work included. Licence

More cards

See all

Mira Holt

Art director

TeamGet code

Field recordings

412files

AlbumGet code
34 editing
CursorsGet code

Motion that
answers

FieldGet code