An open API service indexing awesome lists of open source software.

https://github.com/kushalpraja/clioui

ClioUI
https://github.com/kushalpraja/clioui

components frontend-library js npm storybook ts

Last synced: 7 months ago
JSON representation

ClioUI

Awesome Lists containing this project

README

          

# CLIOUI

A React UI component library built with Radix UI and Tailwind CSS.

## Installation

```bash
npm install @yourscope/mojoui
```

## Setup

1. Install peer dependencies:
```bash
npm install tailwindcss @radix-ui/react-dialog @radix-ui/react-dropdown-menu @radix-ui/react-select @radix-ui/react-tabs @radix-ui/react-tooltip
```

2. Add to your tailwind.config.js:
```js
module.exports = {
content: [
'./node_modules/@yourscope/mojoui/dist/**/*.{js,ts,jsx,tsx}',
// ...your content paths
],
// ...rest of your config
}
```

## Usage

```tsx
import { Button, Dialog, Select } from '@yourscope/mojoui'

export default function App() {
return (

Click me

)
}

```

## Available Components

- Button
- Dialog
- Dropdown Menu
- Select
- Tabs
- Tooltip

## CLI Usage

Add components to your project:

```bash
npx mojoui add button
```

## Author ##

This libary was made by Kushal Prajapti. It is open-source
and it free to change/edit.
## License

MIT