The visual color appearance of the component
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
colorSchemeDescription
Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"Default
graysize
sizeDescription
The size of the Code
Type
stringvariant
variantDescription
The variant of the Code
Type
"solid" | "subtle" | "outline"Default
subtleProps#
colorScheme
colorSchemeDescription
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
graysize
sizeDescription
The size of the Code
Type
stringvariant
variantDescription
The variant of the Code
Type
"solid" | "subtle" | "outline"Default
subtle// TODO