How to Name Design System Components

Hands sketching over product diagrams on a white sheet
Hands sketching over product diagrams on a white sheet

Last updated: November 18, 2026

Quick Answer: use one naming convention, one fixed order, and one shared glossary so designers and developers can find the same component in under 10 seconds. This article on How to Name Design System Components So Developers and Designers Stay Aligned keeps the focus on the naming layer only: the same name in Figma, the same name in code review, and the same name in handoff notes.

Design system component naming works when designers and developers can say the same name, mean the same thing, and find the same UI element in under 10 seconds. If a button is called one thing in Figma and another thing in code, the system starts leaking time through every handoff, pull request, and bug report. In a 2020 Nielsen Norman Group study, teams lost time to unclear UI labels and inconsistent terminology; a naming convention reduces that friction by giving the same component one shared label.

Key takeaways

  • Name components for how people talk about them, not for how a file tree looks.
  • Keep the component hierarchy visible in the name when the hierarchy matters.
  • Use consistent terms for properties, variants, and states so designers and developers can map one list to the other.
  • Reserve technical details for code-only layers when the naming would otherwise become unreadable.
  • A convention works best when your team can apply it the same way in Figma, in code review, and in handoff notes.

What design system component naming has to solve

Two people reviewing a technical drawing

Design system component naming has to solve ambiguity, not aesthetics. A name is an interface between two groups: designers who assemble patterns and developers who implement them. If the name is vague, people guess. If the name is overly clever, people remember it differently. Both lead to the same cost: extra clarification during handoff.

The job of the name is to answer four questions fast: what is this component, where does it sit in the hierarchy, what changes inside it, and what should it never be confused with. That is why names matter most at the level of components, variants, and properties. A label like Button / Primary / Disabled is doing work that a decorative label like Blue CTA cannot. The first describes a system. The second describes one visual snapshot.

A generic article often misses the operational part. Naming is not only about style guide consistency. It affects how a designer searches a component library, how a developer matches a Figma layer to a React component or a Web Component, and how a reviewer tells whether size=sm and size=small are the same idea wearing two names. If you are also responsible for broader design system foundations, this page supports that work by focusing on the naming layer only, not on file organization or governance.

The right standard is usually boring on purpose. Strong naming conventions read almost like spreadsheet columns: noun first, modifiers second, then variants or states in a fixed order. That structure is not glamorous, but it keeps the system from turning into a pile of local exceptions. The wrong fit is any team that wants naming to carry brand voice, marketing language, or product strategy all at once. A component name is a coordination tool, not a slogan.

How to name a component in 6 steps

Use one base noun, one hierarchy rule, and one state order, then apply them the same way across the library. A workable convention is easy to repeat in a 30-minute review and hard to misread in a Jira ticket.

  1. Start with the user-facing noun for the thing.
    Name the core element what a designer or developer would say out loud: Button, Card, Tabs, Modal. The result is a base name that survives across platforms and is easy to search in both Figma and code.

  2. Add hierarchy only when the parent matters.
    If the component is clearly nested, make the relationship explicit: Navigation / Tabs, Form / Text Input, Card / Header. The result is a name that explains structure without forcing someone to inspect the whole canvas. If the hierarchy adds no meaning, leave it out.

  3. Put variants in a fixed order.
    Choose one sequence and keep it. A common order is component name, then intent or style, then size, then state: Button / Primary / Large / Disabled. The result is fewer arguments about whether Small Primary Button and Primary Small Button are different things.

  4. Treat properties as the smallest meaningful toggles.
    When you decide property names, consider the team’s Figma patterns, code API, and any accessibility requirements; if the choice affects users, consult a design system professional and authoritative guidance such as the W3C WAI resources on accessible names and controls. Use terms like size, tone, icon, label, or position if those are the controls the team actually exposes. The result is a property list that can be mirrored in code props or component controls.

  5. Separate transient states from permanent variants.
    A state like hover, focus, pressed, or disabled is temporary or interaction-driven. A variant like primary, secondary, or danger is a design choice that stays stable until the design changes. The result is cleaner API boundaries and fewer impossible combinations.

  6. Test the name in one sentence.
    Say, “I need the disabled primary large button,” and see whether the component name matches that sentence without extra decoding. If it does not, simplify the name before it spreads through the library. The result is less translation work during handoff and review.

This procedure is less about elegance than repeatability. It is also where many systems fail: they let each team invent its own order. Once that happens, even a simple component like a dropdown can accumulate naming drift between the design tool, the component repository, and the documentation page.

What should component names look like in practice?

Component names should be short enough to scan and specific enough to disambiguate. A good rule is to keep the base name as short as possible and push detail into structured modifiers. Toast, Toast / Success, and Toast / Success / Dismissible are easier to parse than SuccessDismissibleNotificationBanner, even if the second one looks tidy in a code editor.

The practical test is whether two people can point at the same item and use the same words in under 5 seconds. If one person says “the alert with the close icon” and another says “the dismissible banner,” the system has already split. That split becomes expensive when the component appears in three places: the design file, the codebase, and the documentation.

A useful convention is to keep visual adjectives out of the base name unless they are part of the component’s function. Card is fine. ShadowCard is usually a smell, because shadow is styling, not identity. The same logic applies to color: Red Button is rarely a lasting name unless the color itself carries product meaning, as in error or danger states. In most systems, color belongs in a variant or token, not in the component’s identity.

I would not use a naming style that tries to encode everything in one label. That approach looks precise and usually becomes brittle. The moment a component changes from “small” to “medium,” the old name becomes a lie. If the naming system forces frequent renaming, it is too descriptive for its own good.

