Introduction

If you have followed the installation guide, you’ll unlock access to the text style utility classes. These classes are designed for effortless application, requiring only a single class addition to your element to streamline the styling process.

By default each class is available in three sizes: large (lg), medium (md), and small (sm). These sizes adjust font size, line height, and font width for optimal readability and aesthetics.

Display

Display styles are reserved for short, important text or numerals. They work best on large screens.

Top Bread Recipes

Top Bread Recipes

Top Bread Recipes

export function DisplayExamples() {
  return (
    <div className="space-y-4">
      <h1 className="text-display-lg">Top Bread Recipes</h1>

      <h1 className="text-display-md">Top Bread Recipes</h1>

      <h1 className="text-display-sm">Top Bread Recipes</h1>
    </div>
  )
}

Headline

Headlines are best-suited for short, high-emphasis text on smaller screens. These styles can be good for marking primary passages of text or important regions of content.

Class details

Class details

Class details

export function HeadlineExamples() {
  return (
    <div className="space-y-4">
      <h2 className="text-headline-lg">Class details</h2>

      <h2 className="text-headline-md">Class details</h2>

      <h2 className="text-headline-sm">Class details</h2>
    </div>
  )
}

Title

Titles are smaller than headline styles, and should be used for medium-emphasis text that remains relatively short.

The Quiet, Yet Powerful Healthcare Revolution

The Quiet, Yet Powerful Healthcare Revolution

The Quiet, Yet Powerful Healthcare Revolution

export function TitleExamples() {
  return (
    <div className="space-y-4">
      <h3 className="text-title-lg">
        The Quiet, Yet Powerful Healthcare Revolution
      </h3>

      <h3 className="text-title-md">
        The Quiet, Yet Powerful Healthcare Revolution
      </h3>

      <h3 className="text-title-sm">
        The Quiet, Yet Powerful Healthcare Revolution
      </h3>
    </div>
  )
}

Body

Body styles are used for longer passages of text.

The general consensus is that artists using aigital turntables are just pushing random buttons when they perform live. But is that true? In the DMC Championships it’s obvious that some artists are putting their various honed skills on display. Most of the scorn for solo performers comes from the many who headline huge festivals. There must be some specialty skill they do in their performance to explain their million-dollar fees.

The general consensus is that artists using aigital turntables are just pushing random buttons when they perform live. But is that true? In the DMC Championships it’s obvious that some artists are putting their various honed skills on display. Most of the scorn for solo performers comes from the many who headline huge festivals. There must be some specialty skill they do in their performance to explain their million-dollar fees.

The general consensus is that artists using aigital turntables are just pushing random buttons when they perform live. But is that true? In the DMC Championships it’s obvious that some artists are putting their various honed skills on display. Most of the scorn for solo performers comes from the many who headline huge festivals. There must be some specialty skill they do in their performance to explain their million-dollar fees.

export function BodyExamples() {
  return (
    <div className="space-y-4">
      <p className="text-body-lg">
        The general consensus is that artists using aigital turntables are just
        pushing random buttons when they perform live. But is that true? In the
        DMC Championships it's obvious that some artists are putting their
        various honed skills on display. Most of the scorn for solo performers
        comes from the many who headline huge festivals. There must be some
        specialty skill they do in their performance to explain their
        million-dollar fees.
      </p>

      <p className="text-body-md">
        The general consensus is that artists using aigital turntables are just
        pushing random buttons when they perform live. But is that true? In the
        DMC Championships it's obvious that some artists are putting their
        various honed skills on display. Most of the scorn for solo performers
        comes from the many who headline huge festivals. There must be some
        specialty skill they do in their performance to explain their
        million-dollar fees.
      </p>

      <p className="text-body-sm">
        The general consensus is that artists using aigital turntables are just
        pushing random buttons when they perform live. But is that true? In the
        DMC Championships it's obvious that some artists are putting their
        various honed skills on display. Most of the scorn for solo performers
        comes from the many who headline huge festivals. There must be some
        specialty skill they do in their performance to explain their
        million-dollar fees.
      </p>
    </div>
  )
}

Label

Label styles are smaller, utilitarian styles, used for things like the text inside components or for very small text in the content body, such as captions.

Newsletter

Newsletter

Newsletter

export function LabelExamples() {
  return (
    <div className="space-y-4">
      <p className="text-label-lg">Newsletter</p>

      <p className="text-label-md">Newsletter</p>

      <p className="text-label-sm">Newsletter</p>
    </div>
  )
}