# ContentPageLead

The ContentPageLead component provides a paragraph with larger text. Usually the first component after the ContentPageLead.

Example

Storyblok

This component exists in Storyblok too. Linebreaks will be rendered.

blok: {
  // required
  text: ''
}
1
2
3
4

# Dependencies

None.

# Props

Name Type Required Default Description
text String true - <p>

# Variants

None.

# Example

Good

<!-- Pass the text as a string through the prop "text" -->
<ContentPageLead text="lorem ipsum" />

<!-- Pass data from an object -->
<ContentPageLead :text="blok.text" />
1
2
3
4
5

Bad

<!-- Use the prop text for passing the content.
  This Component does not have a slot. -->
<ContentPageLead>
  lorem impsum
</ContentPageLead>
1
2
3
4
5