Get a document
get_componentRetrieve a Perfect UI 1.0.0 document by slug to get its full Markdown, HTML examples, and exact pui-* classes, so you can copy correct markup instead of writing classes from memory.
Instructions
The full Markdown of one Perfect UI 1.0.0 document, with its HTML examples and the pui-* classes they use. Copy markup from the examples instead of writing classes from memory. Names come from list_components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | document slug, for example button, modal or dark-mode |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | path in the library repository | |
| slug | Yes | ||
| title | Yes | ||
| classes | Yes | pui-* classes used in the examples | |
| section | Yes | ||
| version | Yes | ||
| examples | Yes | the document's html code blocks | |
| markdown | Yes | ||
| description | Yes |