Public components for krtech-ui. (shorname is KUI)

Overview

React Library Template (TypeScript)

GitHub license PRs Welcome

Instantly create TypeScript-based React Component Library with this open-source template repo.

Get Started

To use this repo template properly, please make sure you update the following files in your repo.

./
  AUTHORS
  MAINTAINERS

  src/
    components/        // Your React Components here

Step 1 - Login to NPM

To get started, you must have an account with npmjs.com. If you don't have an account, you can sign up for one here: https://www.npmjs.com/signup. Then, login into your npm account using CLI.

npm login

Step 2 - Update package.json

Update package.json with your NPM package information. Please make sure to update the following fields:

File: package.json

{
  "name": "example-react-library",
  "author": "your-username",
  "version": "0.0.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/user/repository.git"
  },
  "author": "User Name (https://website.com)",
  "bugs": {
    "url": "https://github.com/user/repository/issues"
  },
  "homepage": "https://github.com/user/repository#readme"
}

Tip: Do a Quick Search to find a package name that's unique and available.

Step 3 - Build & Deploy

Use the following command to build your components into dist folder, that is automatically created in build process.

yarn build

Once, you're done building, you can deploy your package to NPM Registry by running the following command in CLI.

npm publish

Step 4 - Update

To update the NPM Package, increase the version number in package.json.

{
  "version": "0.1.0"
}

And run the following command in CLI to publish an update for your NPM package.

npm publish

Step 5 - Install new Component Library.

Once, the package is published, you can run the following command in CLI to install the package to any React project:

npm i example-react-library

OR -

yarn add example-react-library

Replace example-react-library with the name of your NPM package.

Step 6 - Use the new Component Library.

Once, you have installed the new React component library, you can use it in your project by importing it in your App.js or any .js / .jsx files.

+ import { Box } from "example-react-library";
import "./App.css";

function App() {
  return (
    <div className="App">
+      <Box>A Component from my new React Library</Box>
    </div>
  );
}

export default App;

Contributing

We'd love to accept your patches and contributions to this project. There are just a few guidelines you need to follow.

Code of Conduct

This project follows Contributor Covenant as it's Code of Conduct, and we expect all project participants to adhere to it. Please read the full guide so that you can understand what actions will not be tolerated.

Contributing Guide

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to project.

LICENSE

This project is licensed under the MIT License, meaning that you're free to modify, distribute, and / or use it for any commercial or private project.

You might also like...

🪐 The IPFS gateway for NFT.Storage is not "another gateway", but a caching layer for NFTs that sits on top of existing IPFS public gateways.

nftstorage.link The IPFS gateway for nft.storage is not "another gateway", but a caching layer for NFT’s that sits on top of existing IPFS public gate

Dec 19, 2022

🚌 • community maintained APIs for Poland's public transport

🚌 • community maintained APIs for Poland's public transport

🚌 Poland's Public Transport API Simple, open and community-maintained REST API you can use in your project limitlessly. 💬 Let's talk · 🖥 Contribute

Dec 24, 2022

The mitosheet package, trymito.io, and other public Mito code.

The mitosheet package, trymito.io, and other public Mito code.

Mito Monorepo Mito is a spreadsheet that lives inside your JupyterLab notebooks. It allows you to edit Pandas dataframes like an Excel file, and gener

Dec 21, 2022

🎒 Accessible and extremely useful website for public school in Poland, built on fun and modern stack.

🎒 Accessible and extremely useful website for public school in Poland, built on fun and modern stack.

✨ Strona Szkolna 🎯 Zadania · 💡 Pomysły Struktura 📁 apps 📁 backend: headless CMS (API) używający Strapi, które umożliwia dowolne typy contentu, np.

Dec 21, 2022

🍺 A public REST API for retrieving information about Systembolaget's products, and which products that are available in which store

🍺 systembolaget-api A public REST API for retrieving information about Systembolaget's products, and which products that are available in which store

Nov 22, 2022

This project scans yandex disk folders that are open to public sharing and allows you to download their contents.

This project scans yandex disk folders that are open to public sharing and allows you to download their contents.

kitapbar.com Development start mongodb server docker-compose -f docker-compose.dev.yaml up -d yandex service cd services/yandex create a .env file by

Oct 15, 2022

🚌 A Node.js API to access public transport information in Lisbon using data provided by Carris Metropolitana

🚌 Carris Metropolitana API A Node.js REST API built to easily access and search public transport information in Lisbon using data provided by Carris

Jun 21, 2022

Employee Management System is a web application developed using Django(Backend) which manages the record of employees, their salary, attendance. publish public notices, assign works to employees, make requests to employees.

Employee Management System is a web application developed using Django(Backend) which manages the record of employees, their salary, attendance. publish public notices, assign works to employees, make requests to employees.

Employee_Management_System Employee Management System is a web application developed using Django(Backend) which manages the record of employees, thei

Dec 16, 2022

Public project to perform migrations on mysql database.

node-mysql-migrate Public project to perform migrations on mysql database. How to run First step, install the dependency for your project. To make it,

Aug 16, 2022
Owner
null
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Components and tools for building DeFi dapps on Solana + Anchor. Public domain license.

Solana DeFi Framework Components and tools for building DeFi dapps on Solana + Anchor. Public domain license. Status Pre-pre-pre-alpha. Contributing A

null 4 Mar 28, 2022
科技风智慧城市 Demo: http://stonerao.com/public/city/

Three.js Setup Download Node.js. Run this followed commands: # Install dependencies (only the first time) npm install # Run the local server at local

rao_yan 120 Dec 2, 2022
A yearly review of your public GitHub repository stats.

Repos Wrapped A yearly review of your public GitHub repository stats. View your stats Endpoints require trailing slashes Append your GitHub username t

Stephanie Eckles 10 Jul 29, 2022
Search your code and 2M+ public repositories on Sourcegraph directly within Raycast.

Sourcegraph for Raycast Search your code and 2M+ public repositories on Sourcegraph directly within Raycast. Install · Setup · Commands · Issues · Cha

Robert Lin 5 Jul 10, 2022
Hubble Public data - TypeScript API

Hubble Public API Hubble Public API is a TypeScript API that serves public data of the Hubble Protocol. Development Local API Setup You will need to u

null 4 Dec 15, 2022
Authentication module for Guild.xyz Public API

Guild SDK for TypeScript | WIP Application • ę Twitter • Docs • Community Roadmap • Github • Summary The Guild SDK library is a Typescript library for

Agora.xyz 37 Dec 21, 2022
Allows the public to easily report and track the geolocation of anyone or anything they spot outside, using a mobile app or web frontend.

LIVE DEMO: https://armytracker.com/ (tracking the invading Russian army in Ukraine) Attention: - If you'd like to help the project either as a program

Michal Certicky 9 Mar 27, 2022
A wrapper client for Strike's public API.

node-strike A wrapper client for Strike's public API. Usage Import the wrapper and instantiate a client. import { NodeStrike } from 'node-strike'; //

hodlone 5 Apr 28, 2022