> 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/radii.md).

# Radius

Radius tokens define one single radius, such as `4px` .

### Example Token Payload

This is what the radius payload looks like:

```javascript
{
  "id": string
  "name": string
  "description": string
  "tokenType": "Radius"
  "origin": ItemOrigin | null
  "value": {
    "radius": {
      "unit": "px",
      "measure": double
      "referencedToken": Measure | null
    },
    "topLeft": {
      "unit": "px",
      "measure": double
      "referencedToken": Measure | null
    },
    "topRight": {
      "unit": "px",
      "measure": double
      "referencedToken": Measure | null
    },
    "bottomLeft": {
      "unit": "px",
      "measure": double
      "referencedToken": Measure | null
    },
    "bottomRight": {
      "unit": "px",
      "measure": double
      "referencedToken": Measure | null
    },
    "referencedToken": Radius | null
  }
}
```

Radius can either define symmetric radius (all box corners have the same value) in which case `radius` property is used, or the radius can be defined for each box corner separately.&#x20;

### Associated functions

You can use the following functions to retrieve radius 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 `"Radius"`) attribute
* [@ds.tokensByGroupId](/supernova-dsm/design-system-data/function-list.md#ds-tokensbygroupid)
