Design & media

Component

AI-assisted editorial review:

A component is a reusable piece of user interface, such as a button, card or menu, that is built once and used in many places. React, the JavaScript library that Facebook (now Meta) open-sourced in 2013, describes components as "reusable UI elements" that combine markup, styling and logic, and the approach is now a common way to build web and app interfaces.[1][2][3]

What does Component mean in simple terms?

Without components, teams often rebuild the same-looking button separately on every screen. A component turns that around: build the button well once, then reuse it everywhere. When a shared component definition changes, screens using that same definition receive the change; separately copied versions need their own updates. Small pieces can be nested inside bigger ones, so a search box, a header and finally a whole page can all be components.[1][7] Design systems such as Toss's TDS and Google's Material Design publish their components so that teams build screens from the same parts.[4][8] AI tools such as v0 generate interface code from a text description using existing open-source components, which lets people outside engineering assemble a first draft of a screen.[9]

How can Component be explained with an analogy?

Components are like LEGO bricks. Once you have a set of well-made bricks, you can build almost anything by snapping them together.

Where is Component used?

Case 1

Toss — One design system shared by design and code

Toss, a Korean finance app, describes its design system TDS as the common system used to build Toss products. It consists of hundreds of components and templates and is connected to development, not only to design tools, so it works like a shared language for building the product.[4] The public TDS Mobile documentation lists components such as Button, Bottom Sheet, Dialog, Text Field and Toast for front-end developers.[4]
Result: Toss states that TDS aims to guarantee a minimum level of product quality, keep the UI consistent and make UI development more efficient.[4]

Case 2

shadcn/ui — Open-source components you own

shadcn/ui is a free, MIT-licensed set of accessible components for React projects, built by the developer known as shadcn, who now works at Vercel.[5][6] Instead of installing a fixed package, you copy the component code into your project and edit it directly. Its documentation says: "This is not a component library. It is how you build your component library."[5] The GitHub repository had about 125,000 stars as of 13 October 2026.[6]
Result: Small teams and solo founders can start from a ready-made set of components such as buttons, dialogs and tables, and adapt them to their own brand.[5]

Case 3

v0 — AI that builds screens from components

Vercel's v0 turns a text description of an interface into code using open-source tools such as React, Tailwind CSS and shadcn/ui. You pick a version, keep editing, and paste the code into your app.[9] shadcn/ui describes its open code and consistent interface as making it easier for AI models to read, understand and generate new components.[5]
Result: Because the output is built from existing components, a first version of a screen can be produced quickly and then refined by hand.[9]

Why components matter more with AI

First, components are a natural unit for AI code generation. Tools such as v0 produce screens from existing component sets, so results stay closer to a consistent design.[5][9]
Second, components are the building blocks of a design system. Atomic Design describes how small parts (buttons, inputs) combine into larger parts (search forms, headers) and then into templates and pages.[7] Design decisions such as color and spacing are increasingly shared as design tokens; the W3C Design Tokens Community Group published the first stable version of its format in October 2025.[10]
Third, components make change cheaper. You define a component once and use it as often as needed, so a fix in a shared definition reaches screens using that definition.[1]

Try it today

  1. List the interface pieces you repeat most often, such as buttons, cards, inputs and dialogs.
  2. Pick one and define it once with clear options (for example size, color and state), instead of copying it screen by screen.[1]
  3. Before building from scratch, check an existing set such as shadcn/ui, Material Design or your company's design system.[4][5][8]
  4. When you ask an AI tool for a screen, name the component set you use, and review the generated code.[9]
  5. Write down where each component is used, so you can see what a change will affect.

Limits and direction

Components alone do not make a good product. Too many slightly different variants can recreate the inconsistency they were meant to remove, and a shared component that changes without notice can break many screens at once. Copy-in approaches such as shadcn/ui give you full control, but you also take on the work of updating that code yourself.[5] Generated code still needs human review for brand fit, accessibility and quality. The direction is toward shared tokens and components that move between design tools and code, and that AI tools can read and extend.[5][10]

How has Component evolved?

2013-05-29
React open-sourced
Facebook open-sourced React, a library that builds interfaces from reusable components.[2][3]
2016
Atomic Design book
Brad Frost's book Atomic Design described building interfaces from atoms, molecules and organisms up to templates and pages.[7][11]
2023-10-11
v0 beta
Vercel moved v0, which generates interface code with React, Tailwind CSS and shadcn/ui from a text description, from alpha to beta.[9]
2025-10-28
Design Tokens spec 2025.10
The W3C Design Tokens Community Group released the first stable version of its design tokens format, including component-level references.[10]

Which concepts are related to Component?

  • Contains
    Design SystemA design system is built from a set of shared components and rules.[4][7]
  • Example
    shadcn/uiAn open-source set of components you copy into your project and adapt.[5]

Which sources explain Component?

  1. React (Meta) — Your First Component (react.dev docs, v19.3) — https://react.dev/learn/your-first-component
  2. React (Meta) — React Versions: Initial Commit (open-sourced 2013-05-29) — https://react.dev/versions
  3. React Blog — Why did we build React? (2013-06-05) — https://legacy.reactjs.org/blog/2013/06/05/why-react.html
  4. Toss (Viva Republica) — TDS Mobile: Introduction — https://tossmini-docs.toss.im/tds-mobile/
  5. shadcn/ui — Introduction (docs) — https://ui.shadcn.com/docs
  6. GitHub — shadcn-ui/ui repository (accessed 2026-10-13) — https://github.com/shadcn-ui/ui
  7. Brad Frost — Atomic Design, Chapter 2: Atomic Design Methodology (2016) — https://atomicdesign.bradfrost.com/chapter-2/
  8. Google — Material Design 3: Components — https://m3.material.io/components
  9. Vercel — Announcing v0: Generative UI (2023-10-11) — https://vercel.com/blog/announcing-v0-generative-ui
  10. W3C Design Tokens Community Group — Design Tokens specification reaches first stable version (2025-10-28) — https://www.w3.org/community/design-tokens/2025/10/28/design-tokens-specification-reaches-first-stable-version/
  11. Brad Frost — Atomic Design Out Now (2016-11-28) — https://bradfrost.com/blog/post/atomic-design-out-now/