{"id":"ui--yuiComponentMetadata","name":"yuiComponentMetadata","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiComponentMetadata","description":"A yui component metadata record carrying name, role, propertySchema, childRule, defaults, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"name","kind":"field","type":"text","description":"Stores name as text.","signature":"text name","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"role","kind":"field","type":"text","description":"Stores role as text.","signature":"text role","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"propertySchema","kind":"field","type":"text","description":"Stores property schema as text.","signature":"text propertySchema","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"childRule","kind":"field","type":"text","description":"Stores child rule as text.","signature":"text childRule","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"defaults","kind":"field","type":"text","description":"Stores defaults as text.","signature":"text defaults","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"designLabel","kind":"field","type":"text","description":"Stores design label as text.","signature":"text designLabel","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"custom","kind":"field","type":"bool","description":"Stores custom as bool.","signature":"bool custom","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiComponentMetadata","kind":"constructor","parameters":[{"name":"name","type":"text","description":"Name."},{"name":"role","type":"text","description":"Role."},{"name":"propertySchema","type":"text","description":"Property schema."},{"name":"childRule","type":"text","description":"Child rule."},{"name":"defaults","type":"text","description":"Defaults."},{"name":"source","type":"text","description":"Source."},{"name":"designLabel","type":"text","description":"Design label."},{"name":"custom","type":"bool","description":"Custom."}],"returns":"void","signature":"yuiComponentMetadata(text name, text role, text propertySchema, text childRule, text defaults, text source, text designLabel, bool custom)","description":"Yui component metadata.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-9","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/ui.yh","line":20,"sha256":"2745dad504552ce545dea2a953613be247f8b49f1b6712811e0a370cfa9e8575"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiComponentMetadata","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiComponentMetadata sample = yuiComponentMetadata(\"Nova\", \"role\", \"property Schema\", \"child Rule\", \"defaults\", \"example\", \"design Label\", true)\nConsole.Log(Text.From(sample.name))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicomponentmetadata\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"b10a921b66452ccfeba56d4950baa1fd5c770ca1ad16cb34515b6363827e9fce","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-9","title":"yuiComponentMetadata.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiComponentMetadata instance = yuiComponentMetadata(\"Nova\", \"role\", \"property Schema\", \"child Rule\", \"defaults\", \"example\", \"design Label\", true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicomponentmetadata\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"142c465154f403308c7201f7c84b756c986d4b7a63c08ffa457a42029833594f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["name","role","propertySchema","childRule","defaults","source","designLabel","custom","yuiComponentMetadata","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiComponentMetadata","json":"https://demonhunterlabs.com/reference/items/ui--yuiComponentMetadata.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiComponentMetadata.md"}
