Complete AI TrainingYourJobSkills for your job

Skills / web-development

ui-component

Generate a new UI component following the StyleSeed design conventions

IT & Software Development

UI Component Generator

When to Use

Use this skill when you need generate a new UI component following the StyleSeed design conventions.

When NOT to use

  • For full-page scaffolding → use /ss-page
  • For composed multi-component patterns → use /ss-pattern
  • For tweaking an existing component — just edit the file directly
  • For non-StyleSeed projects (no components/ui/ directory or no Tailwind v4)

Generate a new component: $0 Description: $ARGUMENTS

Instructions

  1. First, read the design system seed for context:
  • Read CLAUDE.md for component conventions
  • Read css/theme.css for available design tokens
  • Read components/ui/button.tsx as a reference pattern
  1. Follow these conventions strictly:
  • Use function declaration (not const)
  • Add data-slot="component-name" attribute
  • Use cn() from @/components/ui/utils for all className merging
  • Use React.ComponentProps<> for prop typing
  • Always support className prop for overrides
  • Use CVA (class-variance-authority) if the component has variants
  • Use semantic color tokens (bg-card, text-foreground) — never inline hex
  1. Design token usage:
  • Colors: text-foreground, bg-card, text-brand, text-muted-foreground, border-border
  • Shadows: shadow-[var(--shadow-card)], shadow-[var(--shadow-elevated)]
  • Radius: rounded-md, `rounded-

Subscribers only

The full skill, its 1 bundled files and every download is included with every paid Complete AI plan.

Details

Sourcebitjaru/styleseed
LicenseMIT
Risk labelcritical ("critical" means the skill may run commands or touch files — read before use)
FilesSKILL.md
Added2026-07-01

Related skills

accesslint-audit

Find and fix WCAG 2.2 accessibility issues. Two modes — report (sweep a codebase or page, produce a prioritized written report, no edits) and fix (audit→edit→verify loop on a target). Prefers direct-CDP live-DOM auditing; falls back to a browser-MCP composition or HTML-string audits.

angular

Modern Angular (v20+) expert with deep knowledge of Signals, Standalone Components, Zoneless applications, SSR/Hydration, and reactive patterns.

angular-best-practices

Angular performance optimization and best practices guide. Use when writing, reviewing, or refactoring Angular code for optimal performance, bundle size, and rendering efficiency.

angular-migration

Master AngularJS to Angular migration, including hybrid apps, component conversion, dependency injection changes, and routing migration.

angular-state-management

Master modern Angular state management with Signals, NgRx, and RxJS. Use when setting up global state, managing component stores, choosing between state solutions, or migrating from legacy patterns.

angular-ui-patterns

Modern Angular UI patterns for loading states, error handling, and data display. Use when building UI components, handling async data, or managing component states.