Content

SectHead

The $ command rule that opens a section, over a dashed line with meta on the right. The row wraps and each half stays whole.

view .md
Preview
ls ./work --featured4 projects
cat ./off-the-clockupdated today
Installation
terminal
bash
npx @entrepta/cli@latest add sect-head

// Resolves dependencies, copies the source, and installs npm packages automatically.

Usage
sect-head.tsx
tsx
import { SectHead } from "@/components/entrepta/sect-head"

<SectHead id="work" cmd="ls ./work --featured" meta="4 projects" />
Props
PropTypeDefaultDescription
cmdstring-The command after the $
metaReactNode-Right side
idstring-Put on the heading, for anchors
as"h2" | "h3" | "span""h2"Heading level
Active theme: entrepta, dark mode.