chaya-ui v1.0.0-beta.89
Chaya UI provides a wide range of modern, data-first components that help you build your SaaS applications faster, and with less code. Our components are designed to be minimal, modern, and fully accessible, and are built on top of best-in-class tools/libraries like TypeScript, Tailwind CSS, Radix Primitives, etc.
- 40+ UI components, 4+ hooks, and even more to come
- Built with TypeScript, fully typed
- Styled with Tailwind CSS (v3)
- Supports Dark Mode & Custom Theming
Looking to Explore?
Checkout examples from our Storybook: chaya.traboda.com
Installing Chaya
- Install the package by running -
npm install chaya-uior with yarn, as
yarn add chaya-uiSetting Up & Usage
To start using the components, please follow the below steps:
Wrap your Application in a
ChayaProviderprovided bychaya-uiimport { ReactNode } from "react"; import { ChayaProvider } from 'chaya-ui'; const AppView = ({ children }: { children: ReactNode }) => ( <ChayaProvider> {children} </ChayaProvider> );Update your
tailwind.config.jsto process styles for components fromchaya-uiconst theme = require('chaya-ui/tailwind-theme'); /** @type {import('tailwindcss').Config} */ module.exports = { content: [ 'node_modules/chaya-ui/**/*.js', // ... ], // ... theme: { extend: theme, }, // ... };Import the components from
chaya-uiand use them in your application.import { Button } from 'chaya-ui'; const App = () => ( <Button onClick={() => console.log('I was clicked')} variant="outline" color="danger" > Click Me </Button> );
Development Guide
We use npm as the package manager
npm run devThis will start the storybook and loads the stories from ./stories at localhost:6006.
The package can be build using the command:
npm run buildType checks and linting commands are also available in the package
npm run lint
npm run type-checkCredits
- Icons used in the package are from Remix Icons.
Contributions
Contributions are welcome. Please open an issue or a PR.
Licensing
This project is licensed under the GNU General Public License V3.
11 months ago
11 months ago
1 year ago
1 year ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
2 years ago
3 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago