TallStackUI 4.0 is here! Seven new components and thousand of improvements. See what's new .

Powerful suite of Blade components for TALL Stack apps

Form Textarea

Form textarea component.

<x-textarea />
Insert the description
<x-textarea label="Name" hint="Insert the description" />
<x-textarea label="Readonly" value="Readonly text" readonly />
<x-textarea label="Disabled" value="Disabled text" disabled />

An option to display an asterisk indicating that the field is required.

<x-textarea label="Description *" />
<x-textarea resize />

An option to auto increase the size of textarea.

<x-textarea resize-auto />

An option to show the number of characters.

<div class="space-y-8">
<x-textarea maxlength="10" count />
 
<!-- Only character quantity -->
<x-textarea count />
</div>
The character count element uses an absolute position, make sure to leave space between the elements below the component. Otherwise the number may appear on top of the HTML elements.

Code highlighting provided by Torchlight