--- title: Heading description: "`Heading` is a component that represents section headings. By default, it renders an `h1` element." links: - style: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/heading/heading.style.ts - source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/heading - storybook: https://yamada-ui.github.io/yamada-ui?path=/story/components-heading--basic --- ```tsx ギャルのパンティーおくれーーーっ!!!!! ``` ## Usage ```tsx import { Heading } from "@yamada-ui/react" ``` ```tsx import { Heading } from "@/components/ui" ``` ```tsx import { Heading } from "@workspaces/ui" ``` ```tsx ``` ## Change Size ```tsx {({ as, size }, index) => ( ギャルのパンティーおくれーーーっ!!!!! )} ``` ## Add Gradient ```tsx クリリンのことか……クリリンのことかーーーっ!!!!! ``` ## Props | Prop | Default | Type | Description | | ------------- | ------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------ | | `as` | - | `As` | The HTML element to render. | | `asChild` | - | `boolean` | Merges its props onto its immediate child. | | `css` | - | `CSSObject \| CSSObject[]` | The CSS object. | | `colorScheme` | - | `"amber" \| "black" \| "blackAlpha" \| "blue" \| "cyan" \| "danger" \| "emerald" \| "error" \| "flashy" \| "fuchsia" ...` | Set color scheme variables. | | `size` | `"4xl"` | `"2xl" \| "3xl" \| "4xl" \| "5xl" \| "6xl" \| "7xl" \| "8xl" \| "9xl" \| "lg" \| "md" ...` | The size of the component. |