Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

902 B
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.

/**
 * Small editorial primitives for the Guide surface.
 *
 * Eyebrow — the small pill above a chapter H1 ("Chapter III"). Register it in
 * mdx-components.tsx and use <Eyebrow> (capitalized — lowercase tags are treated
 * as plain HTML in MDX and won't resolve to a component).
 *
 * Usage in MDX:
 *   <Eyebrow>Chapter III</Eyebrow>
 *   # Run production
 */
import type { ReactNode } from "react";

export function Eyebrow({ children }: { children: ReactNode }) {
  return (
    <span className="not-prose mb-3 inline-flex items-center rounded-full border border-border px-3 py-1 text-xs font-medium tracking-wide text-muted-foreground">
      {children}
    </span>
  );
}