> 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: Divider Component

## Article: Divider Component

## Article Link: https://dev.wix.com/docs/wix-design-system/components/layout/divider-component.md

## Article Content:

# Divider

_Components/Layout_

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

## Overview

```jsx
<Divider />;
```

Dividers are thin lines that separate content, or groups it into clear sections. They act like visual punctuation marks and make web pages easier to read.

### Do

- Separate content in lists and layouts.
- Use dividers to support visual hierarchy.

### Don't

- Don't overuse dividers when white space can be used instead.
- Don't place two dividers together without content in between.

### Feature examples

#### Direction

Control how the divider is placed with the `direction` prop.

- `horizontal` separates content into rows.
- `vertical` separates content into columns.

```jsx
<StorybookComponents.Stack flexDirection="column">
  Horizontal:
  <Divider direction="horizontal" />
  Vertical:
  <StorybookComponents.Stack height="50px" justifyContent="space-between">
    <Divider direction="vertical" />
    <Divider direction="vertical" />
    <Divider direction="vertical" />
    <Divider direction="vertical" />
    <Divider direction="vertical" />
  </StorybookComponents.Stack>
</StorybookComponents.Stack>;
```

#### Skin

Set the color of a divider with one of these values:

- `light` is the default for common cases on light backgrounds.
- `dark` is for common cases on dark backgrounds.
- `standard` is for light blue backgrounds.
- `warning` is for light orange backgrounds.
- `destructive` is for light red backgrounds.
- `success` is for light green backgrounds.
- `premium` is for light purple backgrounds.

```jsx
<StorybookComponents.Stack flexDirection="column">
  <Divider skin="light" />
  <Divider skin="dark" />
  <Divider skin="standard" />
  <Divider skin="warning" />
  <Divider skin="destructive" />
  <Divider skin="success" />
  <Divider skin="premium" />
</StorybookComponents.Stack>;
```

### Common use case examples

#### Lists

Separate entities from one another with a divider for an easy-to-read list.

```jsx
() => {
  const ListItem = ({ title, subtitle }) => {
    const [checked, setChecked] = React.useState(true);
    return (
      <Box align="space-between">
        <Box direction="vertical">
          <Text weight="normal">{title}</Text>
          <Text size="small" secondary>
            {subtitle}
          </Text>
        </Box>
        <Box gap="24px" verticalAlign="middle">
          <ToggleSwitch
            size="medium"
            checked={checked}
            onChange={() => setChecked(!checked)}
          />
          <TextButton>Edit</TextButton>
        </Box>
      </Box>
    );
  };

  return (
    <Card>
      <Card.Header title="Default emails" />
      <Card.Divider />
      <Card.Content>
        <Box direction="vertical" gap="18px">
          <ListItem
            title="Confirmation"
            subtitle="Let guests know their spot is confirmed"
          />
          <Divider />
          <ListItem
            title="Reminder"
            subtitle="Send a friendly reminder when the event is coming up"
          />
          <Divider />
          <ListItem
            title="Cancellation"
            subtitle="Notify guests if this event is canceled"
          />
        </Box>
      </Card.Content>
    </Card>
  );
};
```

#### Separated content

Create a full-bleed divider to separate secondary content.

```jsx
<Card>
  <MarketingLayout
    title="Add sessions to get booked"
    description="Set when this service is offered and the staff who provide it."
    actions={<Button size="small">Add Sessions</Button>}
    size="tiny"
    image={
      <Box align="right">
        <Image
          transparent
          width="120px"
          height="120px"
          src="PromotionalBookingsUpgrade.svg"
        />
      </Box>
    }
  />
  <Divider />
  <Box padding="12px 30px">
    <Text size="tiny" skin="standard">
      You can also add sessions directly from your <a>Calendar</a>
    </Text>
  </Box>
</Card>;
```

## Code

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

### Props

| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `dataHook` | `string` | — | Applied as data-hook HTML attribute that can be used in the tests. |
| `direction` | `"horizontal" \| "vertical"` | — | The direction of the divider. |
| `skin` | `"warning" \| "standard" \| "light" \| "destructive" \| "premium" \| "dark" \| "success"` | — | The skin of the divider. |

## Testkit

Import the driver matching your test environment:

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

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

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

// Testing Library
import { DividerTestkit } 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.330.0** (2026-09-28) — maintenance release, no component-specific changes
- **1.325.0** (2026-09-17) — maintenance release, no component-specific changes
- **1.310.0** (2026-08-10) — maintenance release, no component-specific changes
- **1.292.0** (2026-06-22) — maintenance release, no component-specific changes
- **1.291.0** (2026-06-19) — maintenance release, no component-specific changes
- **1.272.0** (2026-04-27) — maintenance release, no component-specific changes
- **1.266.0** (2026-04-07) — maintenance release, no component-specific changes
- **1.260.0** (2026-03-17) — maintenance release, no component-specific changes
- **1.250.0** (2026-01-27) — maintenance release, no component-specific changes
- **1.247.2** (2026-01-21) — maintenance release, no component-specific changes
- **1.228.0** (2025-11-18) — maintenance release, no component-specific changes
- **1.172.3** (2025-03-25) — maintenance release, no component-specific changes
- **1.138.1** (2024-10-30) — maintenance release, no component-specific changes
- **1.115.0** (2024-07-17) — maintenance release, no component-specific changes
- **1.103.1** (2024-04-24) — maintenance release, no component-specific changes
- **1.102.0** (2024-04-16) — maintenance release, no component-specific changes
- **1.100.0** (2024-04-04) — maintenance release, no component-specific changes
- **1.92.1** (2024-02-05) — maintenance release, no component-specific changes