Component

Animated Scale Button

Scale animations on hover for interactive feedback

  • Component
  • Tailwind
  • MIT

Preview

Live component

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

Install

Add to your project

terminal
npx devsnips add Tailwind/Components/Buttons/animated-button/scale
registry path: Tailwind/Components/Buttons/animated-button/scale

Source

Implementation

code.html
<!-- Scale Button - Scale Up -->
<button class="px-8 py-3 bg-blue-600 text-white font-semibold rounded-lg hover:scale-105 focus:outline-none focus:ring-2 focus:ring-blue-500 transition-transform">
  Scale Up
</button>

<!-- Scale Button - Scale Down -->
<button class="px-8 py-3 bg-purple-600 text-white font-semibold rounded-lg hover:scale-95 focus:outline-none focus:ring-2 focus:ring-purple-500 transition-transform">
  Scale Down
</button>

<!-- Scale Button - Bounce -->
<button class="px-8 py-3 bg-green-600 text-white font-semibold rounded-lg hover:scale-110 focus:outline-none focus:ring-2 focus:ring-green-500 transition-transform">
  Bounce
</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/animated-button/scale

Continue browsing

View all