Figma
Star462

Paragraph

A Paragraph is a block of text.

yarn add @twilio-paste/paragraph - or - yarn add @twilio-paste/core
import {Paragraph} from '@twilio-paste/core/paragraph';

const Component = () => (
  <Paragraph>
    We have inherited a fear of memories of slavery. It is as if to remember and acknowledge slavery would amount to our
    being consumed by it. As a matter of fact, in the popular black imagination, it is easier for us to construct
    ourselves as children of Africa, as the sons and daughters of kings and queens, and thereby ignore the Middle
    Passage and centuries of enforced servitude in the Americas. Although some of us might indeed be the descendants of
    African royalty, most of us are probably descendants of their subjects, the daughters and sons of African peasants
    or workers.
  </Paragraph>
);

element

Overrides the default element name to apply unique styles with the Customization Provider.

Type
string
Default
'PARAGRAPH'

id

Type
never

marginBottom

Overrides the default marginBottom of space70 to space0.

Type
"space0"
Default
'space70'

To help us improve this site, we use tools that set cookies. The data gathered by these tools is anonymized. If you reject the use of cookies, no analytics service will be initiated.