Skip to content

Button component

This example uses data-preview-only to hide the code tab.

In this way, we are free to use the shikijs transformers.

templ
templ ButtonDemo() {
  @button("Click me") // [!code focus]
}

Released under the MIT License.