Create a GridItem



    Chakra snippets

    The above code creates a GridItem that will use the flex-start alignItems attribute and will have a spacing of 2.

    Library: @chakra-ui/react

    import { Grid } from "@chakra-ui/react";
    <GridItem as={VStack} spacing={2} alignItems="flext-start">
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.