CodeBlock

Syntax-highlighted code display with copy button.

Data DisplayTailwind CSS

Overview

Syntax-highlighted code display with copy button.

Preview

example.tsx
const greeting = "Hello, World!";
console.log(greeting);

Usage

html
<!-- Tailwind CSS pattern - copy the HTML/classes below -->

Class Variations

No class variations documented for this pattern.

Guidelines

No specific guidelines documented for this component yet.

Examples

Default

example.tsx
const greeting = "Hello, World!";
console.log(greeting);

Inline Code

Run npm install to install dependencies.

Related Components