Dividers are used to manage and separate content in lists and page layouts to provide better visual clarity and sense of space.
Dividers are implemented in pure CSS, so writing the HTML is enough for them to take effect.
Full-width dividers take up 100% of the width. Available class names include:
mdui-divider: Dark in the default theme, light in the dark theme.mdui-divider-light: Light divider for use on dark backgrounds.mdui-divider-dark: Dark divider for use on light backgrounds.Inset dividers are indented by 72px from the left, frequently used in lists that feature avatars or icons. Available class names include:
mdui-divider-inset: Dark in the default theme, light in the dark theme.mdui-divider-inset-light: Light divider for use on dark backgrounds.mdui-divider-inset-dark: Dark divider for use on light backgrounds.| Class Name | Description |
|---|---|
.mdui-divider | Defines a divider. Dark in the default theme, light in the dark theme. |
.mdui-divider-light | Defines a light divider for use on dark backgrounds. |
.mdui-divider-dark | Defines a dark divider for use on light backgrounds. |
.mdui-divider-inset | Defines an inset divider. Dark in the default theme, light in the dark theme. |
.mdui-divider-inset-light | Defines a light inset divider for use on dark backgrounds. |
.mdui-divider-inset-dark | Defines a dark inset divider for use on light backgrounds. |