Code
Thin wrapper that renders an inline <code> element.
Preview
Run pnpm install to get started.
Import from @bambi-ui/code in your components.
Usage
import { Code } from "@bambi-ui/code";
<p>Run <Code>pnpm install</Code> to get started.</p> Props
| Prop | Type | Required | Description |
|---|---|---|---|
children | ReactNode | ✓ | Code content. |
className | string | — | Additional Tailwind classes or custom CSS class. |