Code
Code is a component used to display inline code.
Installation
npx nextui-cli@latest add code
The above command is for individual installation only. You may skip this step if @nextui-org/react
is already installed globally.
Import
Usage
Sizes
Colors
API
Code Props
Prop | Type | Default |
children |
| |
size |
| "sm" |
color |
| "default" |
radius |
| "sm" |