Component Categories
Buttons
Interactive button components for user actions.- DButton - Primary button component with variants, icons, and loading states
- DButtonIcon - Icon-only button for compact interfaces
Inputs
Form input components for data collection.- DInput - Standard text input with icon support
- DInputMask - Masked input for formatted data
- DInputPassword - Password input with show/hide toggle
- DInputPin - PIN code input with multiple characters
- DInputCheck - Checkbox and radio input
- DInputSwitch - Toggle switch component
Forms
Advanced form controls for selection and range inputs.- DInputSelect - Native select with icon support
- DInputRange - Range slider with value indicator
- DSelect - Advanced select with react-select integration
Layout
Structural components for organizing content.- DCard - Card container with header, body, and footer
- DLayout - Grid-based layout system with responsive gaps
- DBox - Simple container component
Feedback
Components for user feedback and status indication.- DAlert - Alert messages with color variants
- DToast - Toast notifications
- DProgress - Progress bar with percentage display
- DDataStateWrapper - Loading, error, and empty state handler
Data Display
Components for displaying formatted data.- DAvatar - User avatar with initials support
- DBadge - Badge for labels and status indicators
- DCurrencyText - Formatted currency display
- DCreditCard - Credit card display component
- DVoucher - Voucher/receipt component with share/download
- DTimeline - Timeline component for sequential events
Navigation
Components for navigation and pagination.- DTabs - Tabbed interface with variants
- DPaginator - Pagination controls
- DStepper - Step indicator for multi-step processes
Overlays
Overlay components for modals, popovers, and tooltips.- DModal - Modal dialog with animations
- DOffcanvas - Offcanvas panel from any edge
- DPopover - Popover with floating UI
- DTooltip - Tooltip with customizable triggers
- DDropdown - Dropdown menu with actions
Common Props
Most components share common props from theBaseProps interface:
TypeScript Support
All components are written in TypeScript and include full type definitions. Import types directly from the component files:Accessibility
All components follow WCAG 2.1 guidelines and include:- Proper ARIA attributes
- Keyboard navigation support
- Screen reader compatibility
- Focus management
Customization
Components can be customized through:- CSS class names via
classNameprop - Inline styles via
styleprop - Data attributes via
dataAttributesprop - Component-specific variant props