Shadcn themes vs component libraries: what is the difference?

People often mix up shadcn themes and component libraries, and the confusion costs time. They solve two different problems.

A theme changes the look

A shadcn/ui theme is mostly a set of CSS variables: colors, radius, fonts, and shadows. Paste it into your global stylesheet and every component you already installed changes style at once. Nothing new appears in your project, it just looks different.

A component library changes the toolbox

A component library or registry adds new components, such as a pricing table, a kanban board, or a command palette. You install them one by one into your own codebase and then own the code.

How they work together

Most polished projects use both. Start with a theme to set the brand, then add components from a registry. Because everything is built on the same tokens, the new components pick up your theme automatically.

  • Theme: small, reversible, affects the whole app.
  • Component set: larger, adds behavior, affects only where you use it.

Tip: change themes first and components second. If a new component looks wrong, the cause is almost always a missing CSS variable in your theme.

Learn the basics in our shadcn themes guide and see how registries work in the component registries guide.

← Voltar ao blog