🚀 DAY 5 OF LAUNCH WEEK:Introducing Webhook Events for Alert Changes.Learn more →
Socket
Book a DemoInstallSign in
Socket

@freshworks/react-nucleus

Package Overview
Dependencies
Maintainers
14
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@freshworks/react-nucleus

React UI Components for Freshworks

latest
Source
npmnpm
Version
0.3.1
Version published
Maintainers
14
Created
Source

react-nucleus

Build semantic-release

Nucleus design system in React based on Styled Components

Installation

Peer Dependencies to be installed

npm install styled-components

Install the package with github. Please ensure you are using a proper version tag or commit id.

Dont' install using the master branch or default url

npm install git+ssh://git@github.com/freshworksinc/react-nucleus.git@0.1.3

Usage

Here is a quick example to get you started, it's all you need:

import React from 'react';
import ReactDOM from 'react-dom';
import { Button } from 'react-nucleus';

function App() {
  return (
    <Button>
      Nucleus Button
    </Button>
  );
}

ReactDOM.render(<App />, document.querySelector('#app'));

Contribution

This project follows conventional commit messages using commitlint. Hence please adhere to the conventions for your commit messages.

Install Dependencies

npm install

Start the app using storybook

npm run storybook

Build react-nucleus Ui Core Components

npm run build

Generate a PAT with admin:org, write:packages, read:packages, delete:packages

Authenticate to npm github package

npm login --registry=https://registry.npmjs.org/

Publish the package to npm

npm publish

Deploy to Netlify

npm run deploy

Keywords

Nucleus

FAQs

Package last updated on 27 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts