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.

    Source@chakra-ui/layout

Props#

colorScheme

Description

The visual color appearance of the component

Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink"
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

Proudly made inNigeria by Segun Adebayo

Deployed by â–² Vercel