import { Code } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "inline" | "block" | "inline" | Inline <code> or block <pre><code> |
variantType
"inline" | "block"Default "inline"Inline <code> or block <pre><code>
MobileWorks As-Is
Code blocks use overflow-x-auto for long lines. Works on mobile without modification.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?