Agent Compose
- from @snapcn
AI chat input animation: a composer builds itself, types a prompt and sends it. An agent's composer building itself around one chip, then sending a request. A Video chip types in alone and close up — its clapperboard drawing out of the hinge, each letter sliding in and fading up — then a shadcn field, the + and a snapcn menu fade in around it as the camera pulls back. The placeholder types, the mic and send button arrive, a centred heading types above the field and grows from its middle, the placeholder gives way to the request at about a character a frame, the send glyph turns from a waveform to an arrow, and the button flashes blue and darkens back under a soft glow. Replayed from a 60fps screen recording measured frame by frame against its own render: the camera, every typing clock, each fade and the send's colour are fitted tables, and Inter was chosen by fitting fifteen open faces against the recording.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @snapcn/agent-composeLive preview
No live preview has been built for this component yet.
