Heading
Heading is used to display headlines and other forms of hierarchical Text. Headings are similar to the base Text component, but restricted to certain sizes and font weight.
- On this page
Properties
size
The size and type of Heading to be used. Denotes hierarchy.
"2xl" | "xl" | "lg" | "md" | "sm" | "xs"
color
The Dracula UI color to be applied to the Heading.
"purpleCyan" | "yellowPink" | "cyanGreen" | "pinkPurple" | "cyan" | "green" | "orange" | "pink" | "purple" | "red" | "yellow" | "white" | "black" | "blackSecondary" | "blackLight"
as
The HTML element to be used
keyof HTMLElementTagNameMap