alignment-text-and-numerics

Recommend text and numeric alignment rules for UI layouts.

6|3|Updated May 3, 2026
One-click install
npx skills add https://github.com/HDeibler/universal-design-principles --skill alignment-text-and-numerics
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: alignment-text-and-numerics
Source: https://github.com/HDeibler/universal-design-principles/tree/main/plugins/perception-and-hierarchy-principles/skills/alignment-text-and-numerics
Command: npx skills add https://github.com/HDeibler/universal-design-principles --skill alignment-text-and-numerics

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Poor text and numeric alignment forces users to re-read content, makes table comparisons harder, and breaks scannability in forms and dense data displays.

Core Features & Use Cases

  • Text alignment guidance: choose left, right, center, or justified alignment based on context (body copy vs short focal elements vs RTL).
  • Numeric alignment rules: right-align numeric columns and use tabular numerals so digit positions stack cleanly.
  • Form label-input alignment: apply consistent label positioning (top, right-flush/left-flush, or left) to reduce visual re-orientation during scanning.
  • Anti-pattern detection: avoid centered body text, left-aligned numeric columns, inconsistent decimal precision, and unjustified body text without hyphenation.

Quick Start

Apply alignment-text-and-numerics to your UI layout description and ask it to specify the correct alignment choices for each region (body copy, tables with mixed types, and form fields) plus the exact alignment heuristics to follow.

Frequently Asked Questions about alignment-text-and-numerics

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

FAQPage Schema
How do I align numeric columns in data tables for faster scanning?▼

Enforce right-aligned numeric columns with tabular numerals so digit positions stack cleanly for accurate comparison. This alignment ensures decimal and precision consistency checks pass, making mixed data type tables scannable without re-reading.

What's the best text alignment for body copy versus short focal elements?▼

Left-align body copy for readability and reserve center alignment for short focal elements. Avoid justified body text without hyphenation, as it creates uneven word spacing that breaks scannability and forces users to re-read content.

How do I keep form labels and inputs aligned when label lengths vary?▼

Apply consistent label positioning—top, right-flush, or left-flush—across varying label lengths to maintain form alignment. Consistent positioning reduces visual re-orientation during scanning and keeps label-input relationships clear.

Why does left-aligning numbers in tables make comparisons harder?▼

Left-aligning numbers misaligns decimal places and digit positions, forcing the eye to hunt for matching magnitudes. Right-aligning numeric columns with tabular numerals stacks digits cleanly so users can compare values instantly.

When should I avoid centered text alignment in UI layouts?▼

Avoid centered text alignment for body copy because it creates ragged left and right edges that break reading flow. Center alignment suits only short focal elements like headers or captions, not paragraphs or data tables.