Code Block Component

A component for presenting code samples with a language label and clipboard copy action.

Standard Examples

Common language presets used in documentation.

Interactive Example

Update the language label and content programmatically.

The component supports both inline content and programmatic updates through the value property.
Copy events will appear here.