Playground
Interactive preview component that embeds editable, runnable SlexKit or Markdown source previews inside a page.
Usage Notes
- Use for runnable examples in documentation, interactive demos, and source code teaching.
- Not suitable for ordinary component rendering (use layout components directly).
- Related components:
code-blockfor read-only code display. - Nested source is rendered in an isolated scope — it does not conflict with the parent namespace.
- Use Playground for documentation and teaching surfaces, not product UI.
- Public fields cover source parsing, preview placement, theme toggle controls, labels, and open/copy URLs.
domain,pluginVersion, andversionare host integration metadata, not public component fields.