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: prefixAccessibility
Keyboard navigation, focus management, screen reader support
Component Categories
UI Primitives (20 components)
Foundation components used throughout the application.| Component | Description |
|---|---|
Button | Primary, secondary, outline, and ghost variants |
Input | Text input with validation states |
Card | Content container with header, body, footer |
FormDialog | Standardized dialog for all forms |
Select | Dropdown selection with search |
Dialog | Modal overlay with focus trap |
Tabs | Tab navigation component |
Badge | Status indicators and labels |
Skeleton | Loading state placeholders |
DateRangePicker | Date range selection |
Agent Configuration (15 components)
Components for configuring AI call agents.| Component | Description |
|---|---|
ConfigureAgentPanel | Multi-tab agent configuration interface |
GeneralTab | Agent name, persona, greeting settings |
VoiceTab | Voice model and speech settings |
BusinessHoursTab | Operating hours configuration |
ServicesTab | Service offerings and pricing |
TransferTab | Call transfer destinations |
CallHandlingTab | Emergency keywords and behaviors |
ContextTab | Knowledge base and context documents |
Settings & Admin (34 components)
Team and organization management.| Component | Description |
|---|---|
OrganizationSettings | Main settings page container |
TeamSettings | Team member management |
InviteMemberDialog | Send team invitations |
StorageSettingsSection | Storage quota management |
ElevenLabsSettings | ElevenLabs API configuration |
TimeZoneDialog | Timezone selection |
BusinessHoursDialog | Business hours editor |
Conversation & Calls (17 components)
Call detail and history views.| Component | Description |
|---|---|
TranscriptViewer | Call transcript display |
AIAnalysisPanel | AI-generated call insights |
AudioPlayer | Call recording playback |
CustomerInfoCard | Customer details in call view |
BookingDetailsCard | Appointment information |
ConversationFilters | Filter calls by status, date, etc. |
JobEditDialog | Edit job/ticket details |
Dashboard (12 components)
Dashboard views for different user roles.| Component | Description |
|---|---|
MemberDashboard | Standard member view |
AdminDashboard | Admin-level dashboard |
OwnerDashboard | Owner dashboard with full stats |
JobCard | Job/ticket summary card |
CallSummaryCard | Recent call overview |
Inbox (8 components)
Call inbox and action management.| Component | Description |
|---|---|
QuickActionsBar | Primary CSR actions (callback, book, transfer, resolve) |
CallbackDialog | Schedule customer callbacks |
CreateBookingDialog | Book appointments |
TransferDialog | Transfer calls to technicians |
MarkResolvedDialog | Mark issues as resolved |
Customer Management (8 components)
Customer CRUD and history.| Component | Description |
|---|---|
AddCustomerDialog | Create new customer |
EditCustomerDialog | Update customer details |
CustomerNotesEditor | Edit customer notes |
CustomerTagsEditor | Manage customer tags |
CustomerCallHistory | View past calls |
Key Patterns
FormDialog Pattern
All create/edit dialogs use theFormDialog component for consistency:
Dark Mode Support
All components include dark mode variants:Props Interface Convention
Components follow the[ComponentName]Props naming convention:
Styling Standards
| Element | Light Mode | Dark Mode |
|---|---|---|
| Background | bg-white | dark:bg-zinc-900 |
| Surface | bg-zinc-50 | dark:bg-zinc-800 |
| Border | border-zinc-200 | dark:border-zinc-700 |
| Text Primary | text-zinc-900 | dark:text-zinc-100 |
| Text Secondary | text-zinc-500 | dark:text-zinc-400 |
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