component-design
SKILL.md
Component Design
Purpose
Design reusable UI components that provide consistency, accessibility, and maintainability across the application.
When to Use
- Building design system
- New component needs
- Component refactoring
- Consistency improvements
Process
Step 1: Identify Component Needs
Step 2: Define Props and Variants
Step 3: Design All States
Step 4: Document Usage Guidelines
Step 5: Create Component Spec
StudyAbroad-Specific Considerations
- ApplicationCard component
- StatusBadge variants
- ProgressBar component
- DocumentUpload component
- UniversityCard component
Examples
// Component Specification: StatusBadge
interface StatusBadgeProps {
status: 'draft' | 'submitted' | 'under_review' | 'accepted' | 'rejected'
size?: 'sm' | 'md' | 'lg'
}
// Variants by status:
// draft: gray background, "Draft" text
// submitted: blue background, "Submitted" text
// under_review: yellow background, "Under Review" text
// accepted: green background, "Accepted" text
// rejected: red background, "Rejected" text
Weekly Installs
1
Repository
vihang-hub/inte…rameworkGitHub Stars
1
First Seen
2 days ago
Security Audits
Installed on
amp1
cline1
openclaw1
opencode1
cursor1
kimi-cli1