This is a heading.
The heading element makes text look like a title or heading. Inside of a content element, it is applied to the
It makes the text larger (
3xl), semibold, and applies tight leading.
Spacing — Unless used inside a content element, the heading element defines no margin. That means that you’ll need to manually position it inside your layout.
The heading has full contextual tone and priority support.
Use with heading (
<h2>, etc.) elements. Using the
.heading element on heading tags will help screenreaders and other assistive technologies better represent your content.
Don't use color to communicate. Instead, use color to support information you communicate through text. When this isn't possible, be sure to use a
Be mindful of contrast. What looks good to you may not be readable for others. Text contrast is a good thing!
Support all navigation modes. Some people will interact with your interface using assitive technologies and/or a keyboard. Build your interface with these different modes in mind (for example, by setting the `tab-index` attribute on all interactive elements that aren't interactive by default).