Component
Minimal Border Button
Minimal border button styles
- Component
- Tailwind
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/buttons/minimal-button/border/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Buttons/minimal-button/border Tailwind/Components/Buttons/minimal-button/border <!-- Minimal Pill Border Button -->
<button class="px-5 py-2 text-blue-600 font-medium border border-blue-600 rounded-full hover:bg-blue-50 focus:outline-none focus:ring-2 focus:ring-blue-500 transition-colors">
Pill Border
</button>
<!-- Minimal Outline Border Button -->
<button class="px-5 py-2 text-gray-700 font-medium border border-gray-300 rounded hover:border-gray-400 hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-gray-400 transition-colors">
Outline Border
</button>
<!-- Minimal Bold Border Button -->
<button class="px-5 py-2 text-green-600 font-medium border-2 border-green-500 hover:bg-green-50 focus:outline-none focus:ring-2 focus:ring-green-400 transition-colors">
Bold Border
</button> # Minimal Button Border
Minimal button with a light border treatment.
## Preview
Open `preview.html` for a standalone demonstration.
## Features
- Minimal bordered style
- Focus-visible states
## Usage
```bash
npx devsnips add Tailwind/Components/Buttons/minimal-button/border
```
Copy from `code.html`.
## Customization
- Border color, text color, hover background
## Accessibility
- Native `<button>`
## Dependencies
- Tailwind CSS only
## File Structure
- `code.html` · `preview.html` · `metadata.json` · `README.md` 14 lines UTF-8 · LF · Spaces: 2
Continue browsing