nextui-org / nextui
- воскресенье, 30 января 2022 г. в 00:30:29
🚀 Beautiful, fast and modern React UI library.
Visit https://nextui.org/guide to get started with NextUI.
Visit https://nextui.org/docs to view the full documentation.
yarn add @nextui-org/react
# or
npm i @nextui-org/react
Go to the root of your application and do this:
import { NextUIProvider } from '@nextui-org/react';
const Application = () => (
<NextUIProvider>
<AppComponent /> // ---> Your App Component
</NextUIProvider>
);
import { Button } from '@nextui-org/react';
const Component = () => <Button>Click me</Button>;
import Button from '@nextui-org/react/button';
const Component = () => <Button>Click me</Button>;
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!
Contributions are always welcome!
See CONTRIBUTING.md
for ways to get started.
Please adhere to this project's CODE_OF_CONDUCT
.