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.

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.

Someone famous in Source Title

Unordered List

  • First list item
  • Second list item with a nested list
    • Nested item one
    • Nested item two
  • Third list item

Ordered List

  1. First list item
  2. Second list item with a nested list
    1. Nested item one
    2. Nested item two
  3. 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

Buttons

Sized Buttons

Colour Variants

Ghost Buttons

Ghost Colour Variants

Transparent Buttons

Buttons with Icons

CSS Chevron Variants

Full Width Buttons

 

Raw HTML Buttons

Button Element

Input Buttons

Link as Button

Anchor Button

Badges

Basic Pill Primary Secondary Tertiary Error Warning Success Light

Forms

Raw HTML Form

Text Inputs

















Numeric & Date Inputs









50



Select & Multi-select







Radios & Checkboxes


 

 


 

 

Switches
Textarea & File




Tables

Default

Monthly Sales Summary — Q1 2024
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

Monthly Sales Summary — Q1 2024
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

Monthly Sales Summary — Q1 2024
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

Monthly Sales Summary — Q1 2024
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

Placeholder image

Rounded

Placeholder image

Shadow

Placeholder image

Rounded + Shadow

Placeholder image

Border + Rounded + Shadow

Placeholder image

X-Large

Placeholder image

XX-Large

Placeholder image

Full Width

Placeholder image

Full Width + Rounded + Shadow

Placeholder image

Figure & Figcaption

Placeholder image
Fig. 1 — A placeholder image demonstrating the 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% 68%


72% 72%



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 ·