What problem does it solve?
This guide solves the challenge of turning UI component concepts into a complete, registerable SDUI module by enforcing a standardized workflow that covers component file creation, export, and dual registry updates.
Core Features & Use Cases
- Component file creation: place the React component at packages/sdui/src/components/SDUI/<ComponentName>.tsx with a named export and a typed Props interface.
- Barrel export: update packages/sdui/src/components/SDUI/index.ts to export the new component.
- Dual registration: implement registry entry in packages/sdui/src/registry.tsx and an intent in scripts/config/ui-registry.json.
- Validation & QA: run lint and dev to verify proper rendering and no runtime fallbacks.
Quick Start
Follow the workflow to create a new SDUI component: implement the component file, export it in the barrel, register it in registry.tsx and ui-registry.json, and verify with lint and dev.