Component Library Overview

Overview of Certexi's component library with 112+ widgets, 53 form fields, and 42 UI primitives built on Radix UI and Tailwind CSS.

Last updated: 2025-02-18

Component Library Overview

Certexi ships with an extensive component library built on Radix UI primitives and Tailwind CSS. The library provides everything needed for enterprise logistics applications — from basic UI primitives to domain-specific widgets.

Live Dashboard Preview

See the component library in action — the KPI dashboard composes Cards, Badges, Progress bars, and custom chart components into a real operational view.

certexi.com/app/dashboard/kpi
Loading interactive demo...

KPI dashboard — animated counters, utilization trends, and throughput charts built entirely from library components.

Library Statistics

CategoryCountDescription
UI Primitives42Buttons, inputs, dialogs, cards, alerts
Form Fields53Text, number, date, select, file upload, custom fields
Widgets112+Charts, media, IoT, Nextcloud, automation
Total200+Production-ready components

Architecture

The component library follows a layered architecture:

Loading diagram…

Design System

Foundation

  • Typography: Inter font family with 6 weight variants
  • Colors: Slate-based neutral palette with blue primary, configurable via CSS variables
  • Spacing: 4px grid system (0.25rem base)
  • Borders: Consistent 1px borders with configurable radius
  • Shadows: 5-level elevation system

Theming

All components support dark mode via Tailwind's dark: variant. The theme is controlled at the application level and persists across sessions.

Accessibility

  • WCAG 2.1 AA compliant
  • Full keyboard navigation support
  • Screen reader compatible (ARIA attributes)
  • Focus indicators on all interactive elements
  • Reduced motion support via prefers-reduced-motion

Component Categories

UI Primitives

Core building blocks. All primitives documented and available in the playground:

ComponentDescription
ButtonPrimary, secondary, outline, ghost, link variants
InputText, number, email, password inputs
TextareaMulti-line text input
LabelForm labels with accessibility
CardCard, CardHeader, CardTitle, CardDescription, CardContent
BadgeStatus and count badges
AlertAlert, AlertTitle, AlertDescription
DialogModal with DialogTrigger, DialogContent, DialogHeader, DialogFooter
SelectSelectTrigger, SelectValue, SelectContent, SelectItem, SelectGroup, SelectLabel
TabsTabs, TabsList, TabsTrigger, TabsContent
ProgressProgress bar (value/max)
TooltipHover tooltips
Dropdown MenuContext menus
AccordionCollapsible sections
AvatarUser avatars
SeparatorVisual dividers
SwitchToggle switch
CheckboxCheckbox input
Radio GroupRadio button groups
SliderRange slider
CalendarDate picker
PopoverPopover content
CollapsibleExpand/collapse content
SkeletonLoading placeholders
Scroll AreaCustom scrollbars
Theme ToggleDark/light mode
Language SelectorLocale switcher (es/en)

Form Fields

Schema-driven form system with 53 field types, built-in validation, and automatic layout. Supports JSON Schema and Zod-based validation.

Widgets

Domain-specific components organized by category: charts, media players, social integrations, IoT controls, Nextcloud connectors, and automation tools.

Interactive Playground

Live component demos with editable props and real-time preview.

Usage

All components are imported from the project's component directories:

// Primitives
import { Button } from '@/components/ui/button';
import { Card, CardHeader, CardContent } from '@/components/ui/card';
import { Dialog, DialogContent, DialogTrigger } from '@/components/ui/dialog';

// Form fields
import { Input } from '@/components/ui/input';
import { Select, SelectContent, SelectItem } from '@/components/ui/select';

// Domain widgets
import { MotionClipControl } from '@/components/iot/motion-clip-control';
import { UtilizationWidget } from '@/components/whms/dashboard/utilization-widget';
Component Library Overview | Certexi Docs