Initial commit

This commit is contained in:
2025-03-07 19:22:02 +01:00
commit 4a98255d83
55743 changed files with 5280367 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
# @fluentui/react-divider
**Divider components for [Fluent UI](https://react.fluentui.dev/)**
The Divider component represents a visual separator, that may contain content. A Divider can be vertical or horizontal.
## Usage
To import Divider:
```js
import { Divider } from '@fluentui/react-components';
```
### Examples
```jsx
<Divider />
<Divider>This is a divider</Divider>
<Divider alignContent="center">This is a divider</Divider>
<Divider appearance="subtle">This is a divider</Divider>
<Divider inset>This is a divider</Divider>
<Divider vertical>This is a divider</Divider>
```
See [Fluent UI Storybook](https://react.fluentui.dev/) for more detailed usage examples.
Alternatively, run Storybook locally with:
1. `yarn start`
2. Select `react-divider` from the list.
### Specification
See [SPEC.md](./SPEC.md).
### Migration Guide
If you're upgrading to Fluent UI v9 see [MIGRATION.md](./MIGRATION.md) for guidance on updating to the latest Divider implementation.