Component
Minimal Underline Button
Minimal underline button styles
- Component
- Tailwind
- MIT
Preview
Live component
9:41 100%
devsnips.dev/library/tailwind/components/buttons/minimal-button/underline/ fluid · no fixed width 100%
Install
Add to your project
npx devsnips add Tailwind/Components/Buttons/minimal-button/underline Tailwind/Components/Buttons/minimal-button/underline <!-- Minimal Underline Button -->
<button class="text-blue-600 font-medium hover:text-blue-700 hover:underline focus:outline-none focus:ring-2 focus:ring-blue-500">
Underline Button
</button>
<!-- Minimal Border Underline Button -->
<button class="text-gray-700 font-medium hover:text-gray-900 border-b-2 border-transparent hover:border-gray-900 focus:outline-none focus:ring-2 focus:ring-gray-500 pb-1">
Border Underline
</button>
<!-- Minimal Animated Underline Button -->
<button class="text-purple-600 font-medium hover:text-purple-700 relative after:absolute after:bottom-0 after:left-0 after:w-0 after:h-0.5 after:bg-purple-600 hover:after:w-full after:transition-all focus:outline-none focus:ring-2 focus:ring-purple-500">
Animated Underline
</button> # Minimal Button Underline
Minimal text button with underline emphasis.
## Preview
Open `preview.html` for a standalone demonstration.
## Features
- Underline treatment
- Focus-visible states
## Usage
```bash
npx devsnips add Tailwind/Components/Buttons/minimal-button/underline
```
Copy from `code.html`.
## Customization
- Underline style, text color, hover state
## Accessibility
- Native `<button>` (or link if navigation)
## Dependencies
- Tailwind CSS only
## File Structure
- `code.html` · `preview.html` · `metadata.json` · `README.md` 14 lines UTF-8 · LF · Spaces: 2
Continue browsing