> For the complete documentation index, see [llms.txt](https://supernova-developers.gitbook.io/supernova-dsm/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://supernova-developers.gitbook.io/supernova-dsm/design-system-data/tokens/measures.md).

# Measure

Measure tokens define one single measure, such as `20px`  or `40%`.&#x20;

You can reference measure in most other tokens, providing values that can be changed from one single point. For example, if all your borders should have exactly `1px`, you can define a measure and reference it in all border tokens. Then, changing the measure will change the value for all of them at once.

### Example Token Payload

This is what the measure payload looks like:

```javascript
{
  "id": string
  "name": string
  "description": string
  "tokenType": "Measure"
  "origin": ItemOrigin | null
  "value": {
    "unit": "Pixels" | "Points" | "Percent" | "Ems",
    "measure": double
    "referencedToken": Measure | null
  }
}
```

### Associated functions

You can use the following functions to retrieve measure tokens from your design system:

* [@ds.allTokens](/supernova-dsm/design-system-data/function-list.md#ds-alltokens)
* [@ds.tokensByType](/supernova-dsm/design-system-data/function-list.md#ds-tokensbytype) (with `"Measure"`) attribute
* [@ds.tokensByGroupId](/supernova-dsm/design-system-data/function-list.md#ds-tokensbygroupid)
