Skip to content
Primitives

Code

Inline code, bordered so it separates from the sentence.

import
import { Code } from '@joshicodes/cock';

Inline

Install with bun add @joshicodes/cock and import from '@joshicodes/cock'. Say it with confidence.

API

Read out of the component sources at build time, so it matches the version you installed. Every component also takes class, merged through tailwind-merge so your utility wins.

Props of Code

PropTypeDefault
class
string—

Snippets of Code

SnippetTypeDefault
children
Snippet—

See also

cock. Yes, it stands for core component kit. We checked twice.