Lab
Components
Pieces I would actually ship: a chat composer, a model arena, an agent timeline. Open one to use it, then copy the code. React and plain CSS, no libraries.
Prompt barA chat composer with a searchable model switcher, file chips, and send, stop and streaming states.Model arenaOne prompt, several models, answers streaming side by side with live timings and a winner.Agent runA live timeline for multi-step jobs: streaming logs, per-step timers, cancel, and retry from the failed step.Toast stackNotifications that pile up, fan out on hover, pause while you read, and swipe away.Hold to confirmA button you press and hold. Let go early and the fill drains back.Peel stickerA die-cut sticker whose corner lifts and folds back when you touch it.OdometerA number whose digits roll into place like a car meter.Magnetic dockA row of icons that swell toward your cursor and name themselves.Scramble textText that decodes itself from random glyphs, left to right.Spotlight cardA card whose edge and surface light up under the cursor.