shadcn.io is an independent project built on shadcn/ui
UI library: Ark 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 Vue, Ark UI does not recount 0/500 while someone types.
Installation
Anatomy

Usage
<InputGroup class="w-full max-w-sm bg-background">
<InputGroupTextarea
aria-label="Message"
class="min-h-[120px]"
:maxLength="500"
placeholder="Enter your message..."
/>
<InputGroupAddon align="block-end" class="border-t">
<InputGroupText class="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.





