DesignSystems.One Logodesignsystems.one
FoundationsDesign SystemsFrameworksDesignOpsTools

DesignSystems.One Β© 2025

Contact

Naming Conventions

Establish consistent, audience-appropriate naming patterns across your design system.

Different audiences need different naming approaches. Select your role below for tailored guidance.
The Audience-First Approach

Designers and developers should speak the same languageβ€”at least for the things they both care about, like Design Tokens. The others honestly don't care about tokens πŸ˜…

For other Design System users β€” like agencies (internal and external), brand managers, product managers, contributors, etc. the language should align around components, documentation, and implementation.

I ran several UX research sessions and surveys, and I was surprised to see how different markets and teams within the same company use different terms when it comes to building websites and digital experiences. And most of them don't care how you name Components or Tokens in Figma and Code.

For leadership, it's mostly about results, numbers, and sometimes how to differentiate design systems (design system products) within the company.

What Works

βœ“ Tailoring naming to specific audiences

βœ“ Consistent naming within each domain

βœ“ Clear documentation of naming patterns

βœ“ Using familiar industry terms for each group

βœ“ Creating translation guides between domains

What Doesn't Work

βœ— One-size-fits-all naming conventions

βœ— Overly technical names for non-technical users

βœ— Inconsistent naming within a domain

βœ— Changing established naming patterns frequently

βœ— Using internal jargon with external partners

Common Naming Elements

Prefixes

Used to namespace components or indicate ownership. Examples: ds-, ui-, app-

Case Styles

  • camelCase: First word lowercase, others capitalized
  • PascalCase: All words capitalized
  • kebab-case: All lowercase with hyphens
  • snake_case: All lowercase with underscores

Common Modifiers

  • States: Default, Hover, Active, Disabled
  • Sizes: XS, SM, MD, LG, XL
  • Variants: Primary, Secondary, Tertiary
  • Categories: Form, Navigation, Layout

Element Types

  • Components: Reusable UI elements
  • Design Tokens: Visual design properties
  • Patterns: Combined components and behaviors
  • Utilities: Helper functions/classes
Component Naming Patterns

For Development

  • β€’ButtonPrimary (PascalCase for React)
  • β€’ds-button-primary (kebab-case for CSS)
  • β€’useButtonState (camelCase for hooks)

For Design

  • β€’Button / Primary / Default (in Figma)
  • β€’Button/Primary/Hover (in Sketch)

Good Practices

  • Name by function not appearance (NavigationCard, not BlueCard)
  • Create clear hierarchies (Card β†’ MediaCard β†’ ProductMediaCard)
  • Follow platform conventions (PascalCase for React components)
Token Naming Patterns

Common Formats

  • β€’--color-background-primary (CSS variables)
  • β€’colors.background.primary (JSON structure)
  • β€’$color-background-primary (SCSS variables)

Token Categories

  • β€’ color
  • β€’ typography
  • β€’ spacing
  • β€’ sizing
  • β€’ shadow
  • β€’ border
  • β€’ opacity
  • β€’ z-index

Structure

Token names typically follow this structure:

[category]-[type]-[scale/variant]-[state]