Code

Inline code, using the native <code> element.

Standalone

<link rel="stylesheet" href="https://esm.sh/@erikt/ui/code.css" />

Default

console.log("hello")
<code>console.log("hello")</code>

Inline

When nested inside a paragraph, <code> is styled automatically without any class names.

Use border-radius to round the corners of an element.

<p>Use <code>border-radius</code> to round the corners of an element.</p>

Search 5021 icons

Type a name to find icons from the Tabler icon set.

      Move Open Esc Close