---
schema_version: "1"
id: 325da402562890fe1e071574aa929cfd40240c4672fa368d9fe9501749574020
title: Extending Tokens Bundles
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/tokens/tokens-extending.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/tokens-extending.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 234009366b61f97ab584ff9296058126c0d8b8052f0da0a765295ff0dc798b48
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Extending Tokens Bundles

Use the `extends` attribute to extend one tokens bundle from another.

**important:** Salesforce recommends that you use [Styling Hooks](https://www.lightningdesignsystem.com/platforms/lightning/styling-hooks/) instead of design tokens if possible. While existing design tokens still work, styling hooks are the future of customization for Lightning web components and Aura components. See [Replace Design Tokens with Styling Hooks](https://developer.salesforce.com/docs/platform/aura-platform/guide/styling-hooks.md).

To add tokens from one bundle to another, extend the “child” tokens bundle from the “parent” tokens, like this.

```nolang
<aura:tokens extends="yourNamespace:parentTokens">
    <!-- additional tokens here -->
</aura:tokens>
```

Overriding tokens values works mostly as you’d expect: tokens in a child tokens bundle override tokens with the same name from a parent bundle. The exception is if you’re using standard tokens. You can’t override standard tokens in Lightning Experience or the Salesforce mobile app.

**important:** Overriding standard token values is undefined behavior and unsupported. If you create a token with the same name as a standard token, it overrides the standard token’s value in some contexts, and has no effect in others. This behavior will change in a future release. Don’t use it.

**See Also**  


-   [Using Standard Design Tokens](https://developer.salesforce.com/docs/platform/aura-platform/guide/tokens-standard.md)

