# Divider

A horizontal line that separates groups of related content.

Tabs: [Guidelines](/components/web/divider/divider.guidelines.md) · [Code](/components/web/divider/divider.code.md)

## Basic usage

```tsx
import {Divider, Stack, Text} from '@pleo-io/telescope'

export const Sections = () => (
    <Stack space={16}>
        <Text>Section above</Text>
        <Divider />
        <Text>Section below</Text>
    </Stack>
)
```

The divider renders an `<hr>` and forwards all HTML attributes to it. See the [API reference](https://telescope.pleo.io/components/web/divider/divider.code#api-reference) for every prop, and the [Guidelines](https://telescope.pleo.io/components/web/divider/divider.guidelines) for when to use it.

***

## Accessibility

Drop the separator semantics for a purely decorative line.

```tsx
import {Divider} from '@pleo-io/telescope'

export const DecorativeDivider = () => <Divider role="presentation" />
```

## API reference

This component doesn't accept any custom props.