For teams that work across platforms, the cleanest names are often the least clever. Tabs, Tab Item, Breadcrumb, Breadcrumb Item, Checkbox, Checkbox Group are plain, but they make hierarchy obvious. That matters more than sounding polished.

How do you name variants and states?

Name variants and states as separate concepts, and keep their order stable. That separation usually prevents the most common confusion in design systems: someone uses a variant to describe a state, or a state to describe a variant, and suddenly selected, active, pressed, and current all mean almost the same thing but not quite.

Variants should answer “what kind of component is this?” Typical examples include primary, secondary, tertiary, quiet, destructive, or inverse. States should answer “what is happening to it right now?” Typical examples include default, hover, focus, pressed, loading, disabled, and error. The difference matters because variants are chosen by design intent, while states emerge from interaction or validation.

When you name both in the same component, use one order and do not change it later. For example:

  • Button / Primary / Large / Disabled
  • Input / Error / With Icon
  • Tag / Neutral / Selected

A stable order lets designers and developers talk through the same configuration without translating the labels. It also reduces duplicate names that differ only by word order. If your team uses a component API, mirror that same order in property documentation so the naming convention becomes part of the interface, not just the file name.

There is a real trade-off here. The more detail you pack into names, the easier they are to search and the harder they are to scan. The less detail you pack in, the cleaner the name looks and the more often people need a reference table. That means some systems should prefer compact names plus a strong description panel, while others should prefer longer names for self-service use. What should not happen is random variation from component to component.

One useful boundary: do not make a state do the job of a variant. Active can mean selected, focused, current, expanded, or pressed depending on context. That is too much load for one word. If the meaning shifts by component, the naming standard is already doing too much work.

Where designers and developers usually fall out of sync

Designers and developers usually fall out of sync when the same word points to different layers of the system. That is a naming problem first, and a tooling problem second. The mismatch often appears in three places: property names, component hierarchy, and the line between variant and state.

A common failure is Type in design and Variant in code, even though both refer to the same choice. Another is Size in Figma with values like S, M, L, while code uses small, medium, large. The issue is not that one side is right and the other is wrong. The issue is that the team now needs a translation layer every time a component changes. Over a dozen components, that becomes routine friction.

Another failure is hierarchy drift. Designers may call something Form / Input / Password, while developers see it as TextField with a type="password" prop. Both can be defensible, but if the team never agrees on the level of naming, the same element gets two identities. That makes documentation harder to trust and bugs harder to reproduce.

The simplest fix is a single naming map for the most important terms: component name, property name, state name, and any alias that the team has already inherited. A short glossary can do more than a long policy document because it answers the exact questions people ask in reviews. If your convention already exists in code, let that influence the design layer. If it already exists in design, let that influence the API layer. The point is symmetry, not victory.

A naming system becomes brittle when it tries to force full consistency across everything. It does not need to. It needs consistency where people exchange meaning. That is why I would not spend a week renaming every low-value edge case before fixing the top 10 components everyone touches daily.

Common naming mistakes and what they cost

Common naming mistakes cost time in review, search, and handoff, and they usually look harmless at first. The most expensive mistakes are the ones that create two plausible interpretations of the same component.

The first mistake is using visual descriptors as the main identity. Blue Button sounds clear until the color changes, the theme shifts, or the button appears in a dark mode token set. The cost is renaming churn and false specificity. Use Button / Primary or Button / Danger if the style has meaning beyond the current palette.

The second mistake is mixing singular and plural without a rule. Checkbox and Checkboxes, Tab and Tabs, List Item and List Items can all be valid, but not in random combinations. The cost is search friction and duplicate components that look related but are not. Pick the singular or plural pattern based on whether the component represents one unit or a group, then keep it stable.

The third mistake is collapsing state and variant into one label. Disabled Button is fine as a human phrase, but it is weak as a system rule if disabled can apply to many components. The cost is a naming tree that cannot scale past one component family. Keep interaction states reusable and separate from style variants.

The fourth mistake is loading names with product jargon. A term that sounds natural inside one squad may mean nothing to the rest of the company. The cost is onboarding debt. If the term is not used by designers, developers, and product people in the same sentence, it should probably not name a core component.

The fifth mistake is trying to make names do the work of documentation. A long name can hide the lack of a description, but it cannot replace usage notes, constraints, or accessibility guidance. A name like Editable Rich Content Card with Inline Actions is not clarity; it is a warning sign.

The fix is usually smaller than the mistake. Shorten the base name, standardize the modifier order, and reserve uncommon terms for truly uncommon components. If a name still needs explanation after those changes, the concept may be too broad and should be split into more than one component.

A naming convention that stays usable over time

A naming convention stays usable over time when it is simple enough to repeat, strict enough to compare, and flexible enough to survive new components. That balance is why a small set of rules often works better than a huge taxonomy.

A practical baseline is this:

  • Base name: the shared noun, such as Button or Card
  • Grouping: only when a parent relationship matters, such as Form / Input
  • Variant order: style or intent first, then size, then state
  • Property names: words the team already uses in code or design
  • State names: interaction terms that remain stable across components

That convention is not perfect. It will not solve every legacy label, and it may feel too plain for teams that want highly expressive component names. It also depends on discipline: if one person starts inventing new orderings, the whole system loses its readability. But it scales better than a naming scheme built around visual nuance or team-specific slang.

For a design system team, the real target is shared vocabulary, not perfect taxonomy. If designers can predict the code name and developers can predict the Figma label, the naming convention is doing its job. If both sides need a lookup table for every conversation, the convention is not strong enough yet.

When the system is healthy, naming becomes almost invisible. People stop arguing about what the component is called and start discussing whether it should exist, where it belongs, and whether it should be split into two or merged into one.

Drafted with AI; not yet reviewed by a person.

Leave a Reply

Your email address will not be published. Required fields are marked *