# Code block

- Registry id: `code-block`
- Tier: Core
- Categories: data
- Dependencies: lucide-react, motion

Present code with legible hierarchy and copy access.

## Install

```bash
npx shadcn@latest add https://wui.alann.works/r/code-block.json
```

## Source

### `registry/components/code-block/code-block.tsx`

```tsx

```

### `registry/components/code-block/code-block.module.css`

```css

```

### `registry/components/copy-button/copy-button.tsx`

```tsx

```

### `registry/components/copy-button/copy-button.module.css`

```css

```

### `lib/use-copy-feedback.ts`

```tsx

```
