# Components Button: Shadow Buttons

Buttons with layered shadows that lift or shift on hover. Give actions a tactile, raised feel across cards, forms, and toolbars in any layout.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/buttons/shadow-buttons
- Collection: [Components](https://www.shadcn-ui-blocks.com/blocks/components), Free tier
- Group: [Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/components/buttons/shadow-buttons.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-buttons-shadow-buttons
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/components-buttons-shadow-buttons.json"`.

## Depends on

- npm packages: class-variance-authority, radix-ui
- shadcn/ui components: button
- Installs to: `@/components/blocks/components/buttons/shadow-buttons`

## About this block

Shadow Buttons displays five button variants (Default, Secondary,
Destructive, Outline, and Ghost) arranged in a centered, wrapping row.
Every button starts flat with no shadow, and lifts with a soft drop
shadow when hovered. The transition is smooth so the depth effect reads
as tactile rather than abrupt.

All five variants are independent, so you can keep only the ones your
interface needs. The labels are plain copy you can swap for any action
text, and the row wraps naturally so the set works in a narrow column
as well as a wide container.

## When to use

Reach for this block when you want buttons that feel physically raised
without committing to a bold border or fill animation. The lift effect
suits a creative agency or studio site where even small interactions
should feel considered. It works well across contact forms, project
inquiry panels, and service pages where a subtle tactile cue invites a
click without competing with the surrounding content.

Compared to [Grow Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/grow-buttons),
which scales the button body, Shadow Buttons keep the footprint fixed
and suggest depth through light alone, making them the quieter of the
two options.

A natural flow around it on a Components page:

**Before**

- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) to present a service or project
  offering that the button anchors at the bottom
- [Badges](https://www.shadcn-ui-blocks.com/blocks/components/badges) to label the action tier or
  status above the button row

**After**

- [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts) to confirm or provide feedback
  after the user acts on a button
- [Pulse Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/pulse-buttons) as an
  alternative if you need continuous attention rather than hover depth

## What you can customize

Each button in the row can be swapped, removed, or relabeled to match
the actions on your page:

- **Variant selection.** Keep only the variants your layout needs, such
  as Default for primary actions and Outline for a secondary option
  alongside it.
- **Button labels.** Replace the demo text with your own action words
  like "Get a Quote", "View Work", or "Send Message" to match studio
  or agency copy.
- **Row layout.** The wrapping flex row adapts to any container width,
  so you can embed the set inside a card, a modal footer, or a full
  width section without adjusting the markup.

> Tip: pairing a filled Default button with a Ghost button in the same
> row creates a clear primary and secondary hierarchy while keeping the
> hover lift consistent across both.

## More in Components Buttons

- [Border Animation Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/border-animation-buttons)
- [Cut Corners Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/cut-corners-buttons)
- [Extra Large Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/extra-large-buttons)
- [Extra Small Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/extra-small-buttons)
- [Grow Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/grow-buttons)
- [Interactive Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/interactive-buttons)
- [Liquid Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/liquid-buttons)
- [Morphing Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/morphing-buttons)
- [Pixel Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/pixel-buttons)
- [Pulse Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/pulse-buttons)
- [Rotate Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/rotate-buttons)
- [Skew Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/skew-buttons)
- [Slide Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/slide-buttons)
- [Social Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/social-buttons)
- [Squeeze Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/squeeze-buttons)
- [Underline Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/underline-buttons)
