Paragraph
Basic paragraph, with markdown support.
Props
- label (string): Paragraph content. Supports full markdown.
- [OPTIONAL] id (string):
id
HTML attribute to set to the element. - [OPTIONAL] modifiers (string): List of modifiers to apply to the element. Defaults to
""
. - [OPTIONAL] itemProp (string):
itemprop
HTML attribute to set to the element.
Syntax
- React
- Vue
- Svelte
- HTML
<UIP
id="my-id"
modifiers="large primary"
label="Lorem ipsum dolor sit amet, *consectetur* adipiscing elit."
itemProp="description"
/>
<UIP
id="my-id"
modifiers="large primary"
label="Lorem ipsum dolor sit amet, *consectetur* adipiscing elit."
item-prop="description"
/>
<UIP
id="my-id"
modifiers="large primary"
label="Lorem ipsum dolor sit amet, *consectetur* adipiscing elit."
itemProp="description"
/>
<p class="ui-p ui-p--large--primary" id="my-id" itemprop="description">
Lorem ipsum dolor sit amet, <span class="ui-markdown ui-markdown--emphasis">consectetur</span> adipiscing elit.
</p>