Products · Components

Prose

Lays out articles and other long text for easy reading.

Put headings, paragraphs and lists inside it. It gives them a comfortable line length, and room between paragraphs and above headings.

Children: Components

Example

The Prose component
view.dml
<Prose>
  <Text variant="title">Getting started</Text>
  <Text variant="lead">Everything you need to know before your first payment.</Text>
  <Text>Add your phone number, choose how you want to pay, and confirm the amount.</Text>
</Prose>

Props

PropTypeWhat it is
padding, paddingTop, paddingStart, paddingEnd, paddingBottomspacingSpace inside its edges, all round or on one side.

Events

None.

Keep reading

On this page