A utility-first CSS-in-JS framework built for React.
npm install @xstyled/styled-components styled-componentsSee the documentation at xstyled.dev for more information about using xstyled!
Quicklinks to some of the most-visited pages:
import{x}from'@xstyled/styled-components'functionExample(){return(<x.divp={{_: 3,md: 6}}bg="white"display="flex"spaceX={4}><x.divflexShrink={0}><x.imgh={12}w={12}src="/img/logo.svg"alt="xstyled Logo"/></x.div><x.div><x.h4fontSize={{_: 'md',lg: 'xl'}}fontWeight="medium"color="black">
xstyled
</x.h4><x.pcolor="gray-500">A CSS-in-JS framework built for React.</x.p></x.div></x.div>)}Licensed under the MIT License, Copyright Β© 2019-present Greg BergΓ©.
See LICENSE for more information.
