Widgets Ui
Skill by okaris
Why use this skill?
Transform agent responses into rich, interactive React UIs with Widgets UI. Use declarative JSON to render forms, cards, and layouts effortlessly.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/okaris/widgets-uiWhat This Skill Does
The Widgets UI skill by okaris allows your OpenClaw agent to break free from plain text responses by rendering rich, interactive user interfaces directly within the chat interface. By leveraging a declarative JSON schema, the agent can structure data into visual elements like buttons, inputs, cards, and layouts. This skill essentially enables the agent to function as a micro-application generator. When the agent receives a request for complex data, it can deliver a structured form, a selection grid, or a multi-part card layout that allows the user to interact with the system far more effectively than through standard text. The renderer is built on top of shadcn/ui, ensuring that the generated components look professional and consistent with modern React/Next.js design standards.
Installation
To integrate this skill into your environment, use the OpenClaw CLI:
clawhub install openclaw/skills/skills/okaris/widgets-ui
After installing the package, you will need to add the necessary component registry to your frontend project using the provided shadcn integration command:
npx shadcn@latest add https://ui.inference.sh/r/widgets.json
Ensure that you have set up the WidgetRenderer within your application's message display component to handle the incoming JSON payload and map it to the interactive UI elements.
Use Cases
This skill is ideal for tasks requiring structured input or visual data presentation. Use it for:
- Dynamic Form Generation: Creating survey forms or lead capture widgets on the fly based on user intent.
- Interactive Dashboards: Rendering compact data summaries, such as stock price cards or flight status updates, complete with action buttons.
- Contextual Navigation: Providing menu-based responses that allow users to select steps in a multi-stage workflow.
- Rich Data Entry: Replacing error-prone text prompts with dedicated input fields, selects, and checkboxes.
Example Prompts
- "Look up flight information for the next trip to Tokyo and present the results in a card format with a booking button."
- "Create a multi-step preference form for my new profile settings using checkboxes and text inputs."
- "Show me the status of the current server load as a dashboard and include a button to trigger a manual restart if needed."
Tips & Limitations
- Keep your JSON payloads lightweight to ensure fast rendering speeds in the chat interface.
- The skill requires a React/Next.js environment; it will not work in environments without standard DOM support.
- Always validate the JSON schema before sending it to the client to ensure the renderer can parse the components correctly.
- Avoid overly nesting layouts, as deeply nested components may impact mobile responsiveness and performance.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-okaris-widgets-ui": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
product-changelog
Product changelog and release notes that users actually read. Covers categorization, user-facing language, visuals, and distribution. Use for: release notes, changelogs, product updates, feature announcements, versioning. Triggers: changelog, release notes, product update, version notes, what's new, feature announcement, product changelog, update log, release announcement, version release, product release, ship notes
logo-design-guide
Logo design principles and AI image generation best practices for creating logos. Covers logo types, prompting techniques, scalability rules, and iteration workflows. Use for: brand identity, startup logos, app icons, favicons, logo concepts. Triggers: logo design, create logo, brand logo, logo generation, ai logo, logo maker, icon design, brand mark, logo concept, startup logo, app icon logo
ai-content-pipeline
Build multi-step AI content creation pipelines combining image, video, audio, and text. Workflow examples: generate image -> animate -> add voiceover -> merge with music. Tools: FLUX, Veo, Kokoro TTS, OmniHuman, media merger, upscaling. Use for: YouTube videos, social media content, marketing materials, automated content. Triggers: content pipeline, ai workflow, content creation, multi-step ai, content automation, ai video workflow, generate and edit, ai content factory, automated content creation, ai production pipeline, media pipeline, content at scale
explainer-video-guide
Explainer video production guide: scripting, voiceover, visuals, and assembly. Covers script formulas, pacing rules, scene planning, and multi-tool pipelines. Use for: product demos, how-it-works videos, onboarding videos, social explainers. Triggers: explainer video, how to make explainer, product video, demo video, video production, video script, animated explainer, product demo video, tutorial video, onboarding video, walkthrough video, video pipeline
newsletter-curation
Newsletter curation with content sourcing, editorial structure, and subscriber growth strategies. Covers issue formatting, link roundups, commentary style, and sending cadence. Use for: email newsletters, link roundups, weekly digests, curated content, creator newsletters. Triggers: newsletter, email newsletter, newsletter curation, weekly digest, link roundup, curated newsletter, newsletter writing, newsletter format, subscriber growth, newsletter strategy, content curation, newsletter template