[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EVGEY8MYCP3BMFPMT4G87C":3,"skill-same:01M6EVGEY8MYCP3BMFPMT4G87C":73},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":47,"repositoryHtmlUrl":48,"repositoryHomepageUrl":49,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6EVGEY8MYCP3BMFPMT4G87C","widgets-ui",null,"\"Declarative UI widgets from JSON for React\u002FNext.js from ui.inference.sh. Render rich interactive UIs from structured agent responses. Capabilities: forms, buttons, cards, layouts, inputs, selects, checkboxes. Use for: agent-generated UIs, dynamic forms, data display, interactive cards. Triggers: widgets, declarative ui, json ui, widget renderer, agent widgets,\"  dynamic ui, form widgets, card widgets, shadcn widgets, structured output ui","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Finference-sh-9\u002Fwidgets-ui\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"widgets ui","ui","widgets","next","output","render","form","card","structured output","triggers","widget","react","forms","use","generated","interactive","json","Next.js","data","capabilities","2026-11-10 10:12:30",false,"---\nname: widgets-ui\ndescription: \"\\\"Declarative UI widgets from JSON for React\u002FNext.js from ui.inference.sh. Render rich interactive UIs from structured agent responses. Capabilities: forms, buttons, cards, layouts, inputs, selects, checkboxes. Use for: agent-generated UIs, dynamic forms, data display, interactive cards. Triggers: widgets, declarative ui, json ui, widget renderer, agent widgets,\\\"  dynamic ui, form widgets, card widgets, shadcn widgets, structured output ui\"\n---\n\n# Widget Renderer\n\nDeclarative UI from JSON via [ui.inference.sh](https:\u002F\u002Fui.inference.sh).\n\n![Widget Renderer](https:\u002F\u002Fcloud.inference.sh\u002Fu\u002F33sqbmzt3mrg2xxphnhw5g5ear\u002F01kah2rcteycyxw8ffmtpq1zec.png)\n\n## Quick Start\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Fui.inference.sh\u002Fr\u002Fwidgets.json\n```\n\n## Basic Usage\n\n```tsx\nimport { WidgetRenderer } from \"@\u002Fregistry\u002Fblocks\u002Fwidgets\u002Fwidget-renderer\"\nimport type { Widget, WidgetAction } from \"@\u002Fregistry\u002Fblocks\u002Fwidgets\u002Ftypes\"\n\nconst widget: Widget = {\n  type: 'ui',\n  title: 'My Widget',\n  children: [\n    { type: 'text', value: 'Hello World' },\n    { type: 'button', label: 'Click me', onClickAction: { type: 'click' } },\n  ],\n}\n\n\u003CWidgetRenderer\n  widget={widget}\n  onAction={(action, formData) => console.log(action, formData)}\n\u002F>\n```\n\n## Widget Types\n\n### Layout\n\n```json\n{ \"type\": \"row\", \"gap\": 2, \"children\": [...] }\n{ \"type\": \"col\", \"gap\": 2, \"children\": [...] }\n{ \"type\": \"box\", \"background\": \"gradient-ocean\", \"padding\": 4, \"radius\": \"lg\", \"children\": [...] }\n```\n\n### Typography\n\n```json\n{ \"type\": \"title\", \"value\": \"Heading\", \"size\": \"2xl\", \"weight\": \"bold\" }\n{ \"type\": \"text\", \"value\": \"Body text\", \"variant\": \"bold\" }\n{ \"type\": \"caption\", \"value\": \"Small text\" }\n{ \"type\": \"label\", \"value\": \"Field label\", \"fieldName\": \"email\" }\n```\n\n### Interactive\n\n```json\n{ \"type\": \"button\", \"label\": \"Submit\", \"variant\": \"default\", \"onClickAction\": { \"type\": \"submit\" } }\n{ \"type\": \"input\", \"name\": \"email\", \"placeholder\": \"Enter email\" }\n{ \"type\": \"textarea\", \"name\": \"message\", \"placeholder\": \"Your message\" }\n{ \"type\": \"select\", \"name\": \"plan\", \"options\": [{ \"value\": \"pro\", \"label\": \"Pro\" }] }\n{ \"type\": \"checkbox\", \"name\": \"agree\", \"label\": \"I agree\", \"defaultChecked\": false }\n```\n\n### Display\n\n```json\n{ \"type\": \"badge\", \"label\": \"New\", \"variant\": \"secondary\" }\n{ \"type\": \"icon\", \"iconName\": \"check\", \"size\": \"lg\" }\n{ \"type\": \"image\", \"src\": \"https:\u002F\u002F...\", \"alt\": \"Image\", \"width\": 100, \"height\": 100 }\n{ \"type\": \"divider\" }\n```\n\n## Example: Flight Card\n\n```tsx\nconst flightWidget: Widget = {\n  type: 'ui',\n  children: [\n    {\n      type: 'box', background: 'gradient-ocean', padding: 4, radius: 'lg', children: [\n        {\n          type: 'row', justify: 'between', children: [\n            {\n              type: 'col', gap: 1, children: [\n                { type: 'caption', value: 'departure' },\n                { type: 'title', value: 'SFO', size: '2xl', weight: 'bold' },\n              ]\n            },\n            { type: 'icon', iconName: 'plane', size: 'lg' },\n            {\n              type: 'col', gap: 1, align: 'end', children: [\n                { type: 'caption', value: 'arrival' },\n                { type: 'title', value: 'JFK', size: '2xl', weight: 'bold' },\n              ]\n            },\n          ]\n        },\n      ]\n    },\n  ],\n}\n```\n\n## Example: Form\n\n```tsx\nconst formWidget: Widget = {\n  type: 'ui',\n  title: 'Contact Form',\n  asForm: true,\n  children: [\n    {\n      type: 'col', gap: 3, children: [\n        { type: 'input', name: 'name', placeholder: 'Your name' },\n        { type: 'input', name: 'email', placeholder: 'Email address' },\n        { type: 'textarea', name: 'message', placeholder: 'Message' },\n        { type: 'button', label: 'Send', variant: 'default', onClickAction: { type: 'submit' } },\n      ]\n    },\n  ],\n}\n```\n\n## Gradients\n\n| Name | Description |\n|------|-------------|\n| `gradient-ocean` | Blue teal gradient |\n| `gradient-sunset` | Orange pink gradient |\n| `gradient-purple` | Purple gradient |\n| `gradient-cool` | Cool blue gradient |\n| `gradient-midnight` | Dark blue gradient |\n\n## Handling Actions\n\n```tsx\nconst handleAction = (action: WidgetAction, formData?: WidgetFormData) => {\n  switch (action.type) {\n    case 'submit':\n      console.log('Form data:', formData)\n      break\n    case 'click':\n      console.log('Button clicked')\n      break\n  }\n}\n```\n\n## Related Skills\n\n```bash\n# Full agent component\nnpx skills add inference-sh\u002Fskills@agent-ui\n\n# Chat UI blocks\nnpx skills add inference-sh\u002Fskills@chat-ui\n\n# Tool UI\nnpx skills add inference-sh\u002Fskills@tools-ui\n```\n\n## Documentation\n\n- [Widgets Overview](https:\u002F\u002Finference.sh\u002Fdocs\u002Fagents\u002Fwidgets\u002Foverview) - Understanding widgets\n- [Widget Schema](https:\u002F\u002Finference.sh\u002Fdocs\u002Fagents\u002Fwidgets\u002Fschema) - Widget JSON structure\n- [Agents That Generate UI](https:\u002F\u002Finference.sh\u002Fblog\u002Fux\u002Fgenerative-ui) - Building generative UIs\n\nComponent docs: [ui.inference.sh\u002Fblocks\u002Fwidgets](https:\u002F\u002Fui.inference.sh\u002Fblocks\u002Fwidgets)\n","# Widget Renderer\n\nDeclarative UI from JSON via [ui.inference.sh](https:\u002F\u002Fui.inference.sh).\n\n![Widget Renderer](https:\u002F\u002Fcloud.inference.sh\u002Fu\u002F33sqbmzt3mrg2xxphnhw5g5ear\u002F01kah2rcteycyxw8ffmtpq1zec.png)\n\n## Quick Start\n\n```bash\nnpx shadcn@latest add https:\u002F\u002Fui.inference.sh\u002Fr\u002Fwidgets.json\n```\n\n## Basic Usage\n\n```tsx\nimport { WidgetRenderer } from \"@\u002Fregistry\u002Fblocks\u002Fwidgets\u002Fwidget-renderer\"\nimport type { Widget, WidgetAction } from \"@\u002Fregistry\u002Fblocks\u002Fwidgets\u002Ftypes\"\n\nconst widget: Widget = {\n  type: 'ui',\n  title: 'My Widget',\n  children: [\n    { type: 'text', value: 'Hello World' },\n    { type: 'button', label: 'Click me', onClickAction: { type: 'click' } },\n  ],\n}\n\n\u003CWidgetRenderer\n  widget={widget}\n  onAction={(action, formData) => console.log(action, formData)}\n\u002F>\n```\n\n## Widget Types\n\n### Layout\n\n```json\n{ \"type\": \"row\", \"gap\": 2, \"children\": [...] }\n{ \"type\": \"col\", \"gap\": 2, \"children\": [...] }\n{ \"type\": \"box\", \"background\": \"gradient-ocean\", \"padding\": 4, \"radius\": \"lg\", \"children\": [...] }\n```\n\n### Typography\n\n```json\n{ \"type\": \"title\", \"value\": \"Heading\", \"size\": \"2xl\", \"weight\": \"bold\" }\n{ \"type\": \"text\", \"value\": \"Body text\", \"variant\": \"bold\" }\n{ \"type\": \"caption\", \"value\": \"Small text\" }\n{ \"type\": \"label\", \"value\": \"Field label\", \"fieldName\": \"email\" }\n```\n\n### Interactive\n\n```json\n{ \"type\": \"button\", \"label\": \"Submit\", \"variant\": \"default\", \"onClickAction\": { \"type\": \"submit\" } }\n{ \"type\": \"input\", \"name\": \"email\", \"placeholder\": \"Enter email\" }\n{ \"type\": \"textarea\", \"name\": \"message\", \"placeholder\": \"Your message\" }\n{ \"type\": \"select\", \"name\": \"plan\", \"options\": [{ \"value\": \"pro\", \"label\": \"Pro\" }] }\n{ \"type\": \"checkbox\", \"name\": \"agree\", \"label\": \"I agree\", \"defaultChecked\": false }\n```\n\n### Display\n\n```json\n{ \"type\": \"badge\", \"label\": \"New\", \"variant\": \"secondary\" }\n{ \"type\": \"icon\", \"iconName\": \"check\", \"size\": \"lg\" }\n{ \"type\": \"image\", \"src\": \"https:\u002F\u002F...\", \"alt\": \"Image\", \"width\": 100, \"height\": 100 }\n{ \"type\": \"divider\" }\n```\n\n## Example: Flight Card\n\n```tsx\nconst flightWidget: Widget = {\n  type: 'ui',\n  children: [\n    {\n      type: 'box', background: 'gradient-ocean', padding: 4, radius: 'lg', children: [\n        {\n          type: 'row', justify: 'between', children: [\n            {\n              type: 'col', gap: 1, children: [\n                { type: 'caption', value: 'departure' },\n                { type: 'title', value: 'SFO', size: '2xl', weight: 'bold' },\n              ]\n            },\n            { type: 'icon', iconName: 'plane', size: 'lg' },\n            {\n              type: 'col', gap: 1, align: 'end', children: [\n                { type: 'caption', value: 'arrival' },\n                { type: 'title', value: 'JFK', size: '2xl', weight: 'bold' },\n              ]\n            },\n          ]\n        },\n      ]\n    },\n  ],\n}\n```\n\n## Example: Form\n\n```tsx\nconst formWidget: Widget = {\n  type: 'ui',\n  title: 'Contact Form',\n  asForm: true,\n  children: [\n    {\n      type: 'col', gap: 3, children: [\n        { type: 'input', name: 'name', placeholder: 'Your name' },\n        { type: 'input', name: 'email', placeholder: 'Email address' },\n        { type: 'textarea', name: 'message', placeholder: 'Message' },\n        { type: 'button', label: 'Send', variant: 'default', onClickAction: { type: 'submit' } },\n      ]\n    },\n  ],\n}\n```\n\n## Gradients\n\n| Name | Description |\n|------|-------------|\n| `gradient-ocean` | Blue teal gradient |\n| `gradient-sunset` | Orange pink gradient |\n| `gradient-purple` | Purple gradient |\n| `gradient-cool` | Cool blue gradient |\n| `gradient-midnight` | Dark blue gradient |\n\n## Handling Actions\n\n```tsx\nconst handleAction = (action: WidgetAction, formData?: WidgetFormData) => {\n  switch (action.type) {\n    case 'submit':\n      console.log('Form data:', formData)\n      break\n    case 'click':\n      console.log('Button clicked')\n      break\n  }\n}\n```\n\n## Related Skills\n\n```bash\n# Full agent component\nnpx skills add inference-sh\u002Fskills@agent-ui\n\n# Chat UI blocks\nnpx skills add inference-sh\u002Fskills@chat-ui\n\n# Tool UI\nnpx skills add inference-sh\u002Fskills@tools-ui\n```\n\n## Documentation\n\n- [Widgets Overview](https:\u002F\u002Finference.sh\u002Fdocs\u002Fagents\u002Fwidgets\u002Foverview) - Understanding widgets\n- [Widget Schema](https:\u002F\u002Finference.sh\u002Fdocs\u002Fagents\u002Fwidgets\u002Fschema) - Widget JSON structure\n- [Agents That Generate UI](https:\u002F\u002Finference.sh\u002Fblog\u002Fux\u002Fgenerative-ui) - Building generative UIs\n\nComponent docs: [ui.inference.sh\u002Fblocks\u002Fwidgets](https:\u002F\u002Fui.inference.sh\u002Fblocks\u002Fwidgets)\n",{"name":5,"description":7},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Finference-sh-9\u002Fwidgets-ui",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill widgets-ui",{"tool":59,"command":60},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill widgets-ui",{"tool":62,"command":63},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill widgets-ui","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Finference-sh-9\u002Fwidgets-ui\u002FSKILL.md",true,[67],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"skill-report.json","REFERENCE","参考文档",8274,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Finference-sh-9\u002Fwidgets-ui\u002Fskill-report.json",[74,83,92,101,107,113],{"skillNo":75,"name":76,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":39},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[80,81,82],"model","model hierarchy","model hierarchy skill",{"skillNo":84,"name":85,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":39},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[89,90,91],"MCP","zoom","zoom mcp",{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":39},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[98,99,100,90],"sdk","zoom apps sdk","apps",{"skillNo":102,"name":103,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":39},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[103],{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":39},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[109],{"skillNo":114,"name":115,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":39},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[115]]