Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/russellwzr/russell-react-ui

A Toy React Components Library Built by TypeScript. Just for personal practice~
https://github.com/russellwzr/russell-react-ui

react reactjs

Last synced: about 1 month ago
JSON representation

A Toy React Components Library Built by TypeScript. Just for personal practice~

Awesome Lists containing this project

README

        

# Russell-React-UI ๐Ÿ‘‹

Welcome to Russell-React-UI, a toy component library powered by React and TypeScript~

## โœจ Features

- ๐Ÿ“ฆ A set of out-of-box [React](https://react.dev/) components, allowing you to easily build beautiful and user-friendly interfaces.
- ๐Ÿงฉ Most of the components support custom rendering by the user, providing a certain degree of flexibility.
- ๐Ÿ›ก๏ธ Written in [TypeScript](https://www.typescriptlang.org/) with predictable static types to enhance code maintainability and readability.
- ๐Ÿ“ Interactive documentation built with [Storybook](https://storybook.js.org/), allowing you to quickly learn how to use each component and its properties.
- ๐ŸŽจ Powerful theme customization based on [Sass](https://sass-lang.com/) to easily customize your component library styles.
- ๐Ÿž Tested with [Jest](https://jestjs.io/) and [React Testing Library](https://testing-library.com/) to ensure every component works as expected.
- ๐Ÿงน Ensuring code cleanliness with the use of [ESLint](https://eslint.org/), [Prettier](https://prettier.io/), and [Husky](https://typicode.github.io/husky) pre-commit check.
- ๐Ÿค– The above content is automatically generated by [ChatGPT](https://chat.openai.com/) based on the introduction of [ant-design](https://github.com/ant-design/ant-design).

## ๐Ÿ“ฆ Install

```
npm i russell-react-ui
```

## ๐Ÿš€ Quick Start

```javascript
import React from 'react'
import 'russell-react-ui/dist/index.css'
import { Select } from 'russell-react-ui'

const Option = Select.Option
function App() {
const args = {
multiple: true,
placeholder: 'Multiple Select',
maxTagCount: 2,
defaultValue: ['first option', 'second option', 'third option', 'fourth option'],
}
return (













)
}

export default App
```

## ๐ŸŒ Online Demo

https://russellwzr.github.io/russell-react-ui/

## ๐Ÿ•Š๏ธ Future Work

Will continue adding new components and updating existing ones, if there's free time and no gugugu๐Ÿ•Š๏ธ......