Component packs › Chatter › Chat Composer

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.

Chat Composer props

PropTypeDefaultDescription
placeholderstring
onSend(text: string) => void
theme'dark' | 'light'
autoplaybooleanShowcase mode: types and sends messages until touched.

Methods on the ref

Use it in React

import ChatComposer from './ChatComposer';

<ChatComposer />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Chatter

Good for: AI chat and chat UI components.