Components › Display

Inline code

Highlight short commands, identifiers, and code inside a sentence.

Installation

npx plankui@latest add inline-code

Usage

import { InlineCode } from "@/components/ui/inline-code";

<InlineCode>data-theme="ember"</InlineCode>

API reference

PropTypeDefaultDescription
childrenReactNodeCode or command text.

View the source on GitHub