sigilUI

Install Section

Split-layout install section with multiple copyable commands and package manager tabs.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { InstallSection } from "@sigil-ui/components";

Usage

<InstallSection
  label="Install"
  title="Get started"
  description="Add Sigil to your project in seconds."
  note="Requires React 18+ and Tailwind CSS v4."
  commands={[
    { label: "npm", command: "npm install @sigil-ui/components" },
    { label: "pnpm", command: "pnpm add @sigil-ui/components" },
    { label: "yarn", command: "yarn add @sigil-ui/components" },
  ]}
/>

Props

PropTypeDefaultDescription
labelstring—Uppercase mono label
titlestring"Get started"Section heading
descriptionstring—Supporting text
notestring—Small mono footnote below description
commandsInstallCommand[]requiredArray of { label, command }
classNamestring—Additional CSS classes

Each command block includes a copy-to-clipboard button. Plus all standard <section> HTML attributes.