Matt Montenegro's Backstage

Components as Lego blocks

by jacob paris ▲ (@jacobmparis) · · UI/UX

Components as Lego blocks

How to assemble components like Lego blocks: a lean API, composition and render props. A good practice.

Post text

This is how I like to build components It should feel like a library of lego blocks that you can assemble pages out of - minimize entropy in the api surface - combine components into bigger lego blocks - use render prop slots to enforce layouts

Open the post on X ↗Open in the archive

Similar references