Divider component renders horizontal or vertical line.
Customize hr border style by setting
In horizontal orientation you can add label with any react node at left, right or center of Divider
label and control its appearance with
(see Text component for full props reference):
Divider has predefined sizes: xs, sm, md, lg, xl. You can pass size as number and it will be set as height in px:
Divider can be oriented vertically with
orientation prop. In this case size will change the divider width: