Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The component failed to render properly, likely due to a configuration issue in Storybook. Here are some common causes and how you can address them:
Use lists to group a collection of related items.
There are three types of HTML lists: unordered lists, ordered lists, and description lists. Utility classes allow you to style each of these lists in different ways.
An unordered list groups related items in no specific order or sequence.
It is created using a <ul>
tag and each list item is preceded by a bullet (small circle).
<ul> <li>This is an unordered list.</li> <li>It appears in its default style.</li> <li>Therefore it is rendered with a bullet point in front of each list item.</li> <li> Nested list: <ul> <li>This is a nested list</li> <li>It is further indented, depending on the depth of nesting.</li> <li>Nested lists have different bullet points than their parents.</li> </ul> </li> <li>This item belongs to the parent list.</li> </ul>
Remove the default list-style and left margin on list items (immediate children only). This only applies to immediate child list items, meaning you will need to add the class for any nested lists as well.
<ul class="list-unstyled"> <li>This is an unstyled list.</li> <li>It appears completely unstyled.</li> <li>Structurally, it's still a list.</li> <li> Nested list: <ul> <li>They are unaffected by the style of its parent.</li> <li>So they will still show a bullet.</li> <li>And have an appropriate left indent.</li> </ul> </li> <li>This item belongs to the parent list.</li> </ul>
Remove a list’s bullets and apply some light margin with a combination of two classes,
.list-inline
and .list-inline-item
.
<ul class="list-inline"> <li class="list-inline-item">This is an inline list item.</li> <li class="list-inline-item">And another one.</li> <li class="list-inline-item">And one more.</li> </ul>
An ordered list groups related items in a specific order.
It is created using a <ol>
tag and list items are preceded by ascending numbers by default.
<ol> <li>This is an ordered list.</li> <li>It appears in its default style.</li> <li> Therefore it should be rendered with sequential numbers at the beginning of each list item. </li> <li> Nested list: <ol> <li>This is a nested list</li> <li>It is further indented, depending on the depth of nesting.</li> <li>Nested lists numbers are independent form the numbers of their parents.</li> </ol> </li> <li>This item belongs to the parent list.</li> </ol>
A description list is a list of terms, with a description of each term.
It is created using a <dl>
tag, terms are defined using <dt>
tags, and descriptions are defined using <dd>
tags.
<dl> <dt>This is a description list.</dt> <dd>It appears in its default style.</dd> <dt>Group title</dt> <dd>A description list is perfect for defining terms.</dd> <dt>Term</dt> <dd>Definition for the term.</dd> </dl>
Align terms and descriptions horizontally by using our grid system’s predefined classes.
For longer terms, you can optionally add a .text-truncate
class to truncate the text with an ellipsis.
This definition is long.
You can use extra markup whenever you need.
<dl class="row"> <dt class="col-sm-3">Term</dt> <dd class="col-sm-9">Definition for the term.</dd> <dt class="col-sm-3">Another term</dt> <dd class="col-sm-9"> <p>This definition is long.</p> <p>You can use extra markup whenever you need.</p> </dd> <dt class="col-sm-3 text-truncate"> Long term that overflows its parent column and is therefore truncated </dt> <dd class="col-sm-9">This can be useful when space is tight. Adds an ellipsis at the end.</dd> <dt class="col-sm-3">Nesting</dt> <dd class="col-sm-9"> <dl class="row"> <dt class="col-sm-4">Nested definition list</dt> <dd class="col-sm-8"> I heard you like definition lists. Let me put a definition list inside your definition list. </dd> </dl> </dd> </dl>