avent-ui
Version:
The best UI library for Typescript and React
72 lines (51 loc) • 2.12 kB
Markdown
**Avent UI** is a React and TypeScript-based UI component library built on top of Tailwind CSS featuring beautiful designs and seamless animations. Built with modern web development in mind, it simplifies creating stunning user interfaces for your applications while offering full TypeScript support for a robust development experience.
```bash
npm install avent-ui
```
AventUI is built on top of Tailwind CSS, so you need to install Tailwind CSS first. You can follow the official [installation guide](https://tailwindcss.com/docs/installation) to install Tailwind CSS. Then you need to add the following code to your tailwind.config.js file:
```jsx
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
// make sure it's pointing to the ROOT node_module
"./node_modules/avent-ui/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {},
},
plugins: [],
}
```
```jsx
import React from 'react';
import { Magneto } from 'avent-ui';
```
```jsx
<Magneto>
That simple!!
</Magneto>
```
<br/>
We gotchu! If you only need a particular component, you can install it individually to save bundle size:
```jsx
npm install @avent-ui/component-name
```
and follow the regular installation instruction <br/>
**Note:** Each component comes with unique properties and usage patterns. For detailed information and examples, please refer to the documentation specific to each component.
[](src/components/Magneto/README.md) <br/>
[](src/components/ham-menu/README.md) <br/>
[](src/hooks/useRenderEnv/README.md)
[](src/context/Page%20Transition/README.md)