Ripple

Grows from the pointer, fades on release. Press with the mouse, a finger or Space.

Highlight

A surface tint on hover (hover devices only) and a deeper one while pressed.

Hold to confirm

Hold the button for the whole duration. Releasing early cancels and the sweep drains. A sweep that completes calls onHoldConfirm.

600 ms. Confirmed 0, canceled 0.

1200 ms. Confirmed 0, canceled 0.

2000 ms. Confirmed 0, canceled 0.

Progress feedback

Same sweep, other intent. With resetOnRelease off the fill stays where you let go and picks up on the next press.

1500 ms, resets on release.

3000 ms, keeps progress on release.

Pressable cards

The wrapper clips its layers to the card radius. The card keeps its own click and key handling.

Weekend drop
Three tees, one hoodie. Pressed 0
Restock alert
Tell me when size M is back. Pressed 0

Standalone layers

No convenience props: the layer parts composed by hand around plain content.

Ripple, highlight and sweep

Disabled

No layers, no hold. Disable the wrapped control as well.