frontend-design

Solid

UI component design principles, visual hierarchy, spacing, typography for Next.js apps. Use when building or reviewing React/Next.js components, setting up design tokens, or establishing visual consistency.

Web & Frontend 30 stars 9 forks Updated 5 days ago MIT

Install

View on GitHub

Quality Score: 82/100

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

Skill Content

# Frontend Design ## Core Design Principles ### Visual Hierarchy Every screen needs a clear reading order. Use size, weight, color, and spacing to guide the eye. ```tsx // Good: Clear hierarchy export function ArticleCard({ title, excerpt, author, date }: ArticleCardProps) { return ( <article className="rounded-xl border border-gray-100 p-6 shadow-sm hover:shadow-md transition-shadow"> {/* Primary: title grabs attention */} <h2 className="text-xl font-semibold text-gray-900 leading-snug mb-2"> {title} </h2> {/* Secondary: excerpt supports */} <p className="text-gray-600 text-sm leading-relaxed line-clamp-3 mb-4"> {excerpt} </p> {/* Tertiary: metadata recedes */} <div className="flex items-center gap-2 text-xs text-gray-400"> <span>{author}</span> <span>·</span> <time>{date}</time> </div> </article> ) } ``` ### Spacing System Use a consistent spacing scale. Tailwind's default scale (4px base) works well. ```tsx // Design token constants — define once, use everywhere export const spacing = { xs: 'gap-1', // 4px — tight inline elements sm: 'gap-2', // 8px — related items md: 'gap-4', // 16px — section padding lg: 'gap-6', // 24px — card padding xl: 'gap-8', // 32px — section gaps '2xl': 'gap-12', // 48px — page sections '3xl': 'gap-16', // 64px — hero sections } as const // Usage: consistent padding inside cards function Card({ children }...

Details

Author
sabahattink
Repository
sabahattink/antigravity-fullstack-hq
Created
8 months ago
Last Updated
5 days ago
Language
PowerShell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

Web & Frontend Listed

frontend-design

Create distinctive, production-grade visual interfaces — design principles that apply to ANY frontend (React, Next.js, Vue, Svelte, plain HTML/CSS, React Native). Use when the aesthetic direction matters — building a component, page, landing site, or app where it must look intentional, not generic "AI slop". Covers visual hierarchy, spacing/rhythm, typography, color + contrast, layout, and design tokens — independent of framework. Triggers — "make this look good", "design", "UI", "landing page", "the spacing feels off", "color palette", "it looks generic/AI". Pairs with frontend-fundamentals (implementation patterns), a11y (accessibility — aesthetic without it is a lawsuit), state-management.

6 Updated 5 days ago
kouroshez
Web & Frontend Solid

design-system

Build and maintain cohesive design systems and component libraries with tokens, theming, and documented variants. Use when the user says "design system", "component library", "design tokens", "theming", "consistent styling", "reusable components", or "variant props". Produces token files, component specs, and usage guidelines. Pairs with design-frontend, audit-uiux-design-system. Do NOT use for one-off component styling.

9 Updated today
kensaurus
Web & Frontend Listed

ux-design-systems

Build consistent design systems with tokens, components, and theming. Use when creating component libraries, implementing design tokens, building theme systems, or ensuring design consistency. Triggers on design system, design tokens, component library, theming, dark mode.

2 Updated today
Makiya1202