A research study and CSS property proposal to bring true perceptual centering to the web. Built on human perception data, not bounding-box math.
Community
Think optical centering should be in CSS? Leave a comment and your email to get notified when the open dataset is published.
Thanks! Your comment is submitted and will appear after review.
The Problem
When you place an asymmetric icon inside a button using align-items: center, it looks wrong.
The visual weight of the shape doesn't match its bounding box. Designers nudge pixels manually. Every time.
Designers adjust centering by eye on every icon, every button, every component. There is no standard.
CSS centers the bounding box, not the visual mass. For a play icon, the geometric center is left of where your eyes expect it.
Font metrics have ascender, descender, baseline. Icons have nothing. There is no built-in way to describe where an icon "looks" centered.
The Research
We are running a perceptual centering study with real participants. Each person adjusts the position of a shape until it "looks centered" inside a container.
Method of Adjustment study. Participants position shapes until they "look centered."
2AFC (two-alternative forced choice) tests on real-world icons from major icon libraries. Model training and validation against human judgments.
The perceived center of a shape follows a compressive centroid model:
The study data and raw trial recordings will be published as an open dataset once collection is complete. As far as we know, this will be the first public dataset specifically focused on perceptual centering judgments.
The Proposal
Like font metrics (ascender, descender, baseline), icons should carry intrinsic centering metadata. Computed at build time, applied at runtime.
Stay Updated
We will email you once when the open dataset and Phase 1 results are published. Nothing else.
No spam. One email when results are out. Unsubscribe anytime.
You are on the list. We will let you know.