Component Library
A collection of reusable interface components.
See it on the 3D treeGoing deeper
It usually exists twice, as components in a design tool and as coded components developers import, and the two need to stay in step. Each entry covers its variants, states and accessibility behaviour. A pattern library, by contrast, explains solutions to recurring problems, which may combine several components.
Why it matters
Reusing tested parts speeds up work and reduces drift, though a poorly fitting part can tempt teams to detach or rebuild it.
In practice
Building a new checkout, you assemble existing inputs, buttons and alerts, then spend your time on the flow itself.
Common mistake
Letting the design library and the coded library diverge, so mock-ups promise options that developers do not have.
Connected terms
- Design SystemThe library is one part of a system, alongside tokens, guidance and governance.
- DocumentationWithout usage guidance, people guess when and how to use each part.
- FigmaTeams publish shared libraries of components for use across files.
- Pattern LibrarySupplies the parts that patterns arrange into solutions.
- VariantVariants group a component's sizes, styles and states within the library.
- ComponentEach library entry is a component with defined options and behaviour.