# Divider
A [divider](https://m3.material.io/components/divider) is a thin line
that groups content in lists and containers.
Dividers can reinforce tapability, such as when used to separate list items or
define tappable regions in an accordion.

* [Design article](https://m3.material.io/components/divider)
* [API Documentation](#api)
* [Source code](https://github.com/material-components/material-web/tree/main/divider)
## Usage
Use full width dividers to separate larger sections of unrelated content.

```html
Lorem ipsum...
Lorem ipsum...
```
### Inset dividers
Use inset dividers to separate related content within a section.

```html
```
Inset dividers are equally indented from both sides of the screen by default.
Use `inset-start` or `inset-end` to change this.

```html
```
## Accessibility
Dividers are decorative by default and not announced by assistive technology.
Add a
[`role="separator"`](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/separator_role)
attribute to non-decorative dividers that should be announced.
```html
- Item one
- Item two
- Item three
- Item four
```
## Theming
Divider supports [theming](../theming/README.md) and can be customized with CSS
custom property tokens.
### Tokens
Token | Default value
------------------------ | --------------------------------
`--md-divider-color` | `--md-sys-color-outline-variant`
`--md-divider-thickness` | `1px`
* [All tokens](https://github.com/material-components/material-web/blob/main/tokens/_md-comp-divider.scss)
### Example

```html
Lorem ipsum...
Lorem ipsum...
```
## API
### MdDivider <md-divider>
#### Properties
| Property | Attribute | Type | Default | Description |
| --- | --- | --- | --- | --- |
| `inset` | `inset` | `boolean` | `false` | Indents the divider with equal padding on both sides. |
| `insetStart` | `inset-start` | `boolean` | `false` | Indents the divider with padding on the leading side. |
| `insetEnd` | `inset-end` | `boolean` | `false` | Indents the divider with padding on the trailing side. |