Skip to content

Commit 790c195

Browse files
Simple copyable divider examples (#4655)
Co-authored-by: Vincent Baaij <vnbaaij@outlook.com>
1 parent 81a6705 commit 790c195

5 files changed

Lines changed: 56 additions & 41 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<FluentDivider AlignContent="DividerAlignContent.Start">
2+
Start
3+
</FluentDivider>
4+
5+
<FluentDivider AlignContent="DividerAlignContent.Center">
6+
Center
7+
</FluentDivider>
8+
9+
<FluentDivider AlignContent="DividerAlignContent.End">
10+
End
11+
</FluentDivider>
12+
13+
<FluentDivider AlignContent="DividerAlignContent.Start" Inset="true">
14+
Start (with inset)
15+
</FluentDivider>
16+
17+
<FluentDivider AlignContent="DividerAlignContent.Center" Inset="true">
18+
Center (with inset)
19+
</FluentDivider>
20+
21+
<FluentDivider AlignContent="DividerAlignContent.End" Inset="true">
22+
End (with inset)
23+
</FluentDivider>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<FluentDivider>
2+
Default
3+
</FluentDivider>
4+
5+
<FluentDivider Appearance="DividerAppearance.Strong">
6+
Strong
7+
</FluentDivider>
8+
9+
<FluentDivider Appearance="DividerAppearance.Brand">
10+
Brand
11+
</FluentDivider>
12+
13+
<FluentDivider Appearance="DividerAppearance.Subtle">
14+
Subtle
15+
</FluentDivider>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<FluentDivider>
2+
Horizontal
3+
</FluentDivider>
4+
5+
<FluentDivider Vertical="true">
6+
Vertical
7+
</FluentDivider>
8+

examples/Demo/FluentUI.Demo.Client/Documentation/Components/Divider/Examples/FluentDividerExamples.razor

Lines changed: 0 additions & 39 deletions
This file was deleted.

examples/Demo/FluentUI.Demo.Client/Documentation/Components/Divider/FluentDivider.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@ icon: DividerShort
77
# Divider
88

99
The `Divider` component is used to separate content within a container.
10-
The component is a wrapper for the <fluentui-divider/> web component.
10+
The component is a wrapper for the `<fluentui-divider/>` web component.
1111

1212
## Examples
1313

14-
{{ FluentDividerExamples }}
14+
{{ FluentDividerDefault }}
15+
16+
## Appeareance
17+
18+
{{ FluentDividerAppeareance }}
19+
20+
## Alignment
21+
22+
{{ FluentDividerAlignment }}
1523

1624
## API FluentDivider
1725

0 commit comments

Comments
 (0)