1.0.19 • Published 2 years ago
syrup-ui v1.0.19
SweetScript/Syrup-UI
A pleasant React UI library based on TailwindCSS
🚧 Early phase, still UNDER DEVELOPMENT
Dependencies
- React ^18.2.0
- TailwindCSS: ^3.1.6
- dayjs: ^1.11.7
- @react-spring/web: ^9.5.4
- react-use-measure: ^2.1.1
- cleave.js: ^1.6.0
- @use-gesture/react: ^10.2.20
Installation
- Install library
npm i syrup-ui
- Add tailwind preset: in your
tailwind.config.js
file add the following preset:
presets: [
require('./node_modules/syrup-ui/tailwind-preset.js') //Add this line to the presets property
]
- Import CSS styles: in your main css file add the following import line:
@import "~syrup-ui/styles/styles.css";
- Wrap your app with the ThemeProvider
import {ThemeProvider} from 'syrup-ui';
<ThemeProvider>
<Component {...pageProps} />
</ThemeProvider>
Customization
Documentation Soon
Contact
1.0.19
2 years ago
1.0.18
2 years ago
1.0.2
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.0
3 years ago