Read a Wisty UI example
get_exampleGet the code of one example of a Wisty UI item, for the project's base: a complete, working use you can adapt. Without example, the first one, which shows the job the item is for. A page block's first example is the files its install writes, the page first; any other example that imports its item's own files, like its sample data, is followed by them. get_component lists each item's examples by name.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The item's name, like "lookup", as search_components and list_components give it. | |
| style | No | The "style" field of the project's components.json, like "radix-nova" or "base-nova". It picks the Radix or Base UI version. Leave it out for the Radix version. | |
| example | No | The example's name, like "default". |