# Button with Hover and Active Effects

> 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.

- Author: [Sonu](https://21st.dev/@uniquesonu)
- License: unknown
- Live preview: https://21st.dev/@uniquesonu/components/button-with-hover-and-active-effects

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/uniquesonu/button-with-hover-and-active-effects?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
