@alancleyton67/awesome-ui
v0.11.1
Published
Awesome Movie Database (AMDB) - React component library using Tailwind CSS
Downloads
220
Readme
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
- 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';
- 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