---
id: fast-foundation.designtoken.withdefault
title: DesignToken.withDefault() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [DesignToken](./fast-foundation.designtoken.md) &gt; [withDefault](./fast-foundation.designtoken.withdefault.md)

## DesignToken.withDefault() method

Associates a default value to the token

<b>Signature:</b>

```typescript
withDefault(value: DesignTokenValue<T> | DesignToken<T>): this;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  value | [DesignTokenValue](./fast-foundation.designtokenvalue.md)<!-- -->&lt;T&gt; \| [DesignToken](./fast-foundation.designtoken.md)<!-- -->&lt;T&gt; |  |

<b>Returns:</b>

this
