npm.io
0.1.31 • Published 3 years ago

@fastia/ui

Licence
MIT
Version
0.1.31
Deps
1
Size
4 kB
Vulns
0
Weekly
0

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.

Keywords