0.2.1 • Published 8 months ago

ginga-ui v0.2.1

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

Ginga UI

version

Ginga UI is an UI component library for React. This libarary is using LLM to styling components. Components will design based on the Website contents or user's prompt.

Installation

1. Install the package

npm install ginga-ui

2. Import CSS file

@import "ginga-ui/dist/style.css";

3. Import components

import { Button } from "ginga-ui";

function App() {
  return <Button>Button</Button>;
}

Theme Generation

You can generate with your own theme by using createTheme function.

import { createTheme } from "ginga-ui";

const handleClick = createTheme({
  prompt: "the image of you thought",
  apiKey: "YOUR_OPEN_AI_KEY",
});

function App() {
  return <Button onClick={handleClick}>Button</Button>;
}
0.2.1

8 months ago

0.2.0

8 months ago

0.1.0

8 months ago

0.1.1

8 months ago

0.0.0

8 months ago