Components/Animations
Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/pulseanimation
<PulseAnimation/> is a wrapper with a predefined pulse animation. It emphasizes UI elements with a pulse motion.
The color prop is used to change the pulse color.
The delay prop is used to set a delay before the animation execution.
| Name | Type | Default | Description |
|---|---|---|---|
active | boolean | — | Triggers the animation transition. |
borderRadius | string | number | string & {} | — | Sets the border-radius css property of the animation. |
children (required) | ReactNode | — | Node to animate (one child node) |
color (required) | "B10" | "R10" | "P10" | "G10" | — | The color of the animation. |
dataHook | string | — | Applied as data-hook HTML attribute that can be used in the tests. |
delay | string | number | — | Set a delay before the animation execution. When provided a number- sets this as ms. |
fluid | boolean | false | Changes fluidity from fit-content to 100% and allows children to stretch to its parent container width. |
loop | boolean | true | When set to true, the child component animate repetitively until stopped by other event. |
onEnd | (event: AnimationEvent<HTMLDivElement>) => void | — | A callback fired immediately after the animation ends. |
onStart | (event: AnimationEvent<HTMLDivElement>) => void | — | A callback fired immediately after the animation starts. |
Import the driver matching your test environment:
| Method | Description |
|---|---|
exists | Checks whether the component found with the given data hook. |
element | Gets the component root element. |
click | Clicks on the component root element. |
base | Returns UniDriver for the base element. |
Last updated: 21 October 2026