5.1.0 • Published 4 months ago

@cloudwick/astral-ui v5.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

Astral UI

UI Library for Cloudwick

Version - 5.1.0

Installation

Install the package in your project directory with:

# With npm:
npm i @cloudwick/astral-ui

# With yarn:
yarn add @cloudwick/astral-ui

Requirements

This package has the following peer dependencies:

  • React ^18.3.1
  • React DOM ^18.3.1

Available Components

Astral UI provides the following components:

  • Accordion
  • ADPIcon
  • Avatar
  • AvatarGroup
  • Badge
  • Breadcrumbs
  • Button
  • Card
  • Checkbox
  • CheckboxGroup
  • CTAGroup
  • DataTable
  • DatePicker
  • Dropdown
  • EmptyState
  • FileUpload
  • Loader
  • Modal
  • OtpInput
  • Pagination
  • Panel
  • PanelGroup
  • PasswordField
  • Progress
  • Radio
  • RadioGroup
  • Scrollbar
  • Select
  • Tabs
  • Textarea
  • TextCopy
  • TextField
  • Toast
  • Toggle
  • Tooltip
  • Truncate

Tailwind CSS Configuration

Astral UI is built with Tailwind CSS. The library exports a Tailwind theme configuration that you can use in your project:

// In your tailwind.config.js
import { tailwindThemeConfig } from '@cloudwick/astral-ui';

export default {
  // Your existing config
  theme: {
    // Add Astral UI theme
    ...tailwindThemeConfig
  }
}

The theme includes configuration for:

  • Colors (primary, secondary, gray, error, success, warning)
  • Font families
  • Font sizes
  • Spacing
  • Border radius
  • Box shadows
  • Animations
  • And more

Documentation

For detailed documentation and examples of each component, please visit the documentation site.

Import Paths

You can import components as follows:

// Import from the main package
import { Button, Accordion, TextField } from '@cloudwick/astral-ui';

If you need tree-shaking, the main import still allows for proper tree-shaking by most modern bundlers.

5.1.0

4 months ago

5.0.3

5 months ago

5.0.2

5 months ago

5.0.1

5 months ago

5.0.0

5 months ago

4.0.0

5 months ago

3.0.7

6 months ago

3.0.6

6 months ago

3.0.5

8 months ago

3.0.4

8 months ago

3.0.3

8 months ago

3.0.2

9 months ago

3.0.1

9 months ago

3.0.0

9 months ago

2.2.0

9 months ago

2.1.0

9 months ago

2.0.0

10 months ago

1.0.0

11 months ago