Margin considered harmful

Max Stoiber / filed under UI Design

We should ban margin from our components. Hear me out. Margin breaks component encapsulation. A well-built component should not affect anything outside itself. Margin makes reusability harder. Good components are usable in any context or layout. Margin conflicts with how designers think. Designers think about space in relation and context. They define how far a […]

Subscribe to newsletter

Design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency