| 1 |
--- |
| 2 |
id: Divider |
| 3 |
section: components |
| 4 |
cssPrefix: pf-v6-c-divider |
| 5 |
propComponents: ['Divider'] |
| 6 |
--- |
| 7 |
|
| 8 |
## Examples |
| 9 |
|
| 10 |
### Using hr |
| 11 |
|
| 12 |
```ts file='./DividerUsingHr.tsx' |
| 13 |
|
| 14 |
``` |
| 15 |
|
| 16 |
### Using li |
| 17 |
|
| 18 |
```ts file='./DividerUsingLi.tsx' |
| 19 |
|
| 20 |
``` |
| 21 |
|
| 22 |
### Using div |
| 23 |
|
| 24 |
```ts file='./DividerUsingDiv.tsx' |
| 25 |
|
| 26 |
``` |
| 27 |
|
| 28 |
### Inset medium |
| 29 |
|
| 30 |
```ts file='./DividerInsetMedium.tsx' |
| 31 |
|
| 32 |
``` |
| 33 |
|
| 34 |
### Inset at various breakpoints |
| 35 |
|
| 36 |
```ts file='./DividerInsetVariousBreakpoints.tsx' |
| 37 |
|
| 38 |
``` |
| 39 |
|
| 40 |
### Vertical in flex layout |
| 41 |
|
| 42 |
```ts file='./DividerVerticalFlex.tsx' |
| 43 |
|
| 44 |
``` |
| 45 |
|
| 46 |
### Vertical in flex layout, inset small |
| 47 |
|
| 48 |
```ts file='./DividerVerticalFlexInsetSmall.tsx' |
| 49 |
|
| 50 |
``` |
| 51 |
|
| 52 |
### Vertical in flex layout, inset at various breakpoints |
| 53 |
|
| 54 |
```ts file='./DividerVerticalFlexInsetVariousBreakpoints.tsx' |
| 55 |
|
| 56 |
``` |
| 57 |
|
| 58 |
### Switch orientation at various breakpoints |
| 59 |
|
| 60 |
```ts file='./DividerOrientationVariousBreakpoints.tsx' |
| 61 |
|
| 62 |
``` |