Code

Code is a component used to display inline code. It is composed from the Box component with a font family of `mono` for displaying code.

    Props#

    colorScheme

    Description

    The visual color appearance of the component

    Type
    "whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"
    Default
    gray

    size

    Description

    The size of the Code

    Type
    string

    variant

    Description

    The variant of the Code

    Type
    "solid" | "subtle" | "outline"
    Default
    subtle
    Edit this page on GitHub