Get component
get_componentFetch any tkh-components UI component by name in spec, HTML, CSS, JS, bundle, standalone, or raw format, and override default props.
Instructions
Get one component. format: "spec" (props schema + defaults), "html" (rendered markup), "css", "js", "bundle" (html+css+js, default), "standalone" (full HTML doc with base styles, ready to open), or "raw" (original markup captured from theknowledgehouse.org). Pass props to override the default content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| props | No | Prop overrides. Call with format "spec" to see the available props. | |
| format | No | bundle |