# @styled-system/variant Read the docs: https://styled-system.com/variants ## Usage ```js import styled from 'styled-components' import variant from '@styled-system/variant' const Button = styled('button')( variant({ variants: { primary: { color: 'white', bg: 'primary', ':hover': { bg: 'black', } }, secondary: { color: 'white', bg: 'secondary', ':hover': { bg: 'black', } }, } }) ) //