Design & UX

What is a component library?

A component library is a collection of reusable, tested interface components in code, such as buttons, inputs, tables, modals and navigation, that developers combine to build screens consistently.

Benefits

Faster development, consistent behaviour and accessibility across the product, and changes made once apply everywhere. It is the code half of a design system.

Build or adopt

Open-source libraries such as MUI, Chakra, shadcn/ui or Flutter's Material widgets give a head start; custom libraries suit distinctive brands. Many teams theme an existing library rather than starting from nothing.

Questions, answered

Only if used unchanged. Theming and custom components keep a distinctive look.

It is a tool for building, documenting and testing component libraries.

By the Stegnor team · Updated