Skip to content

SwayUI/sway-ui

Repository files navigation

🎨 The React UI library for SaaS built with Chakra UI

License: MIT Npm package version


☁️ 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 

🚀 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

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 ?