Component

Minimal Underline Button

Minimal underline button styles

  • Component
  • Tailwind
  • MIT

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.dev/library/tailwind/components/buttons/minimal-button/underline/
fluid · no fixed width 100%
No dependencies Production-ready

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Buttons/minimal-button/underline
registry path: Tailwind/Components/Buttons/minimal-button/underline

Source

Implementation

code.html
<!-- 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>
14 lines UTF-8 · LF · Spaces: 2

AI-ready

Available to your agent.

This component is reachable through the DevSnips CLI, MCP server and Skills integrations — one registry, one resource path.

Resource path

devsnips://components/buttons/minimal-button/underline

Continue browsing

View all