☁️ Installation
Chakra UI :
Install firstnpm install @chakra-ui/react @emotion/react @emotion/styled framer-motion @heroicons/react
or
yarn add @chakra-ui/react @emotion/react @emotion/styled framer-motion @heroicons/react
And then install SwayUI :
npm install @swayui/sway-ui
or
yarn add @swayui/sway-ui
🚀 Usage
import { SwayProvider, theme, DotBadge } from "@swayui/sway-ui";
function App() {
return (
<SwayProvider theme={theme}>
<DotBadge colorScheme={'green.300'} size={'sm'} text={'Active'}/>
</SwayProvider>
);
}
🙌 Documentation
Documentation and examples are available here : Example of use
🔎 Credits
sway-ui is a library of Clément de Louvencourt
Special thanks to:
- Your name here ?