Components Overview

Alquimia UI follows the Atomic Design methodology, organizing components into a hierarchical structure that promotes reusability and maintainability.

Component Structure

components/
├── atoms/        # Basic building blocks
├── molecules/    # Compound components
├── organisms/    # Complex UI patterns
└── templates/    # Page-level layouts

Atomic Design Hierarchy

Atoms

Fundamental building blocks of the interface. These are the smallest possible components that can be reused.

import { Button } from '@alquimia-ai/ui/components/atoms'
import { Input } from '@alquimia-ai/ui/components/atoms'

Available components:

  • Input

  • Select

  • Avatar

  • ScrollArea

  • Dialog

  • Tabs

  • Button

  • Checkbox

  • Label

  • Switch

  • Toggle

  • Tooltip

Molecules

Combinations of atoms that form more complex components.

Available components:

  • Document Viewers

    • PDF Viewer

    • Plain Text Viewer

  • Rich Text Components

  • Navigation Menu

  • Toast Notifications

Organisms

Complex UI components composed of molecules and/or atoms.

Available components:

  • Complex Forms

  • Data Tables

  • Navigation Systems

  • Document Management Interfaces

Component Standards

All components follow shadcn's standards and are built with:

  • Chat Assistant and document viewer oriented components

  • Radix UI primitives for accessibility

  • Tailwind CSS for styling

  • TypeScript for type safety

  • CSS variables for theming

Styling System

Components use a consistent styling approach:

Dependencies

Our components are built with the following core dependencies:

Usage Example

Next Steps

Last updated