@swayui/sway-ui
v0.0.35
Published
The React UI library for SaaS built on top of Chakra UI
Downloads
44
Maintainers
Readme
🎨 The React UI library for SaaS built with Chakra UI
:cloud: Installation
Install first Chakra UI :
npm 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
:rocket: Usage
import { SwayProvider, theme, DotBadge } from "@swayui/sway-ui";
function App() {
return (
<SwayProvider theme={theme}>
<DotBadge colorScheme={'green.300'} size={'sm'} text={'Active'}/>
</SwayProvider>
);
}
:raised_hands: Documentation
Documentation and examples are available here : Example of use
:mag_right: Credits
sway-ui is a library of Clément de Louvencourt
Special thanks to:
- Your name here ?