Component
Outlined Input
Classic bordered input fields with focus ring effects and multiple sizes
- Component
- Tailwind
- MIT
Preview
Live component
9:41 100%
devsnips.site/library/tailwind/components/input/outlined/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Input/outlined Tailwind/Components/Input/outlined <!-- Outlined Input - Default -->
<div class="relative">
<label class="block text-sm font-medium text-gray-700 mb-1">Full Name</label>
<input type="text" placeholder="Enter your name" class="w-full px-4 py-2.5 bg-white border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors" />
</div>
<!-- Outlined Input - Small -->
<div class="relative mt-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Small Input</label>
<input type="text" placeholder="Small size" class="w-full px-3 py-1.5 bg-white border border-gray-300 rounded-md text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors" />
</div>
<!-- Outlined Input - Large -->
<div class="relative mt-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Large Input</label>
<input type="text" placeholder="Large size" class="w-full px-5 py-3.5 bg-white border border-gray-300 rounded-lg text-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors" />
</div>
<!-- Outlined Input - Filled -->
<div class="relative mt-4">
<label class="block text-sm font-medium text-gray-700 mb-1">Pre-filled Input</label>
<input type="text" value="Jane Smith" class="w-full px-4 py-2.5 bg-white border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors" />
</div> # Outlined Input
Outlined text input.
## Usage
```bash
npx devsnips add Tailwind/Components/Input/outlined
```
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/outlined I want to use this DevSnips resource in production: Page: https://devsnips.site/library/tailwind/components/input/outlined/ Install: npx devsnips add Tailwind/Components/Input/outlined This is the Outlined Input — Classic bordered input fields with focus ring effects and multiple sizes 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/outlined