PromptBox
Auto-growing composer: Ctrl+Enter sends, attachment button and removable file chips.
Install this component
Install command hidden until you are signed in with a license.
Install the whole pack
Install command hidden until you are signed in with a license.
Live demo
Props
| Prop | Type | Description |
|---|---|---|
| size | number | Pixel size of the artwork. |
| title | string | Accessible name. Omit it to mark the art decorative. |
| animate | boolean | Turn the idle motion off. Defaults to true. |
Accessibility
Notes
- Built on native or correctly labelled controls, with a visible label or an aria-label.
- Animation honours prefers-reduced-motion: it stops or becomes static.
- Visible focus ring on every interactive part.
Source
Copy the files into your project, and import the pack styles once (tokens and keyframes). Or install with the commands above (they unlock with your license).
The full PromptBox source is part of the license.
The live demo is free to try. A license unlocks copy-paste source, installs and exports for every component and pack.
Unlock every icon