Skip to content
/ nextui Public
forked from heroui-inc/heroui

πŸš€ Beautiful, fast and modern React UI library.

License

Notifications You must be signed in to change notification settings

lyohe/nextui

This branch is 133 commits ahead of, 1680 commits behind heroui-inc/heroui:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

69456c6 Β· Mar 27, 2023
Aug 28, 2022
Jun 19, 2022
Mar 27, 2023
Jan 7, 2023
Mar 27, 2023
Aug 26, 2022
Apr 24, 2021
Jun 19, 2022
Dec 23, 2021
Jun 19, 2022
Jan 7, 2023
Jan 2, 2022
Apr 25, 2021
Mar 21, 2022
Apr 22, 2021
Jan 1, 2022
Apr 22, 2021
Dec 21, 2022
Jul 15, 2022
Jun 19, 2022
Feb 7, 2022
Aug 3, 2022
Jan 2, 2023

Repository files navigation

nextui

NextUI


License codecov badge CI/CD nextui npm downloads

Deployed on vercel

NOTE: This is a community project, not associated with Vercel, but does get some inspiration from there.

Warning 🚧: This project is still in development, it might have bugs and breaking changes so it is not recommended to use it in production.

Getting Started

Visit https://nextui.org/guide to get started with NextUI.

Documentation

Visit https://nextui.org/docs to view the full documentation.

Quick Start

  1. Installation: Inside your React project directory, install NextUI by running either of the following:
yarn add @nextui-org/react
# or
npm i @nextui-org/react
  1. Setup: For NextUI to work correctly, you need to set up the NextUIProvider at the root of your application.

Go to the root of your application and do this:

import {NextUIProvider} from '@nextui-org/react';

const Application = () => (
  <NextUIProvider>
    <AppComponent /> // ---> Your App Component
  </NextUIProvider>
);
  1. Using NextUI components: Once NextUI is installed you can use any of the components as follows. NextUI uses tree-shaking so the unused modules will not be included in the bundle during the build process and each component is exported separately.
import {Button} from '@nextui-org/react';

const Component = () => <Button>Click me</Button>;
  1. NextUI allows to manually import components if you need. E.g.
import Button from '@nextui-org/react/button';

const Component = () => <Button>Click me</Button>;

Community

We're excited to see the community adopt NextUI, raise issues, and provide feedback. Whether it's a feature request, bug report, or a project to showcase, please get involved!

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE_OF_CONDUCT.

License

MIT

About

πŸš€ Beautiful, fast and modern React UI library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.1%
  • JavaScript 1.7%
  • Other 1.2%