# Components Button: Squeeze Buttons

Buttons that squeeze inward on press for satisfying tactile feedback. Use on mobile flows and forms where every tap should feel confirmed fast.

- Page: https://www.shadcn-ui-blocks.com/blocks/components/buttons/squeeze-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/squeeze-buttons.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/components-buttons-squeeze-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-squeeze-buttons.json"`.

## Depends on

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

## About this block

Squeeze Buttons is a centered row of five button variants displayed in a
wrapping flex layout. The five variants shown are Default, Secondary,
Destructive, Outline, and Ghost. On hover each button narrows slightly on
the horizontal axis and stretches on the vertical axis, producing a
squeeze and rebound effect that makes the press feel tactile and confirmed.

All five variants apply the same transition so the feedback is consistent
across the set. The buttons are independent of each other: you can keep
one variant, remove the rest, change the labels, or swap in any other
button variant from your design system without affecting the squeeze
behavior on the remaining buttons.

## When to use

This block suits interfaces where touch and click confidence matters. On a
real estate marketplace, for example, property search filters, inquiry
submissions, and save listing actions all benefit from feedback that tells
the user the tap registered. The squeeze effect is more grounded and
precise than a scale grow, which makes it a better fit for form actions
and confirmations than for purely decorative hero calls to action.

A natural flow around it on a Components page:

**Before**

- [Extra Large Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/extra-large-buttons)
  to show a dominant call to action above a form section
- [Cards](https://www.shadcn-ui-blocks.com/blocks/components/cards) as the surrounding context for
  action buttons inside property listing cards

**After**

- [Interactive Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/interactive-buttons)
  for multi-state flows that need richer feedback beyond the initial press
- [Alerts](https://www.shadcn-ui-blocks.com/blocks/components/alerts) to follow a confirmed action with
  a success or error response

## What you can customize

Each button in the row is fully independent. You can swap labels, variants,
or the number of buttons displayed to match your interface:

- **Variant selection.** Keep only the variants your UI uses; a form page
  might only need Default and Outline while a settings panel keeps Ghost.
- **Button labels.** Replace the demo labels with the real action copy for
  your product, such as "Save Search" or "Request a Viewing."
- **Squeeze intensity.** Adjust the scale values to make the effect
  subtler for professional interfaces or more pronounced for consumer apps.

> Tip: pair the squeeze effect with a single primary variant on mobile
> tap targets so users get clear confirmation without visual clutter.

## 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)
- [Shadow Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/shadow-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)
- [Underline Buttons](https://www.shadcn-ui-blocks.com/blocks/components/buttons/underline-buttons)
