Component
Textarea
Multi-line text input components with various styling options
- Component
- Tailwind
- MIT
Preview
Live component
9:41 100%
devsnips.site/library/tailwind/components/input/textarea/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Input/textarea Tailwind/Components/Input/textarea <!-- Textarea - Default -->
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Message</label>
<textarea rows="4" placeholder="Write your message here..." class="w-full px-4 py-3 bg-white border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors resize-none"></textarea>
</div>
<!-- Textarea - Auto-resize -->
<div class="mt-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Description</label>
<textarea rows="3" placeholder="Tell us more about your project..." class="w-full px-4 py-3 bg-gray-50 border border-gray-200 rounded-xl focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-purple-500 focus:bg-white transition-colors resize-y min-h-[80px]"></textarea>
</div>
<!-- Textarea - With Counter -->
<div class="mt-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Bio</label>
<textarea rows="3" maxlength="150" placeholder="Write a short bio..." class="w-full px-4 py-3 bg-white border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-green-500 focus:border-green-500 transition-colors resize-none"></textarea>
<p class="mt-1 text-xs text-gray-500 text-right">0/150 characters</p>
</div>
<!-- Textarea - Minimal / Chat Style -->
<div class="mt-4">
<textarea rows="4" placeholder="Type your message..." class="w-full px-4 py-4 bg-gray-100 border-0 rounded-2xl focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white transition-colors resize-none"></textarea>
</div> # Textarea
Multi-line textarea.
## Usage
```bash
npx devsnips add Tailwind/Components/Input/textarea
```
Copy from `code.html`.
## File Structure
`code.html` · `preview.html` · `metadata.json` · `README.md` 23 lines UTF-8 · LF · Spaces: 2
DevSnips AI ready Claude · Cursor · Windsurf
Agent skill & Model Context Protocol
Pass this component straight into your AI workflow. DevSnips exposes each resource as a structured, addressable registry entry, so your agent installs the real files instead of approximating them.
devsnips://components/input/textarea I want to use this DevSnips resource in production: Page: https://devsnips.site/library/tailwind/components/input/textarea/ Install: npx devsnips add Tailwind/Components/Input/textarea This is the Textarea — Multi-line text input components with various styling options Use this DevSnips resource as the starting point for my project. Adapt it to my project's stack and conventions, fix any issues, and make it production-ready while preserving its intended design and behavior.
Paste into ChatGPT, Claude or your agent — it already carries the page URL and the exact install path.
Resource URI
devsnips://components/input/textarea