0.1.31 • Published 7 months ago
@fastia/ui v0.1.31
Fastia
Fastia is a lightweight library of React components styled with Tailwind CSS, designed to speed up your web development projects.
Fastia requires Tailwind CSS to be installed in your project, as it's uses Tailwind's classes.
Installation
To get started with Fastia, you can easily install it using npm or yarn:
npm install @fastia/ui
# or
yarn add @fastia/ui
Usage
<FastiaButton>
Props
color
(string, required): Sets the color of the button. Available options are:- "yellow"
- "red"
- "green"
- "gray"
- "blue"
Example
import React from "react";
import { FastiaButton } from "@fastia/ui";
function MyComponent() {
return (
<div>
<FastiaButton color="blue">Click me</FastiaButton>
</div>
);
}
License
Fastia is released under the MIT License.