ui-component

Featured

Generate a new UI component that follows StyleSeed Toss conventions for structure, tokens, accessibility, and component ergonomics.

Web & Frontend 38,979 stars 6339 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# UI Component ## Overview Part of [StyleSeed](https://github.com/bitjaru/styleseed), this skill generates components that respect the Toss seed's design language instead of improvising ad hoc markup and styling. It emphasizes semantic tokens, predictable typing, reusable variants, and mobile-friendly accessibility defaults. ## When to Use - Use when you need a new UI primitive or composed component inside a StyleSeed-based project - Use when you want a component to match the existing Toss seed conventions - Use when a component should be reusable, typed, and design-token driven - Use when the AI might otherwise invent spacing, colors, or interaction patterns ## How It Works ### Step 1: Read the Local Design Context Before generating code, inspect the seed's source of truth: - `CLAUDE.md` for conventions - `css/theme.css` for semantic tokens - at least one representative component from `components/ui/` If the user already has a better local example, follow the local codebase over a generic template. ### Step 2: Choose the Correct Home Place the output where it belongs: - `src/components/ui/` for primitives and low-level building blocks - `src/components/patterns/` for composed sections or multi-part patterns Do not create a new primitive if an existing one can be extended safely. ### Step 3: Follow the Structural Rules Use these defaults unless the host project strongly disagrees: - function declaration instead of a `const` component - `React.ComponentProps<>` or...

Details

Author
sickn33
Repository
sickn33/antigravity-awesome-skills
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Related Skills