@aura-group/aura-design
TypeScript icon, indicating that this package has built-in type declarations

0.3.16 • Public • Published

Aura Design Web Components

Our AI Component Library is designed to provide a seamless integration of AI capabilities into your web applications. Built with SolidJS and Web Components, our library offers a simple and clean solution for incorporating advanced AI features into your projects.

Key Features

  1. Effortless Integration: Easily add AI components to your web applications without complex setup or configuration.

  2. High Performance: Utilizing SolidJS for efficient rendering and Web Components for encapsulation, our library ensures high performance.

  3. Customizable: Tailor the AI components to suit your specific requirements with easy customization options.

  4. Modern Design: The components are designed with a modern and sleek interface, enhancing the overall user experience.

  5. Scalable: Whether you're building a small project or a large-scale application, our AI Component Library scales effortlessly.

  6. UI Agnostic: Supports React, Preact, Svelte, Vue, Solid, Lit, HTMX, and more.

Installation

You can install the Aura Design Library via npm. Simply run the following command in your project directory:

npm install @aura-group/aura-design @aura-group/aura-design-pro

Usage

To use the components from the Aura Design Library in your project, you can import them as follows:

// Aura Design Web Components
import {
    defineCustomElements,
    registerIcon,
    Icon,
    Button,
    Card,
    ChatBubble,
    FlexBox,
    LayoutGrid,
    Textarea,
    Textfield,
} from '@aura-group/aura-design';
// Register svg icon
registerIcon('/iconfont.svg');
// Define the component which you need
// Use defineCustomElements() will define all the components
defineCustomElements({
    Icon,
    Button,
    Card,
    ChatBubble,
    FlexBox,
    LayoutGrid,
    Textarea,
    Textfield,
});

// Aura Design Pro Web Components
import { defineCustomElements as defineCustomElementsPro } from '@aura-group/aura-design-pro';
defineCustomElementsPro()

// Theme and style
import '@aura-group/aura-design/dist/style.css'

Documentation

For detailed documentation on each component and their props, please refer to the official documentation.

Contributing

We welcome contributions to the Aura Design Library! If you have any ideas, bug fixes, or improvements, feel free to open an issue or submit a pull request on our GitHub repository.


Package Sidebar

Install

npm i @aura-group/aura-design

Weekly Downloads

40

Version

0.3.16

License

MIT

Unpacked Size

125 kB

Total Files

31

Last publish

Collaborators

  • niuzhiwei