neetoUI is the library that drives the experience in all neeto products built at BigBinary.
yarn add @bigbinary/neetoui
This would install neetoui
package inside your application.
Starting 3.0.x
, neetoUI stylesheet has been separated from the bundle. To get the styles working, please import the neetoUI stylesheet to your main scss
entry point.
@import "@bigbinary/neetoui";
neetoUI has few peer dependencies which are required to use neetoUI properly. Install the peer dependencies using the below command:
neetoUI depends on react-toastify
for Toasters, so the styles for toaster must be imported to your main scss
entry point.
@import "react-toastify/dist/ReactToastify.min.css";
Also make sure to include <ToastContainer />
in your application.
import React from "react";
import { ToastContainer } from "react-toastify";
const App = () => {
return (
<>
<ToastContainer />
// Other children
</>
);
};
Install all the dependencies by executing following command.
yarn
You can create new components in the lib/components
and export them from lib/index.js
.
Running the yarn storybook
command starts a storybook app. Use this application to test out changes. Note that nothing in the stories
folder will be bundled with neetoUI.
neetoUI gets auto-published to npm on new commit to main. You can checkout the publish
workflow in git actions to get a live update.
Read the docs here
- neetoIcons: NeetoIcons is the official icons library from BigBinary.
- neetoEditor: NeetoEditor is a prose-mirror based rich-text editor used at BigBinary.