# Add Spring Press Feedback to React Buttons

A spring press gives a button immediate visual feedback before the action completes. QuickLiquid offers a `LiquidGlassButton` for an action or link and a lower-level `liquidPress` prop for a `LiquidGlass` surface.

## Start with a real button

```tsx
import { LiquidGlassButton } from 'quick-liquid/react';

export function SaveButton({ save, saving }: {
  save: () => void;
  saving: boolean;
}) {
  return (
    <LiquidGlassButton type="button" onClick={save} disabled={saving}>
      {saving ? 'Saving…' : 'Save changes'}
    </LiquidGlassButton>
  );
}
```

Place business logic in `onClick` so keyboard activation and pointer activation use the same action. If the action is navigation, give `LiquidGlassButton` an `href` and it will render a link. Keep success and failure feedback in the surrounding UI. A bounce offers touch feedback while a message can report whether the save completed.

## Choose how much of the surface moves

On a `LiquidGlass` wrapper, `liquidPress={{ scale: 0.97, squish: 0.04 }}` opts the wrapper into pointer-driven scale and squish. Use that on an intentionally pressable surface. For a container with several independent actions, animate the individual controls so clicking a link does not squash the whole panel.

Check the pressed treatment with a mouse, touch, and reduced-motion enabled. Verify that the control still has a visible focus state and that Enter or Space can activate the native button. The [animation playground](/playground/#animations) gives you examples of the related motion primitives.
