Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bitjaru avatar

Ss Component

  • 225 installs
  • 868 repo stars
  • Updated August 3, 2026
  • bitjaru/styleseed

ss-component is a Claude Code skill that generates a new UI component following StyleSeed design conventions.

About

ss-component is a StyleSeed skill that generates a new React UI component matching the design system's conventions. A developer uses it when building on a StyleSeed project to scaffold a primitive or pattern that follows the token, typography, and accessibility rules. It reads the theme and reference components first, then writes a component using function declarations, cn() class merging, CVA variants, and semantic color tokens.

  • Generates a new UI component following StyleSeed conventions
  • Enforces data-slot, cn() merging, CVA variants, and semantic tokens
  • Bakes in 44x44px touch targets and reduced-motion support

Ss Component by the numbers

  • 225 all-time installs (skills.sh)
  • Ranked #905 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

ss-component capabilities & compatibility

Capabilities
component generator · design system scaffold · ui generation
Use cases
frontend · ui design
From the docs

What ss-component says it does

Generate a new UI component following the StyleSeed design conventions
SKILL.md
Use CVA (`class-variance-authority`) if the component has variants
SKILL.md
Minimum touch target: 44x44px (`min-h-11 min-w-11`)
SKILL.md
npx skills add https://github.com/bitjaru/styleseed --skill ss-component

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs225
repo stars868
Last updatedAugust 3, 2026
Repositorybitjaru/styleseed

What it does

Generate a new React UI component that follows StyleSeed tokens, typography, and a11y rules.

Who is it for?

Scaffolding a new React component that obeys StyleSeed tokens, typography, and accessibility rules

Skip if: Full-page scaffolding (use ss-page), composed patterns (use ss-pattern), or non-StyleSeed projects without Tailwind v4

When should I use this skill?

You need a new UI primitive or component on a StyleSeed project

What you get

A new React component file that follows StyleSeed conventions and semantic tokens

  • A new React UI component file placed in components/ui or components/patterns

By the numbers

  • Requires 44x44px minimum touch targets

Files

SKILL.mdMarkdownGitHub ↗

UI Component Generator

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

2. 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

3. 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-lg, rounded-2xl
  • Spacing: multiples of 6px (p-1.5, p-3, p-6)
  • Motion: duration-[var(--duration-fast)], ease-[var(--ease-default)]

4. Typography rules:

  • Display (36-48px): leading-none tracking-[-0.02em]
  • Heading (18-24px): leading-snug tracking-[-0.01em]
  • Body (14-17px): leading-normal (default tracking)
  • Caption uppercase (10-13px): tracking-[0.05em]
  • Use size-* shorthand instead of w-* h-*
  • Use ms-*/me-* instead of ml-*/mr-* (logical properties)

5. Accessibility requirements:

  • Minimum touch target: 44x44px (min-h-11 min-w-11)
  • Support aria-* attributes passthrough
  • Use focus-visible:ring-2 focus-visible:ring-ring for keyboard focus
  • Respect prefers-reduced-motion for animations

6. Export the component as a named export (not default)

7. Place the file in the appropriate directory:

  • Primitive/reusable → src/components/ui/
  • Composed pattern → src/components/patterns/

Related skills

FAQ

What conventions does ss-component enforce?

Function declarations, a data-slot attribute, cn() for className merging, React.ComponentProps typing, CVA for variants, and semantic color tokens instead of inline hex.

Does it work outside StyleSeed projects?

No. It is not meant for projects without a components/ui directory or Tailwind v4.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.