Content

Typography

Typography

Fonts and ready-to-use typography patterns.

Fonts

Headings

Inter

Tip: To change fonts, you'll need to reference new them in both app/views/rui/shared/_fonts.html.erb and app/assets/stylesheets/railsui/theme.css.


Headings

A quick brown fox jumps over
the lazy dog.

h1

A quick brown fox jumps over the lazy dog.

h2

A quick brown fox jumps over the lazy dog.

h3

A quick brown fox jumps over the lazy dog.

h4

A quick brown fox jumps over the lazy dog.

h5

A quick brown fox jumps over the lazy dog.

h6


Responsive heading design

Change heading sizes relative to viewports with Tailwind CSS responsive utilities.

<h1 class="md:h1 h2">My sample title</h1>

Display headings

A quick brown fox jumps over the lazy dog.

h1

A quick brown fox jumps over the lazy dog.

h2

A quick brown fox jumps over the lazy dog.

h3

A quick brown fox jumps over the lazy dog.

h4

A quick brown fox jumps over the lazy dog.

h5

A quick brown fox jumps over the lazy dog.

h6


Blockquote

A well-known quote, contained in a blockquote element.

Someone famous in Source Title

Lists

Standard

  • A quick brown
  • fox jumps over
  • the lazy dog

Unstyled

  • A quick brown
  • fox jumps over
  • the lazy dog

Decimal

  1. A quick brown
  2. fox jumps over
  3. the lazy dog

Lead paragraph

This is a lead paragraph. It stands out from regular paragraphs.


Paragraphs

Lorem ipsum dolor sit amet consectetur adipisicing elit. Vitae illo nisi distinctio neque veniam aliquam debitis architecto quaerat. Temporibus, similique dolor quia voluptates maiores in placeat laborum deleniti ratione officiis. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptatum iure non velit dignissimos laudantium modi at, eum officiis ipsam, illo vitae omnis nam, ut nisi alias odio magni qui nostrum.

Id velit dolorum fugit, beatae unde sint saepe rerum impedit nihil deleniti recusandae quam amet nesciunt, eveniet maiores?

Id velit dolorum fugit, beatae unde sint saepe rerum impedit nihil deleniti recusandae quam amet nesciunt, eveniet maiores?

Lorem ipsum dolor sit amet consectetur adipisicing elit. Vitae illo nisi distinctio neque veniam aliquam debitis architecto quaerat. Temporibus, similique dolor quia voluptates maiores in placeat laborum deleniti ratione officiis. Lorem ipsum dolor, sit amet consectetur adipisicing elit. Voluptatum iure non velit dignissimos laudantium modi at, eum officiis ipsam, illo vitae omnis nam, ut nisi alias odio magni qui nostrum.


Inline formatting

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

This line of text is meant to be treated as no longer accurate.

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined.

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.