Skip to content

weloobe/aya-ui

Repository files navigation

Aya UI

Aya UI is an open-source UI component library for building AIGC web apps

English ใƒป ็ฎ€ไฝ“ไธญๆ–‡ ใƒป Changelog ยท Report Bug ยท Request Feature


Table of contents

TOC

๐Ÿ“ฆ Installation

Important

This package is ESM only.

To install Aya UI, run the following command:

$ bun add @ayahub/ui

Compile with NextJS

Note

By work correct with nextjs page router SSR, add transpilePackages: ['@ayahub/ui'] to next.config.js. For example:

// next.config.js
const nextConfig = {
  // ...other config

  transpilePackages: ['@ayahub/ui'],
};

๐Ÿคฏ Usage

Note

The AyaUI components are developed based on Antd, fully compatible with Antd components, and it is recommended to use antd-style as the default css-in-js styling solution.

import { ThemeProvider, Button } from '@ayahub/ui'
import { Button } from 'antd'

export default () => (
  <ThemeProvider>
    <Button>Hello AIGC</Button>
  </ThemeProvider>
)

โŒจ๏ธ Local Development

You can use Github Codespaces for online development:

Or clone it for local development:

$ git clone https://github.com/weloobe/aya-ui.git
$ cd aya-ui
$ bun install
$ bun start

๐Ÿค Contributing

Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what youโ€™re made of.

๐Ÿฉท Sponsor

Every bit counts and your one-time donation sparkles in our galaxy of support! You're a shooting star, making a swift and bright impact on our journey. Thank you for believing in us โ€“ your generosity guides us toward our mission, one brilliant flash at a time.

๐Ÿ”— More Products

  • ๐Ÿค– Aya Chat : An open-source, extensible (Function Calling), high-performance chatbot framework. It supports one-click free deployment of your private ChatGPT/LLM web application.
  • ๐Ÿคฏ Aya Theme : The modern theme for stable diffusion webui, exquisite interface design, highly customizable UI, and efficiency boosting features.
  • ๐ŸŒ Aya i18n : Aya i18n is an automation tool for the i18n (internationalization) translation process, powered by ChatGPT. It supports features such as automatic splitting of large files, incremental updates, and customization options for the OpenAI model, API proxy, and temperature.
  • ๐Ÿ’Œ Aya Commit : Aya Commit is a CLI tool that leverages Langchain/ChatGPT to generate Gitmoji-based commit messages.

๐Ÿ”— Credits


๐Ÿ“ License

Copyright ยฉ 2023 AyaHub.
This project is MIT licensed.

About

๐Ÿญ Aya UI - an open-source UI component library for building AIGC web apps

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages