Component

Minimal Underline Button

Minimal underline button styles

  • Component
  • Tailwind
  • MIT

Preview

Live component

Interactive preview
Open preview
9:41 100%
devsnips.site/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
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/buttons/minimal-button/underline
Prompt instruction
I want to use this DevSnips resource in production:

Page:
https://devsnips.site/library/tailwind/components/buttons/minimal-button/underline/

Install: npx devsnips add
Tailwind/Components/Buttons/minimal-button/underline

This is the Minimal Underline Button — Minimal underline button styles

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/buttons/minimal-button/underline