Introduction
SIGEAC’s component library is a production-ready collection of 395+ components designed specifically for aviation management systems. Built on top of modern React patterns and industry-standard UI primitives, it provides a cohesive design system for building enterprise applications.Technology Stack
The component library leverages best-in-class technologies:- React 18+ with TypeScript for type safety
- shadcn/ui for accessible, customizable components
- Radix UI primitives for robust accessibility
- Tailwind CSS for utility-first styling
- Recharts for data visualization
- TanStack Table for advanced data grids
- React Hook Form with Zod validation
Design System
Color Palette
SIGEAC uses a semantic color system with full dark mode support:Typography
The design system uses system fonts with fallbacks:- Headings: Bold, 14-18px on mobile, 16-24px on desktop
- Body: Regular, 14px base size
- Labels: Medium weight, 12-14px
Component Categories
Forms
Multi-step forms with validation, employee creation, aircraft management, and course registration.
Tables
Advanced data tables with sorting, filtering, pagination, and column visibility controls.
Dialogs
Modal dialogs for create/edit operations, confirmations, and image galleries.
Charts
Data visualization with bar charts, pie charts, line charts, and multi-series graphs.
Sidebar
Collapsible navigation with role-based menu items and nested submenus.
Navigation
Headers, breadcrumbs, user menus, and company selection components.
Key Features
Accessibility
All components follow WCAG 2.1 AA standards:- Keyboard navigation support
- Screen reader announcements
- Focus management
- ARIA attributes
- Color contrast compliance
Internationalization
Components are built for Spanish (primary) with English support:Responsive Design
Components adapt seamlessly across devices:- Mobile-first: Optimized for small screens
- Breakpoints: sm (640px), md (768px), lg (1024px), xl (1280px)
- Touch-friendly: Adequate tap targets (min 44x44px)
- Adaptive layouts: Flex/grid systems that reflow
Type Safety
Full TypeScript coverage ensures type safety:Component Organization
Getting Started
Each component page includes:- Purpose and use cases - When to use the component
- API reference - Props, types, and interfaces
- Code examples - Real implementations from the codebase
- Best practices - Patterns and conventions
Next Steps
Start exploring specific component categories using the navigation menu.
Design Principles
Consistency
Components share common patterns:- Unified prop naming (
className,variant,size) - Consistent event handlers (
onSuccess,onChange,onClick) - Standardized loading states with
Loader2spinner - Common form validation with Zod schemas
Composition
Components are designed to be composed:Performance
Optimized for production:- React 18 concurrent features
- Memoized computations with
useMemo - Lazy loading for heavy components
- Efficient re-renders with proper dependencies
Browser Support
- Chrome/Edge (last 2 versions)
- Firefox (last 2 versions)
- Safari (last 2 versions)
- Mobile Safari (iOS 14+)
- Chrome Android (last 2 versions)
