Skip to content
TallCraftUI

Textarea

Multi-line text input that can grow with its content.

Basic usage

Write your full bio in short

Blade
<x-textarea label="Bio *" placeholder="Your bio" />
<x-textarea label="Bio" placeholder="Your bio" hint="Write your full bio in short" />

Auto resize New

Blade
<x-textarea label="Bio *" auto-resize />

Customize size

Blade
<x-textarea label="Your bio" rows="1" />
<x-textarea label="Your bio" rows="2" />
<x-textarea label="Your bio" rows="5" />
<x-textarea label="Your bio" rows="8" />

API reference

Props are read from the component classes in TallCraftUI 3.0.0-beta.1. Write them in kebab-case and pass booleans as bare attributes, for example <x-button outline />. Other attributes, such as class or wire:model, are passed to the component's element.

<x-textarea>

View source
Prop Type Default
label string null
icon string null
icon-left string null
icon-right string null
hint string null
inline bool false
auto-resize bool false
Radius
rounded-none rounded-xs rounded-sm rounded-md rounded-lg rounded-xl rounded-2xl rounded-3xl rounded-full
Config
textarea.border-radius = rounded-sm Change defaults