Components › Display
Inline code
Highlight short commands, identifiers, and code inside a sentence.
Installation
npx plankui@latest add inline-codeUsage
import { InlineCode } from "@/components/ui/inline-code";
<InlineCode>data-theme="ember"</InlineCode>API reference
| Prop | Type | Default | Description |
|---|---|---|---|
| children | ReactNode | Code or command text. |