templUI Pro coming soon  

50% OFF Join Waitlist

Textarea

Multi-line text field for longer form content.

TailwindCSS
Alpine.js

Usage

1. Add the script to your page/layout:

// Option A: All components (recommended)
@utils.ComponentScripts()

// Option B: Just Textarea
@components.TextareaScript()

2. Use the component:

@components.Textarea(components.TextareaProps{...})

Examples

Custom Rows

Auto Resize

With Label

Disabled

Form

Please type your message in the textarea.

This message is required.

© 2025 templui. Stupid code not excluded.