> To build a Wix site agentically, or add Wix features like bookings or a store to a site you already have, follow https://www.wix.com/headless/skill.md
> 
> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - If a reference page seems to be missing its schema (parameters, return types, or type definitions), append `?schema=true` to its `.md` URL (e.g. `https://dev.wix.com/docs/contexts/contexts/stores/category-info/use-category-info-context.md?schema=true`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

## Resource: PulseAnimation Component

## Article: PulseAnimation Component

## Article Link: https://dev.wix.com/docs/wix-design-system/components/animations/pulse-animation-component.md

## Article Content:

# PulseAnimation

_Components/Animations_

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

## Overview

```jsx
() => {
  const [active, setActive] = React.useState(true);
  return (
    <Layout>
      <Cell span={8}>
        <PulseAnimation active={active} color="B10" borderRadius="18px">
          <Button>Button</Button>
        </PulseAnimation>
      </Cell>
      <Cell span={4} vertical>
        <button onClick={() => setActive(!active)}>
          {active ? 'Stop Animation' : 'Play Animation'}
        </button>
      </Cell>
    </Layout>
  );
};
```

`<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.

```jsx
() => {
  const [active, setActive] = React.useState(false);
  return (
    <Layout>
      <Cell span={8}>
        <PulseAnimation active={active} color="P10" borderRadius="18px">
          <Button skin="premium">Button</Button>
        </PulseAnimation>
      </Cell>
      <Cell span={4} vertical>
        <button onClick={() => setActive(!active)}>
          {active ? 'Stop Animation' : 'Play Animation'}
        </button>
      </Cell>
    </Layout>
  );
};
```

#### Delay example

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

```jsx
() => {
  const [active, setActive] = React.useState(false);
  return (
    <Layout>
      <Cell span={8}>
        <PulseAnimation
          delay="500ms"
          active={active}
          color="B10"
          borderRadius="18px"
        >
          <Button color="B10">Button</Button>
        </PulseAnimation>
      </Cell>
      <Cell span={4} vertical>
        <button onClick={() => setActive(!active)}>
          {active ? 'Stop Animation' : 'Play Animation'}
        </button>
      </Cell>
    </Layout>
  );
};
```

## Code

```jsx
import { PulseAnimation } from '@wix/design-system';
```

### Props

| 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. |

## Testkit

Import the driver matching your test environment:

```jsx
// UniDriver
import { PulseAnimationUniDriver } from '@wix/design-system/dist/testkit/unidriver';

// Vanilla
import { PulseAnimationTestkit } from '@wix/design-system/dist/testkit';

// Puppeteer
import { PulseAnimationTestkit } from '@wix/design-system/dist/testkit/puppeteer';

// Testing Library
import { PulseAnimationTestkit } from '@wix/design-system/dist/testkit/testing-library';
```

### Driver methods

| 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. |

## 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