MCPcopy Create free account
hub / github.com/SyntaxUI/syntaxui / Eyebrow

Function Eyebrow

src/components/Heading.tsx:25–41  ·  view source on GitHub ↗
({ tag, label }: { tag?: string; label?: string })

Source from the content-addressed store, hash-verified

23}
24
25function Eyebrow({ tag, label }: { tag?: string; label?: string }) {
26 if (!tag && !label) {
27 return null
28 }
29
30 return (
31 <div className="flex items-center gap-x-3">
32 {tag && <Tag>{tag}</Tag>}
33 {tag && label && (
34 <span className="h-0.5 w-0.5 rounded-full bg-zinc-300 dark:bg-zinc-600" />
35 )}
36 {label && (
37 <span className="font-mono text-xs text-zinc-400">{label}</span>
38 )}
39 </div>
40 )
41}
42
43function Anchor({
44 id,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected