CodeBlock
Code display with optional filename header and copy button.
Example
globals.css
/* Tokens + component CSS — compiled by `npx toucan build` */
@import './css/toucan.css';Props
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
code | string | — | Required | Code content |
language | string | — | No | Language label |
filename | string | — | No | Filename shown in header |