Create New Component
Installation
SKILL.md
Create New Component
This skill creates React components following Lab's established architecture patterns.
Technology Stack
- React: v19 (using forwardRef, JSX.Element)
- TypeScript: v5 (strict typing)
- Tailwind CSS: v4 (semantic color tokens)
- Storybook: v9 (autodocs with decorators)
- Icons: Heroicons v2 (
@heroicons/react/20/solid,@heroicons/react/16/solid) - UI Library: Headless UI v2 (for interactive components)
- Utilities:
clsxfor conditional classes - Forms: react-hook-form v7 (when applicable)
Before You Begin
STOP AND ASK QUESTIONS unless the user has provided complete specifications.