
Made for React
With xstyled, CSS is declarative. It fits with React philosophy, writing CSS is as easy as writing props.

Universal
xstyled is compatible with styled-components and Emotion. It exposes a unified API on top of the most powerful CSS-in-JS libraries.

Consistent
Define all your design tokens in theme to create a consistent API for color choices, typography, spacing, shadows…

Flexible
xstyled is fully dynamic, it means you can use arbitrary values for everything without compromise.

Themeable
Give your components a new look in your next project. Create universes in the same project with dynamic theme switching.

Performant
Built on top of the two most performant CSS-in-JS library and heavily optimized, xstyled is really fast.

Responsive
Creating responsive and mobile first components has never been easier.

TypeScript Friendly
xstyled is written in TypeScript, types are built-in. Autocomplete all properties with values defined in your theme.

Dark Mode
Defines new colors in theme to enable dark mode for your project. Use system preference or Hooks to control it.

Extendable
Create new utilities, compose them with existing ones, publish it as plugin. Possibilities are infinite!

Modern
xstyled leverages cutting edge features like CSS grids, transforms, gradients. It makes it safe and easy.

Accessible
xstyled makes it easy to implement accessibility features like using rem
instead of px
.