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

Function Tag

src/components/Tag.tsx:3–13  ·  view source on GitHub ↗
({ children }: { children: string })

Source from the content-addressed store, hash-verified

1import clsx from 'clsx'
2
3export function Tag({ children }: { children: string }) {
4 return (
5 <span
6 className={clsx(
7 'text-[0.625rem] font-semibold uppercase text-red-500 ring-red-300 dark:text-red-400 dark:ring-red-400/30',
8 )}
9 >
10 {children}
11 </span>
12 )
13}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected