<lorem/>

<lorem/> is a Paragraph Markup component that renders random lorem-ipsum filler text. The amount of text generated is controlled by attribute specification of the number of words, sentences, and paragraphs.

Attributes and Properties

Attributes for <lorem>
AttributeTypeValues
generateParagraphs = "…"
generateSentences = "…"
generateWords = "…"
maxSentencesPerParagraph = "…"number
maxWordsPerSentence = "…"number
minSentencesPerParagraph = "…"number
minWordsPerSentence = "…"number
Props for <lorem name="l">
PropertyType
$l.maxSentencesPerParagraphnumber
$l.maxWordsPerSentencenumber
$l.minSentencesPerParagraphnumber
$l.minWordsPerSentencenumber

Attribute Example: generateWords

Specify the number of words to generate with the generateWords attribute.


Attribute Example: generateSentences

Specify the number of sentences to generate with the generateSentences attribute.


Attribute Example: generateParagraphs

Specify the number of paragraphs to generate with the generateParagraphs attribute.


Attribute Example: minSentencesPerParagraph, maxSentencesPerParagraph

You can control the length of generated paragraphs with the minSentencesPerParagraph and maxSentencesPerParagraph attributes. The default minimum is four paragraphs and the default maximum is eight paragraphs.


Attribute Example: minWordsPerSentence, maxWordsPerSentence

You can control the length of generated sentences with the minWordsPerSentence and maxWordsPerSentence attributes. The default minimum is four words and the default maximum is eight words.