InstallBlock
stableCode block with copy-to-clipboard for install commands
import { InstallBlock } from "@nodus/design-system"Loading demo…
Props
| Prop | Type | Default | Description |
|---|---|---|---|
command | string | "npm install @nodus/design-system" | Install command to display |
commandType
stringDefault "npm install @nodus/design-system"Install command to display
MobileTouch Target
Copy-code button must be ≥44px. Long install commands use overflow-x-auto on mobile.
Design Rationale
This component was designed to express:
Explore Related
Was this helpful?