shadcn.io is an independent project built on shadcn/ui
A message box has a footer under the text, with a line between them. The footer shows 0/500 at its end. The count does not change while someone types. The textarea stops at 500 characters.
Use it for a comment that must stay under 500 characters. A single-line cap fits an Input better. In React, Ark UI does not recount 0/500 while someone types.
Installation
Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
Anatomy

Usage
<InputGroup className="w-full max-w-sm bg-background">
<InputGroupTextarea
aria-label="Message"
className="min-h-[120px]"
maxLength={500}
placeholder="Enter your message..."
/>
<InputGroupAddon align="block-end" className="border-t">
<InputGroupText className="ms-auto">0/500</InputGroupText>
</InputGroupAddon>
</InputGroup>FAQ
API Reference
Input Group
Sets aria-label="Message", maxLength={500}, placeholder="Enter your message..." and align="block-end". The rest is on the Input Group page.





