Component Gallery
A reference page demonstrating common HTML elements and how they appear with the site's stylesheet applied. Use this page to test and refine typographic and UI styles.
On this page
Typography
Heading Level 3
Heading Level 4
Heading Level 5
Heading Level 6
This is a standard paragraph of body text. Typography is the craft of arranging type to make written language both legible and beautiful. It is one of the most fundamental — and often overlooked — disciplines in design. From the kerning of a headline to the leading of a body paragraph, every decision shapes the reader's experience.
Text can be bold, italic, underlined, or struck through. You can also highlight text, write in small print, use superscript and subscript, cite a referenced work, mark inserted content, flag deleted content, or use HTML abbreviations. Press Ctrl + S to save.
"Typography is the voice of the written word. It can whisper, shout, persuade, or comfort — all without saying a thing out loud."
Inline code looks like this: font-size: 1rem;. For multi-line code, use a pre block:
function greet(name) {
return `Hello, ${name}!`;
}
console.log(greet("World"));A well-known quote, contained in a blockquote element.
Unordered List
- First list item
- Second list item with a nested list
- Nested item one
- Nested item two
- Third list item
Ordered List
- First list item
- Second list item with a nested list
- Nested item one
- Nested item two
- Third list item
Description List
-
Typography
-
The art and technique of arranging type to make written language legible and visually appealing.
-
Kerning
-
The process of adjusting the spacing between individual characters in a typeface.
-
Leading
-
The vertical space between lines of text, measured from baseline to baseline.
Links can appear inline within a sentence, or as a standalone call to action link. This is a link with a title attribute.
Written by Jane Smith
123 Example Street, London, UK
Badges
Forms
Raw HTML Form
Tables
Default
| Month | Units Sold | Revenue | Returns | Growth |
|---|---|---|---|---|
| January | 142 | $10,650 | 3 | +4.2% |
| February | 189 | $14,175 | 7 | +33.1% |
| March | 203 | $15,225 | 5 | +7.4% |
| April | 176 | $13,200 | 9 | −13.3% |
| Total | 710 | $53,250 | 24 | +7.8% |
Striped
| Month | Units Sold | Revenue | Returns | Growth |
|---|---|---|---|---|
| January | 142 | $10,650 | 3 | +4.2% |
| February | 189 | $14,175 | 7 | +33.1% |
| March | 203 | $15,225 | 5 | +7.4% |
| April | 176 | $13,200 | 9 | −13.3% |
| Total | 710 | $53,250 | 24 | +7.8% |
Scrolling
| Month | Units Sold | Revenue | Returns | Growth | Avg. Order Value | New Customers | Repeat Customers | Conversion Rate |
|---|---|---|---|---|---|---|---|---|
| January | 142 | $10,650 | 3 | +4.2% | $75.00 | 98 | 44 | 3.1% |
| February | 189 | $14,175 | 7 | +33.1% | $75.00 | 121 | 68 | 4.0% |
| March | 203 | $15,225 | 5 | +7.4% | $75.00 | 134 | 69 | 4.3% |
| April | 176 | $13,200 | 9 | −13.3% | $75.00 | 109 | 67 | 3.7% |
| Total | 710 | $53,250 | 24 | +7.8% | — | 462 | 248 | — |
Striped + Scrolling
| Month | Units Sold | Revenue | Returns | Growth | Avg. Order Value | New Customers | Repeat Customers | Conversion Rate |
|---|---|---|---|---|---|---|---|---|
| January | 142 | $10,650 | 3 | +4.2% | $75.00 | 98 | 44 | 3.1% |
| February | 189 | $14,175 | 7 | +33.1% | $75.00 | 121 | 68 | 4.0% |
| March | 203 | $15,225 | 5 | +7.4% | $75.00 | 134 | 69 | 4.3% |
| April | 176 | $13,200 | 9 | −13.3% | $75.00 | 109 | 67 | 3.7% |
| Total | 710 | $53,250 | 24 | +7.8% | — | 462 | 248 | — |
Media
Images
Border
Rounded
Shadow
Rounded + Shadow
Border + Rounded + Shadow
X-Large
XX-Large
Full Width
Full Width + Rounded + Shadow
Figure & Figcaption
figure and figcaption elements.Audio
Video
Interactive Elements
Details & Summary
What is a disclosure widget?
The details element creates a native disclosure widget. Content inside it is hidden by default and revealed when the user clicks the summary. Useful for FAQs, accordions, and progressive disclosure.
Can I nest them?
Yes — you can nest details elements inside one another, or include any other HTML content within them, including lists, code blocks, and images.
This one is open by default
Adding the open attribute to a details element will render it in the expanded state on page load.
Progress & Meter
68%
Miscellaneous
Horizontal Rule
Content above the rule.
Content below the rule.
Inline Semantic Elements
Strong importance · Emphasis · Highlighted text · Small print · Deleted text · Inserted text · No longer accurate · E = mc2 · H2O · ASAP · A Tale of Two Cities · An inline quotation
· Ctrl + C · x = y + 2 · Error: file not found ·