Agent skill Frontend
UI Components
Build or refine reusable components for a web interface.
Install the skill
Run the command from your project root with Node.js and npm.
npx skills@latest add https://github.com/yonatangross/orchestkit/tree/main/src/skills/ui-components --skill ui-components --agent claude-code --yesCheck this file in your project.claude/skills/ui-components/SKILL.md
Other ways to install
Choose an assistant interactively
npx skills@latest add https://github.com/yonatangross/orchestkit/tree/main/src/skills/ui-components --skill ui-componentsSelect your assistant and choose the project installation scope.
Official instructions
The tested Skills CLI 1.10.0 requires Node.js 22.20 or later. Use a React project and existing shadcn or Radix button primitives. The publisher marks this Skill `user-invocable: false` with read-oriented tools. Refer to it from a general coding request and use the coding host for edits.
View operation manualWhat this skill helps with
- Build or refine reusable components for a web interface.
Good for
- Component implementation
- Skill name
- ui-components
- Scenario
- Add a pending state around an existing Button
- Deliverable
- A project-owned save button wrapper with forwarded focus, readable pending text and no duplicate activation.
- Skill name
ui-components- Repository
yonatangross/orchestkit
Define a component task with an observable result
A request with an unclear outcome
Edit the registry-owned Button source for one app-specific save flow.
The next registry refresh can overwrite local behavior customized directly inside that file.
A workflow with observable results
- Review the loading template and local Button
- Wrap the generated Button
- Exercise pending and completed states
OrchestKit UI Components operation manual
Use the bundled loading Button as guidance for a project wrapper that keeps generated shadcn sources portable.
Replace the bracketed details with your own project and target.
Find the relevant rule
Point the assistant to the installed Skill and a specific issue.
Find project-specific loading compositionReference
- Command or reference
scripts/extended-button.tsx- Examples
- Adapt the native button, loadingText and forwarded ref pattern to the project Button.
OrchestKit UI Components troubleshooting
Should pending Save be rendered as a link?
Use a native button for a form action so disabled state prevents activation. Forward the ref to that button and verify it after the request completes.