Get a component
mzizi_get_componentFetch one component in full, Rust first. When the component has a Mzizi Roots (Rust) implementation, rust comes first (Roots' crates are built on Dioxus 0.7 today and are moving to Mzizi's own renderer): its crate, the cargo add line, its CONTRACT clause block and the .rs source inline. astro follows when the component has a pure Astro implementation (mzizi-registry#397): its mzizi add --target astro line, the files it installs into src/components/mzizi/ and their dependencies; null otherwise. react follows: the React build (deprioritised; it keeps working, new work goes to Rust), shadcn-shaped with files[] inline and its npx shadcn add line. With no Rust, rust is null and lead is "react". Add docs (use cases, variants, a11y: the documented contract) and version history (from the changelog) with include. Former nyuchi-* names resolve to their mzizi-* successors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name, e.g. 'button'. | |
| include | No | Extra sections to fetch. Omit for the implementations only. |