{
"name": "heading",
"snippet": null,
"examples": [
{
"name": "heading-basic",
"content": "export const HeadingBasic = () => {\n return The quick brown fox jumps over the lazy dog\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Heading } from \"@chakra-ui/react\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\""
},
{
"name": "heading-with-as-prop",
"content": "export const HeadingWithAsProp = () => {\n return (\n \n Level 1\n Level 2\n Level 3\n \n )\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Heading, Stack } from \"@chakra-ui/react\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\""
},
{
"name": "heading-with-composition",
"content": "export const HeadingWithComposition = () => {\n return (\n \n Modern payments for Stores\n \n PayMe helps startups get paid by anyone, anywhere in the world\n \n \n \n )\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Button, Heading, Stack, Text } from \"@chakra-ui/react\"",
"import { LuArrowRight } from \"react-icons/lu\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\"",
"npmDependencies": [
"react-icons"
]
},
{
"name": "heading-with-gradient",
"content": "export const HeadingWithGradient = () => {\n return (\n \n The quick brown fox jumps over the lazy dog\n \n )\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Heading } from \"@chakra-ui/react\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\""
},
{
"name": "heading-with-highlight",
"content": "export const HeadingWithHighlight = () => {\n return (\n \n \n \n Create accessible React apps with speed\n \n \n \n Chakra UI is a simple, modular and accessible component library that\n gives you the building blocks you need.\n \n \n )\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Heading, Highlight, Stack, Text } from \"@chakra-ui/react\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\""
},
{
"name": "heading-with-sizes",
"content": "export const HeadingWithSizes = () => {\n return (\n \n Heading (sm)\n Heading (md)\n Heading (lg)\n Heading (xl)\n Heading (2xl)\n Heading (3xl)\n Heading (4xl)\n Heading (5xl)\n Heading (6xl)\n \n )\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Heading, Stack } from \"@chakra-ui/react\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\""
},
{
"name": "heading-with-weights",
"content": "export const HeadingWithWeights = () => {\n return (\n \n Normal\n Medium\n Semibold\n Bold\n \n )\n}\n",
"hasSnippet": false,
"importPaths": [
"import { Heading, Stack } from \"@chakra-ui/react\""
],
"importPath": "import { Heading } from \"@chakra-ui/react\""
}
]
}