kebab-case, camelCase and snake_case

Ways of writing multi-word names without spaces: kebab-case uses hyphens, camelCase capitalises each later word, snake_case uses underscores.

In more detail

Each platform has its habit: CSS custom properties use kebab-case (--color-primary), JavaScript and TypeScript use camelCase (colorPrimary), and Android resources use snake_case (color_primary). Style Dictionary name transforms convert one token name into each style.

Related terms

Taught in

References