{ "name": "card", "snippet": null, "examples": [ { "name": "card-basic", "content": "export const CardBasic = () => {\n return (\n \n \n \n \n \n \n Nue Camp\n \n This is the card body. Lorem ipsum dolor sit amet, consectetur\n adipiscing elit. Curabitur nec odio vel dui euismod fermentum.\n Curabitur nec odio vel dui euismod fermentum.\n \n \n \n \n \n \n \n )\n}\n", "hasSnippet": false, "importPaths": [ "import { Avatar, Button, Card } from \"@chakra-ui/react\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"" }, { "name": "card-horizontal", "content": "export const CardHorizontal = () => (\n \n \n \n \n The perfect latte\n \n Caffè latte is a coffee beverage of Italian origin made with espresso\n and steamed milk.\n \n \n Hot\n Caffeine\n \n \n \n \n \n \n \n)\n", "hasSnippet": false, "importPaths": [ "import { Badge, Box, Button, Card, HStack, Image } from \"@chakra-ui/react\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"" }, { "name": "card-with-avatar", "content": "export const CardWithAvatar = () => {\n return (\n \n \n \n \n \n \n \n \n \n Nate Foss\n \n \n @natefoss\n \n \n \n \n Nate Foss \n has requested to join your team. You can approve or decline their\n request.\n \n \n \n \n \n \n \n )\n}\n", "hasSnippet": false, "importPaths": [ "import {\n Avatar,\n Button,\n Card,\n HStack,\n Stack,\n Strong,\n Text,\n} from \"@chakra-ui/react\"", "import { LuCheck, LuX } from \"react-icons/lu\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"", "npmDependencies": [ "react-icons" ] }, { "name": "card-with-form", "content": "export const CardWithForm = () => (\n \n \n Sign up\n \n Fill in the form below to create an account\n \n \n \n \n \n First Name\n \n \n \n Last Name\n \n \n \n \n \n \n \n \n \n)\n", "hasSnippet": false, "importPaths": [ "import { Button, Card, Field, Input, Stack } from \"@chakra-ui/react\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"" }, { "name": "card-with-image", "content": "export const CardWithImage = () => {\n return (\n \n \n \n Living room Sofa\n \n This sofa is perfect for modern tropical spaces, baroque inspired\n spaces.\n \n \n $450\n \n \n \n \n \n \n \n )\n}\n", "hasSnippet": false, "importPaths": [ "import { Button, Card, Image, Text } from \"@chakra-ui/react\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"" }, { "name": "card-with-sizes", "content": "export const CardWithSizes = () => {\n return (\n \n \n \n Card - sm\n \n \n This is the card body. Lorem ipsum dolor sit amet, consectetur\n adipiscing elit.\n \n \n\n \n \n Card - md\n \n \n This is the card body. Lorem ipsum dolor sit amet, consectetur\n adipiscing elit.\n \n \n\n \n \n Card - lg\n \n \n This is the card body. Lorem ipsum dolor sit amet, consectetur\n adipiscing elit.\n \n \n \n )\n}\n", "hasSnippet": false, "importPaths": [ "import { Card, Heading, Stack } from \"@chakra-ui/react\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"" }, { "name": "card-with-variants", "content": "export const CardWithVariants = () => {\n return (\n \n \n {(variant) => (\n \n \n \n \n \n \n Nue Camp\n \n This is the card body. Lorem ipsum dolor sit amet, consectetur\n adipiscing elit.\n \n \n \n \n \n \n \n )}\n \n \n )\n}\n", "hasSnippet": false, "importPaths": [ "import { Avatar, Button, Card, For, Stack } from \"@chakra-ui/react\"" ], "importPath": "import { Card } from \"@chakra-ui/react\"" } ] }