syrup-ui
TypeScript icon, indicating that this package has built-in type declarations

1.0.19 • Public • Published

SweetScript/Syrup-UI

A pleasant React UI library based on TailwindCSS

[🚧 Early phase, still UNDER DEVELOPMENT]


Dependencies


Installation

  1. Install library
npm i syrup-ui
  1. 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
]
  1. Import CSS styles: in your main css file add the following import line:
@import "~syrup-ui/styles/styles.css";
  1. Wrap your app with the ThemeProvider
import {ThemeProvider} from 'syrup-ui';

<ThemeProvider>
    <Component {...pageProps} />
</ThemeProvider>

Customization

Documentation Soon

Contact

majid@sweetscript.com

Package Sidebar

Install

npm i syrup-ui

Weekly Downloads

0

Version

1.0.19

License

MIT

Unpacked Size

467 kB

Total Files

491

Last publish

Collaborators

  • sweetscript