Skip to content
GitHub
Sections

Reference · Things to avoid

Multiple alignments in one component

Forbidden
A centred name, a left-aligned quote, a right-aligned photo and centred stars in a single testimonial
Instead
One alignment per component, start-aligned by default. Every additional alignment makes the eye zig-zag. Centring is acceptable for a short isolated block — a few lines of text and one action — but then centre *everything* in it, and make the action full-width so both hands can reach it.

What this rule looks like

Forbidden
Instead
Kind
Rule
Section
Things to avoid
Group
Spacing and layout
Bucket
judgment
Severity
note
Since
v0.1.0

Read as plain text