@fastia/ui
TypeScript icon, indicating that this package has built-in type declarations

0.1.31 • Public • Published

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.

Package Sidebar

Install

npm i @fastia/ui

Weekly Downloads

2

Version

0.1.31

License

MIT

Unpacked Size

4.59 kB

Total Files

8

Last publish

Collaborators

  • ronuss