Divider
A divider is a thin line that groups content in lists and layouts.
Usage
Import the component:
import 'mdui/components/divider.js';
Import the TypeScript type:
import type { Divider } from 'mdui/components/divider.js';
Example:
<mdui-divider></mdui-divider>
Left Inset
To inset the divider from the left, add the inset
attribute. This is typically used in lists to align the divider with the text on the left.
Middle Inset
To inset the divider from both sides, add the middle
attribute.
API
On this page