---
schema_version: "1"
id: 81dcde049192680b59be2eb0cf5e90c381727595e3b50aaee1278e4c211b0ae1
title: 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-bundles.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/tokens-bundles.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c475ea35ffac8897a49dfb632f7f918be0b6fb542c99de526fb86610155a866f
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Tokens Bundles

Tokens are a type of bundle, just like components, events, and interfaces.

**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).

A tokens bundle contains only one resource, a tokens collection definition.

|Resource|Resource Name|Usage|
|--------|-------------|-----|
|Tokens Collection|defaultTokens.tokens|The only required resource in a tokens bundle. Contains markup for one or more tokens. Each tokens bundle contains only one tokens resource.|

**note:** You can’t edit the tokens bundle name or description in the Developer Console after you create it. The bundle’s `AuraBundleDefinition` can be modified using the Metadata API.

A tokens collection starts with the `<aura:tokens>` tag. It can only contain `<aura:token>` tags to define tokens.

Tokens collections have restricted support for expressions; see Using Expressions in Tokens. You can’t use other markup, renderers, controllers, or anything else in a tokens collection.

**See Also**  


-   [Using Expressions in Tokens](https://developer.salesforce.com/docs/platform/aura-platform/guide/tokens-expressions.md)

