Sonu kumar

Button with Hover and Active Effects

Buttons

About

This React component renders a button with a dotted border, white background, and black text. On hover, it subtly translates and adds a shadow; on active click, it reverts to its original state. The styling uses Tailwind CSS for rapid UI development.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Button with Hover and Active Effects to your project and fits it to your theme.

Code

How Button with Hover and Active Effects is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import DottedButton from "@/components/ui/button-with-hover-and-active-effects";

export default function DemoOne() {
  return <DottedButton />;
}

More by Sonu kumar

View all
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.6K
  • Modern Hero

    Modern Hero

    1.5K
  • Text Parallax Content (scroll)

    Text Parallax Content (scroll)

    1.2K
  • Modern Animated Hero Section

    Modern Animated Hero Section

    1.2K
  • About Us section

    About Us section

    1.2K
  • Animated Hero Section

    Animated Hero Section

    709
  • Cuisine Selector Chips

    Cuisine Selector Chips

    604
  • Bounce card features

    Bounce card features

    597

More in Buttons

View all
  • Texture Button

    Texture Button

    107
  • Button

    Button

    14
  • Notification Button

    Notification Button

    117
  • HeroUI Button Group

    HeroUI Button Group

    1
  • Base Button

    Base Button

    3
  • Button

    Button

    2
  • Button

    Button

    36
  • App Store Button

    App Store Button

    484