Code highlights short strings of code snippets inline with body text.
Import
import {Code} from '@fuegokit/react'
Usage
Props
Code
| Name | Type | Default | Description |
|---|---|---|---|
| children | React.ReactNode | Content to be rendered in the inline code block. | |
| sx | SystemStyleObject | Style overrides to apply to the component. See also overriding styles. |
Accessibility
When overriding default styles, remember to ensure that code is readable for all users.