Products · Components

Divider

A thin line between two parts of a page.

Use one between a receipt's items and its total, for example.

Children: Nothing

Example

The Divider component
view.dml
<View variant="card" gap="small">
  <Text>Subtotal</Text>
  <Divider />
  <Text weight="bold">Total</Text>
</View>

Props

None.

Events

None.

Keep reading

On this page