--- title: "Reuse a design with variables" sidebarTitle: "Variables" description: "Change approved text, colors, media, and choices without rebuilding the composition." --- Variables expose the parts of a composition that are meant to change. One customer card can accept a different name, logo, color, and plan while keeping the same layout and motion. Use a variable when the design should remain stable across versions. Make a normal source edit when the structure itself needs to change.
## Use variables in the browser editor The browser editor can create and bind variables, preview overrides, and copy the reviewed values into a render command. Follow [Use variables and templates](/studio/assets-and-blocks#use-variables) for that complete workflow. ## Advanced: declare the approved inputs Variables live on the composition declaration: ```html compositions/card.html ``` ### What can be a variable A variable has one of seven kinds. The kind sets the control the browser editor shows and what a render accepts for it. | Kind | What it holds | Example | | --------- | ---------------------------------------------- | -------------------------------- | | `string` | Text, or a link to a file | A customer name, a video link | | `number` | A count, position, size, or strength | Seats on a plan, a speed | | `color` | One approved color | A brand accent | | `boolean` | On or off | Show the badge | | `enum` | One value from a list you approved | `light` or `dark` | | `font` | A font family | The headline typeface | | `image` | A link to a picture | A customer logo | Video and sound have no kind of their own. Declare the link as a `string`, then bind it to a `