---
icon: arrow-progress
---

# Other Naming Strategies

## Naming Variables

Use full words and standard English for variable names.

Avoid lengthy names. Other than normal **hyphens** and **spaces**, avoid using underscores and other unnecessary punctuations in variable names.

Compare:

|            | Variable name on the panel                        | Actual code generated                         |
| ---------- | ------------------------------------------------- | --------------------------------------------- |
| **Good** ✅ | **Padding/**&#x54;ablet Small                     | `var(--padding--tablet-small)`                |
| **Bad** ❌  | **Component - Card/**&#x43;ard Body Padding \[LG] | `var(--component-card--card-body-padding-lg)` |

We aim for clear and simple names that are easy to search for in the Webflow panel. They should also be easy to type when coding.



## Naming Components

While it is flexible, we recommend naming Webflow components using natural and concise English titles with title capitalization; keep names short and make your components easily searchable and identifiable. Organize your components into folders. Examples:

<mark style="color:green;">**Blog Card**</mark>

<mark style="color:green;">**Latest Status Block**</mark>

<mark style="color:green;">**CTA: Subscribe**</mark>

<mark style="color:green;">**CTA: Enquiry**</mark>

Some components are meant to be nested within another component. In that case, you can add a "<mark style="color:green;">**-**</mark> " before the name to make them easily identifiable and prevent them from appearing at the top when using [Quick Find](https://help.webflow.com/hc/en-us/articles/33961382093587-Quick-find). Examples:

<mark style="color:green;">**Subscription Section**</mark>

<mark style="color:green;">**- Simple Subscription Form**</mark>

About title capitalization: [Capitalization in Titles: Rules and Examples](https://www.grammarly.com/blog/punctuation-capitalization/capitalization-in-titles/)



## Naming Webflow Interactions

Suggested format: **Name of element** + **\[State:** **Optional description of action]**

The naming convention for Webflow Interactions is the same as that suggested by [Client-First](https://finsweet.com/client-first/docs/interactions-naming). You should also keep the names short and descriptive, for example:

`Section Image [Fade in]`

`Box Icon [Open]`

`Box Icon [Close]`

`Box Icon [Open: Rotate]`

`Box Icon [Close: Back to 0]`

"While scrolling" and "Mouse move" animations don't typically change to a specific state, so you can get more descriptive with them, e.g. `Profile Cards [Floating effect]`.



