uibrik

Ripple to Still

Preview

Customize

Duration1.4s
Strength16px
Text size48px

Usage

import { RippleToStill } from "@/components/uibrik/ripple-to-still/ripple-to-still";

<RippleToStill play={play} />

Installation

npx shadcn@latest add https://uibrik.com/r/ripple-to-still.json
Adds the files to components/uibrik/ripple-to-still and installs motion. With the @uibrik namespace set up: npx shadcn@latest add @uibrik/ripple-to-still.

Props

RippleToStill
text
Type string
"Still water"
The copy to animate.
duration
Type number
1.4
Time for the ripple to calm.
strength
Type number
16
Starting displacement.
playrequired
Type number
–
Each change plays the effect again; 0 shows its resting state.