---
localeCode: en-US
order: 0
category: Basic
title: Divider
icon: doc-divider
brief: Divider is a linear, lightweight component used to logically organize element content and page structure or areas.
---
## Demos
### How to import
```jsx import
import { Divider } from '@douyinfe/semi-ui';
```
### Basic Usage
```jsx live=true
import React from 'react';
import { Divider } from '@douyinfe/semi-ui';
() => {
return (
Horizontal Solid Line
Semi Design is a design system.
It defines a set of components.
Horizontal Dashed Line
Semi Design is a design system.
It defines a set of components.
Vertical Solid Line
Vertical Dashed Line
);
};
```
### 包含内容
```jsx live=true
import React from 'react';
import { Divider, Typography } from '@douyinfe/semi-ui';
() => {
return (
Left Text
Center Text
Right Text
);
};
```
## API Reference
| 属性 | 说明 | 类型 | 默认值 |
|-----------|---------------------------------------------------------------|-------------|---------|
| align | Content Align Mode | left \| center \| right | center |
| children | Content | ReactNode | - |
| className | ClassName | string | - |
| dashed | Whether is dashed | boolean | false |
| layout | Divider Direction | horizontal \| vertical | horizontal |
| margin | Vertical (Horizontal if in horizontal mode) margin of divider | number \| string | - |
| style | Custom Style | CSSProperties | - |
## Design Tokens