---
url: /reference/@cssdoc/dtcg.md
---
# @cssdoc/dtcg

`@cssdoc/dtcg` — export the declared custom properties as W3C Design Tokens (DTCG). Each `@property`
becomes a token with `$value` (its `initial-value`), `$type` (mapped from its `syntax`), and
`$description`, grouped by the record that declares it — so properties that double as design tokens
interchange with the token ecosystem.

## Interfaces

* [DtcgToken](interfaces/DtcgToken.md)

## Type Aliases

* [DtcgDocument](type-aliases/DtcgDocument.md)

## Functions

* [toDtcg](functions/toDtcg.md)
* [writeDtcg](functions/writeDtcg.md)
