MCPcopy Create free account
hub / github.com/QuantiaAI/helm-agents / SectionLabel

Function SectionLabel

apps/web/src/components/SectionLabel.tsx:4–22  ·  view source on GitHub ↗
({
  children,
  index,
  className = "",
}: {
  children: React.ReactNode;
  index?: string | number;
  className?: string;
})

Source from the content-addressed store, hash-verified

2// optionally prefixed with an index (`01 / …`). Used to head every section so
3// the page reads as a structured terminal document. (design system §01 / §06)
4export function SectionLabel({
5 children,
6 index,
7 className = "",
8}: {
9 children: React.ReactNode;
10 index?: string | number;
11 className?: string;
12}) {
13 return (
14 <div className={`flex items-center gap-2.5 ${className}`}>
15 <span className="inline-block h-0.5 w-4 bg-helm-accent" aria-hidden="true" />
16 <span className="font-mono text-[11px] uppercase tracking-[0.25em] text-helm-faint">
17 {index != null && <span className="text-helm-faint">{index} / </span>}
18 {children}
19 </span>
20 </div>
21 );
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected