Skip to main content
The HTML component renders arbitrary HTML with support for CSS and JavaScript.

Basic usage

Constructor

str | Callable | None
default:"None"
HTML content to display
str | None
default:"None"
Label for the component
bool
default:"True"
Whether component is visible

Events

  • change - Triggered when HTML content changes

Examples

With inline CSS

Interactive content