anidesign
v1.0.0
Published
Đây là một thư viện UI, giúp cải thiện quá trình tạo giao diện người dùng.
Downloads
74
Maintainers
Readme
Welcome to ANI DESIGN ⚡️
Works out of the box. Ani Design contains a set of polished React components that work out of the box.
Flexible & composable. Ani Design components are built on top of a React UI Primitive for endless composability.
Accessible. Ani Design components follows the WAI-ARIA guidelines specifications.
Dark Mode 😍: All components are dark mode compatible.
Looking for the documentation?
https://ui.ani2am.me/
Jointly develop the project
https://github.com/fo-nhan/Ani-Design
Installing Ani Design
⚡️ANI DESIGN is made up of multiple components and tools which you can import
one by one. All you need to do is install the @anidesign
package:
$ yarn add anidesign
# or
$ npm install --save anidesign
Getting set up
To start using the components, please follow these steps:
- Wrap your application in a
ThemeProvider
provided by anidesign
import { ThemeProvider } from "anidesign";
const App = ({ children }) => (
<ThemeProvider>
<div>{children}</div>
</ThemeProvider>
);
- Import
styles
provided by anidesign
import "anidesign/src/styles/config.css";
const App = ({ children }) => (
<ThemeProvider>
<div>{children}</div>
</ThemeProvider>
);
- Now you can start using components like so!:
import { Button } from "anidesign";
const App = () => <Button>I just consumed some ANI DESIGN!</Button>;