diff --git a/packages/docs/src/pages/guides/variants.mdx b/packages/docs/src/pages/guides/variants.mdx index 9104da83c..4d6f1d561 100644 --- a/packages/docs/src/pages/guides/variants.mdx +++ b/packages/docs/src/pages/guides/variants.mdx @@ -30,21 +30,43 @@ For example, you can define `primary` and `secondary` variants for buttons and u } ``` -With the `theme` object above, the `buttons` variants can be referenced in the `sx` prop. +With the `theme` object above, the `buttons` variants can be referenced by any tag through [the `sx` prop](/sx-prop). +Inside `sx`, the variant should begin with a top-level key from the theme, then use dot notation to access nested objects. ```jsx