Skip to main content

Components Overview

The Renchi AI platform includes 128 React components organized by feature area. All components are built with TypeScript, support dark mode, and follow consistent design patterns.

Design System

UI Primitives

Base components: Button, Input, Card, Dialog, Select, Tabs

FormDialog Pattern

Standard pattern for all create/edit dialogs with consistent styling

Dark Mode

Full dark mode support using Tailwind’s dark: prefix

Accessibility

Keyboard navigation, focus management, screen reader support

Component Categories

UI Primitives (20 components)

Foundation components used throughout the application.

Agent Configuration (15 components)

Components for configuring AI call agents.

Settings & Admin (34 components)

Team and organization management.

Conversation & Calls (17 components)

Call detail and history views.

Dashboard (12 components)

Dashboard views for different user roles.

Inbox (8 components)

Call inbox and action management.

Customer Management (8 components)

Customer CRUD and history.

Key Patterns

FormDialog Pattern

All create/edit dialogs use the FormDialog component for consistency:

Dark Mode Support

All components include dark mode variants:

Props Interface Convention

Components follow the [ComponentName]Props naming convention:

Styling Standards


Dependencies

  • @radix-ui - Dialog, Select, Popover primitives
  • class-variance-authority - Component variants
  • lucide-react - Icon library
  • Tailwind CSS - Utility-first styling
  • next-themes - Dark mode management