Heading
Headingは、セクションの見出しを表すコンポーネントです。デフォルトでは、h1要素をレンダリングします。
ギャルのパンティーおくれーーーっ!!!!!
<Heading>ギャルのパンティーおくれーーーっ!!!!!</Heading>
使い方
import { Heading } from "@yamada-ui/react"
import { Heading } from "@/components/ui"
import { Heading } from "@workspaces/ui"
<Heading />
サイズを変更する
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
ギャルのパンティーおくれーーーっ!!!!!
<VStack>
<For
each={[
{ as: "h1", size: "4xl" },
{ as: "h2", size: "3xl" },
{ as: "h2", size: "2xl" },
{ as: "h3", size: "xl" },
{ as: "h3", size: "lg" },
{ as: "h4", size: "md" },
{ as: "h5", size: "sm" },
{ as: "h6", size: "xs" },
]}
>
{({ as, size }, index) => (
<Heading key={index} as={as} size={size} truncated>
ギャルのパンティーおくれーーーっ!!!!!
</Heading>
)}
</For>
</VStack>
グラデーションをつける
クリリンのことか……クリリンのことかーーーっ!!!!!
<Heading
size="2xl"
bgClip="text"
bgGradient="linear(to-l, #7928CA, #FF0080)"
truncated
w="full"
>
クリリンのことか……クリリンのことかーーーっ!!!!!
</Heading>