Documents
global-styles.en-US
global-styles.en-US
Type
External
Status
Published
Created
Jun 12, 2026
Updated
Jun 12, 2026
Source
View

Introduction#

Using createGlobalStyle allows you to create styles that are injected globally. The usage of this method is almost identical to styled-component, but it is implemented based on @emotion/react and @emotion/serialize.

Default Usage#

Using with antd tokens#

By utilizing the token system in antd v5, we can organize and implement a Button style that does not exist in Ant Design.