Skip to content

alancleyton/awesome-ui

Repository files navigation

Awesome UI ✨

A Awesome React component library based on Tailwind CSS


GitHub License GitHub Actions Workflow Status GitHub Release


This lib provides ready-to-use, accessible, reusable, and composable React UI components based on the Tailwind CSS framework utility classes.

Installation

# with Yarn
$ yarn add @alancleyton67/awesome-ui

# with npm
$ npm i @alancleyton67/awesome-ui

Usage

  1. To start using the components, on your application entry point, import the CSS file.
// Do this at the root of your application
import '@alancleyton67/awesome-ui/dist/index.css';
  1. Start using the components in your application
import { Button } from '@alancleyton67/awesome-ui';

const App = () => {
  const onPress = () => alert('On pressed!')

  <div>
    <Button variant="info" onPress={onPress}>
      info button
    </Button>
  </div>
};

export default App;

License

MIT