Code block
a monospaced block with a language label and a one-click copy button.
Anatomy
bash
npm install @design-foundry/lucent-angular 1 host .lucent-code-block
2 .lucent-code-block__header holds the language and the copy button
3 .lucent-code-block__body is the <pre><code>
Using it
API
Theming
Color (3)
Size & spacing (3)
Border & radius (2)