A high-level UI React components library for Kylin-UI.
├── README.md # README
├── commitlint.config.cjs # Commlint config
├── docs # Vitepress address
├── _template # hygen template
├── .husky # husky hook
├── index.html
├── package.json
├── packages # Monorepo
├── cli # Command line tool
├── components # All components
├── hooks # Hooks
├── icon # Icon packages
├── preset # Kylin.config.js preset config
├── shared # Utils / helpers
├── stories # Storybook Folder
├── styled-system # styled-system theme define
└── theme # Style Folder
└── unocss # Unocss package
├── pnpm-lock.yaml
├── pnpm-workspace.yaml
├── public
├── scripts # Build cli helper
├── shims.d.ts # Declaration File
├── src
├── tsconfig.json
├── tsconfig.node.json
├── uno.config.ts
├── .editorconfig
├── .eslintrc.js
├── .gitignore
├── .prettierrc
├── vite.config.ts
└── vitest.config.ts
- Avatar (
styled-component
) - Badge (
styled-component
) - Button(
styled-component
)- ButtonGroup(
styled-component
)
- ButtonGroup(
- Divider(
styled-component
) - Card (
styled-component
) - Grid
- Row(
styled-component
) - Col(
styled-component
)
- Row(
- Layout(
No need
)- Header(
No need
) - Content(
No need
) - Footer(
No need
)
- Header(
- List(
styled-component
)- Item(
styled-component
)
- Item(
- Image(
styled-component
) - Input(
styled-component
)- Password(
styled-component
)
- Password(
- InputNumber(
styled-component
) - Message
- Space(
styled-component
) - Spin(
styled-component
) - Tag(
styled-component
) - ThemeProvider(
No need
) - Typography(
styled-component
)- Title(
styled-component
) - Text(
styled-component
) - Paragraph(
styled-component
)
- Title(
- Cli
- Component
- Hooks
- Icon
- Preset
- Shared
- Theme
- Rollup Options
npm install / yarn / pnpm install
npm run dev / yarn dev / pnpm run dev
TODO
-
Developer's experience(Most Import)
-
Render Performance
-
flexibility
-
Extensibility
-
The learning cost
If you would like to contribute to MyReactComponentLibrary, please follow these steps:
- Fork the project on GitHub to your account
- Clone your forked repository to your local machine
- Create a new branch, such as feature/new-component or fix/issue-123
- Make changes on the new branch
- Ensure the code follows the Coding Guidelines
- Run tests and ensure all tests pass
- Write commit messages following the Commit Guidelines
- Push the changes to your forked repository
- Create a pull request on GitHub to merge your branch into the main branch of the main repository
We will review your pull request as soon as possible. If there are any issues or changes needed, we will communicate with you in the comments. Once your contribution is accepted and merged, you will become a contributor to the project.
- Fork the project on GitHub to your account
- Clone your forked repository to your local machine
- You can use
hygen
to create a new component template, If you don't havehygen
, you can install it globally withnpm install -g hygen
- Then you can use
hygen component new {Your Component Name}
to create a new component template - Make changes on the new branch
- Ensure the code follows the Coding Guidelines
- Run tests and ensure all tests pass
- Write commit messages following the Commit Guidelines
- Push the changes to your forked repository
- Create a pull request on GitHub to merge your branch into the main branch of the main repository
Please follow these commit message guidelines:
- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 60 characters or less
- Reference issues and pull requests liberally
- Consider starting the commit message with an applicable emoji
If you have any questions, suggestions, or need help, feel free to reach out to us:
Email 邮箱: 1577310596@qq.com
Thank you for your contribution to Kylin-UI!