PulseAnimation

Components/Animations

Interactive docs page: https://wix-pages.com/design-system-documentation/#/component/pulseanimation

Overview

Copy

<PulseAnimation/> is a wrapper with a predefined pulse animation. It emphasizes UI elements with a pulse motion.

Do

  • Use it to draw attention to one element that needs the user's action, such as the entry point to a new feature.
  • Stop the animation once users interact with the element.

Don't

  • Don't animate several elements on the same screen at once.
  • Don't wrap more than one child in it.

Feature examples

Color example

The color prop is used to change the pulse color.

Copy

Delay example

The delay prop is used to set a delay before the animation execution.

Copy

Code

Copy

Props

NameTypeDefaultDescription
activeboolean—Triggers the animation transition.
borderRadiusstring | 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.
dataHookstring—Applied as data-hook HTML attribute that can be used in the tests.
delaystring | number—Set a delay before the animation execution. When provided a number- sets this as ms.
fluidbooleanfalseChanges fluidity from fit-content to 100% and allows children to stretch to its parent container width.
loopbooleantrueWhen 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.

Testkit

Import the driver matching your test environment:

Copy

Driver methods

MethodDescription
existsChecks whether the component found with the given data hook.
elementGets the component root element.
clickClicks on the component root element.
baseReturns UniDriver for the base element.

Changelog

  • 1.339.0 (2026-10-19) — maintenance release, no component-specific changes
  • 1.338.0 (2026-10-15) — maintenance release, no component-specific changes
  • 1.325.0 (2026-09-17) — maintenance release, no component-specific changes
  • 1.322.0 (2026-09-09) — maintenance release, no component-specific changes
  • 1.310.0 (2026-08-10) — maintenance release, no component-specific changes
  • 1.295.0 (2026-07-03) — maintenance release, no component-specific changes
  • 1.292.0 (2026-06-22) — maintenance release, no component-specific changes
  • 1.280.0 (2026-05-19) — maintenance release, no component-specific changes
  • 1.267.0 (2026-04-09) — maintenance release, no component-specific changes
  • 1.266.0 (2026-04-07) — maintenance release, no component-specific changes
  • 1.260.1 (2026-03-23) — maintenance release, no component-specific changes
  • 1.260.0 (2026-03-17) — maintenance release, no component-specific changes
  • 1.247.2 (2026-01-21) — maintenance release, no component-specific changes
  • 1.212.0 (2025-08-11) — maintenance release, no component-specific changes
  • 1.102.0 (2024-04-16) — maintenance release, no component-specific changes
  • 1.93.0 (2024-02-08) — maintenance release, no component-specific changes
  • 1.92.1 (2024-02-05) — maintenance release, no component-specific changes

Last updated: 21 October 2026

Did this help?