0.0.77 • Published 8 months ago

katalyst-riya-test v0.0.77

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

Katalyst Component Library

Step 1: Installation

Begin by installing the Katalyst Component Library via npm:

npm i @atomos_tech/katerpillar

Step 2: Import CSS

Import the library's CSS in your root page to apply the default styles:

import "@atomos_tech/katerpillar/style";

Step 3: Configure Tailwind

You can set up the Tailwind CSS configuration by following the instructions provided here.

Step 4: Usage

With the library set up, you can start using the provided components. Below are examples of how to implement the Button and Chip components.

Import Components

Import the required components from the @atomos_tech/katerpillar package:

import { Button, Chip } from "@atomos_tech/katerpillar";

Example Usage

Here is how you can integrate the Button and Chip into your page:

<Button
    size={"sm"}
    variant={"primary-light"}
>
    Button
</Button>
<Chip
    variant="primary"
    size="md"
>
    Primary
</Chip>

Example Page

Here's an example of how you might set up a simple page using the library:

import { Button, Chip } from "@atomos_tech/katerpillar";

export default function ExamplePage() {
  return (
    <div className="p-4">
      <h1 className="text-2xl font-bold mb-4">Katalyst Example</h1>
      <Button
        size={"sm"}
        variant={"primary-light"}
      >
        Button
      </Button>
      <Chip
        variant="primary"
        size="md"
      >
        Primary
      </Chip>
    </div>
  );
}
0.0.77

8 months ago

0.0.25

8 months ago

0.0.24

8 months ago

0.0.23

8 months ago

0.0.22

8 months ago

0.0.21

8 months ago

0.0.20

8 months ago

0.0.19

8 months ago

0.0.18

8 months ago

0.0.17

8 months ago

0.0.16

8 months ago

0.0.15

8 months ago

0.0.14

8 months ago

0.0.13

8 months ago

0.0.12

8 months ago

0.0.11-alpha

8 months ago

0.0.10-alpha

8 months ago

0.0.69

8 months ago

0.0.66

8 months ago

0.0.34

8 months ago

0.0.33

8 months ago

0.0.2

8 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago