Skip to content

praveen-murali-ind/neeto-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM JavaScript Style Guide

neetoUI is the library that drives the experience in all neeto products built at BigBinary.

Installation

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
    </>
  );
};

Development

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.

Building

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.

Documentation

Read the docs here

https://neetoui.onrender.com

Other Libraries

  • neetoIcons: NeetoIcons is the official icons library from BigBinary.
  • neetoEditor: NeetoEditor is a prose-mirror based rich-text editor used at BigBinary.

About

A component library from BigBinary.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 81.1%
  • SCSS 13.9%
  • MDX 4.6%
  • Other 0.4%