Component packs › Chatter › Chat Composer
The box grows line by line on a spring, the mic morphs into send, and your words lift out of the box into a bubble that flies up with a trail.
Chat Composer is a message input from Chatter, a component pack with 8 components: Chat and messaging components where every bubble feels physical. Price: $2 for the whole pack.
Built with: spring height, mic to send, send flight.
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.
| Prop | Type | Default | Description |
|---|---|---|---|
placeholder | string | ||
onSend | (text: string) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: types and sends messages until touched. |
destroy(): voidimport ChatComposer from './ChatComposer';
<ChatComposer />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: AI chat and chat UI components.