ui-design-principles

Guide CSS/HTML styling with visual hierarchy, spacing, typography, and depth principles.

2|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/svengraziani/ui-design --skill ui-design-principles-svengraziani
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-design-principles
Source: https://github.com/svengraziani/ui-design/tree/main/.claude/skills/ui-design-principles
Command: npx skills add https://github.com/svengraziani/ui-design --skill ui-design-principles-svengraziani

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the common struggle of creating inconsistent, cluttered, or visually unappealing interfaces by providing a structured, system-based approach to design.

Core Features & Use Cases

  • Visual Hierarchy: Learn to use weight, contrast, and spacing to guide user attention effectively.
  • Systematized Design: Implement consistent spacing scales, type scales, and shadow elevation levels to eliminate decision fatigue.
  • Use Case: When building a new dashboard, use these principles to define a spacing system, establish a clear text hierarchy, and apply consistent shadow elevation to components for a polished, professional look.

Quick Start

Apply the ui-design-principles skill to review the current CSS spacing and typography for consistency.

Frequently Asked Questions about ui-design-principles

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create visual hierarchy in CSS layouts?

Visual hierarchy in CSS layouts is created by systematically applying weight, contrast, and spacing scales to guide user attention effectively. This approach eliminates clutter by establishing a structured, system-based design rather than relying on ad-hoc styling decisions.

What is the best way to systematize spacing and typography for a UI?

The best way to systematize UI typography and spacing is to implement consistent spacing scales and type scales. This eliminates decision fatigue by defining standardized measurement rules for text sizing and layout structuring across all components.

How do I ensure accessible contrast ratios and responsive layout patterns?

Accessible contrast ratios and responsive layout patterns are achieved by applying structured design system guidelines to HTML and CSS. These principles ensure consistent visual hierarchy, spacing systems, and depth across varying screen sizes and component states.

Can I use these design principles to refine existing dashboard components?

You can use these principles to refine existing dashboard components by reviewing current CSS spacing and typography for consistency. Applying systematized shadow elevation levels and clear text hierarchy transforms cluttered interfaces into polished, professional layouts.

Why does my user interface look cluttered and inconsistent?

Your user interface looks cluttered and inconsistent due to a lack of a system-based approach to design. Implementing structured guidelines for visual hierarchy, spacing scales, and shadow elevation solves this by standardizing component styling and depth.

Do I need specific frameworks to apply these UI design principles?

You do not need specific frameworks to apply these UI design principles. They integrate directly with standard CSS and HTML styling, allowing you to establish consistent design systems, accessible contrast, and responsive patterns in any web environment.