Codeblock

A component for displaying highlighted code.

Usage

With clipboard

Without clipboard

Custom message

Copy the code to see the message

Components

ComponentBuilt usingSource
PhlexUI::Codeblock
Phlex
ClipboardController
Stimulus JS