| Prop | Type | Required | Description |
|---|
| status | `"info" \ | "success" \ | "warning" \ |
| label | string | Yes | The label text for the alert |
| children | React.ReactNode | No | Optional children to be rendered inside the alert |
| icon | React.ReactNode | No | Optional custom icon component to override the default icon |
| className | string | No | CSS className to be applied |
| Prop | Type | Required | Description |
|---|
| children | React.ReactNode | Yes | Content to be displayed inside the badge |
| status | `"info" \ | "success" \ | "warning" \ |
| className | string | No | - |
| id | string | No | - |
| aria-label | string | No | Defines a string value that labels the current element. |
| Prop | Type | Required | Description |
|---|
| buttonRef | Ref<HTMLButtonElement | null> | No | React ref for the button element |
| variant | "error" | "primary" | "secondary" | "tertiary" | No | Visual style variant of the button |
| isLoading | boolean | No | Shows a loading spinner and disables the button |
| isDisabled | boolean | No | Disables the button and prevents interaction |
| children | React.ReactNode | No | Content to be rendered inside the button |
| onBlur | (e: React.FocusEvent<Element, Element>) => void | No | Handler for blur events |
| onFocus | (e: React.FocusEvent<Element, Element>) => void | No | Handler for focus events |
| className | string | No | - |
| id | string | No | - |
| aria-label | string | No | Defines a string value that labels the current element. |
| name | string | No | - |
| type | "submit" | "reset" | "button" | No | - |
| onClick | React.MouseEventHandler<HTMLButtonElement> | No | - |
| onKeyDown | React.KeyboardEventHandler<HTMLButtonElement> | No | - |
| onKeyUp | React.KeyboardEventHandler<HTMLButtonElement> | No | - |
| aria-labelledby | string | No | Identifies the element (or elements) that labels the current element. |
| aria-describedby | string | No | Identifies the element (or elements) that describes the object. |
| form | string | No | - |
| title | string | No | - |
| tabIndex | number | No | - |
| Prop | Type | Required | Description |
|---|
| buttonRef | Ref<HTMLButtonElement | null> | No | React ref for the button element |
| variant | "error" | "primary" | "secondary" | "tertiary" | No | Visual style variant of the button |
| isLoading | boolean | No | Shows a loading spinner and disables the button |
| isDisabled | boolean | No | Disables the button and prevents interaction |
| children | React.ReactNode | No | Content to be rendered inside the button |
| onBlur | (e: React.FocusEvent<Element, Element>) => void | No | Handler for blur events |
| onFocus | (e: React.FocusEvent<Element, Element>) => void | No | Handler for focus events |
| className | string | No | - |
| id | string | No | - |
| aria-label | string | No | Defines a string value that labels the current element. |
| name | string | No | - |
| type | "submit" | "reset" | "button" | No | - |
| onClick | React.MouseEventHandler<HTMLButtonElement> | No | - |
| onKeyDown | React.KeyboardEventHandler<HTMLButtonElement> | No | - |
| onKeyUp | React.KeyboardEventHandler<HTMLButtonElement> | No | - |
| aria-labelledby | string | No | Identifies the element (or elements) that labels the current element. |
| aria-describedby | string | No | Identifies the element (or elements) that describes the object. |
| form | string | No | - |
| title | string | No | - |
| tabIndex | number | No | - |
| Prop | Type | Required | Description |
|---|
| highlightDates | { date: Date; highlightColor: "primary" | "secondary"; label: string; }[] | No | Array of dates to highlight with custom colors and labels |
| dateRange | { start: Date; end: Date; label: string; } | Yes | Date range to display in the calendar preview |
| Prop | Type | Required | Description |
|---|
| onSelect | (checked: boolean) => void | No | Callback function when the card is selected |
| children | React.ReactNode | Yes | Content to be displayed inside the card |
| menu | React.ReactNode | No | Optional menu component to be displayed on the right side of the card |
| className | string | No | CSS className to be applied |
| Prop | Type | Required | Description |
|---|
| isInvalid | boolean | No | Indicates if the checkbox group is in an invalid state |
| isDisabled | boolean | No | Disables all checkbox options in the group |
| options | CheckboxGroupOption[] | Yes | Array of checkbox options to display |
| value | string[] | No | Array of currently selected values |
| onChange | (value: string[]) => void | No | Callback when selection changes |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the first checkbox input element |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| label | React.ReactNode | Yes | Label text for the field |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| Prop | Type | Required | Description |
|---|
| label | React.ReactNode | Yes | Label text or content for the checkbox option |
| value | string | Yes | Value of the option that will be passed to onChange |
| isDisabled | boolean | No | Disables this specific checkbox option |
| description | React.ReactNode | No | Optional description text for the checkbox option |
| Prop | Type | Required | Description |
|---|
| value | boolean | No | Current checked state of the checkbox |
| onChange | (value: boolean) => void | No | Callback when checkbox state changes |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the checkbox input element |
| isInvalid | boolean | No | Indicates if the checkbox is in an invalid state |
| isDisabled | boolean | No | Disables the checkbox and prevents interaction |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| label | React.ReactNode | Yes | Label text for the field |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| onBlur | React.FocusEventHandler<HTMLInputElement> | No | - |
| Prop | Type | Required | Description |
|---|
| isDisabled | boolean | No | Disables the combo box and prevents interaction |
| isInvalid | boolean | No | Indicates that the field has an error |
| label | string | Yes | Label text for the combo box field |
| onChange | (value: string) => void | No | Callback when selection changes |
| onBlur | (e: React.FocusEvent<Element, Element>) => void | No | Handler for blur events |
| options | ComboBoxOption[] | Yes | Array of options to display in the dropdown |
| value | string | No | Currently selected value |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the combo box input element |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| placeholder | string | No | - |
| Prop | Type | Required | Description |
|---|
| label | string | Yes | Display text for the option |
| value | string | Yes | Value of the option that will be passed to onChange |
| Prop | Type | Required | Description |
|---|
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the date input element |
| isDisabled | boolean | No | Disables the date picker and prevents interaction |
| isInvalid | boolean | No | Indicates that the field has an error |
| onChange | (value: Date | null) => void | No | Callback when selected date changes |
| onBlur | (e: React.FocusEvent<Element, Element>) => void | No | Handler for blur events |
| label | string | Yes | Label text for the date picker field |
| value | null | Date | No | Currently selected date value |
| placeholder | string | No | Placeholder text when no date is selected |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| Prop | Type | Required | Description |
|---|
| as | `"h1" \ | "h2" \ | "h3" \ |
| styledAs | `"h1" \ | "h2" \ | "h3" \ |
| textAlign | `"start" \ | "center" \ | "end"` |
| children | React.ReactNode | No | Content to be displayed inside the heading |
| className | string | No | - |
| Prop | Type | Required | Description |
|---|
| inputRef | Ref<HTMLInputElement | null> | No | Ref for the input element |
| adornmentStart | React.ReactNode | No | Content to display at the start of the input |
| adornmentEnd | React.ReactNode | No | Content to display at the end of the input |
| isDisabled | boolean | No | Whether the input is disabled |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| type | "number" | "submit" | "reset" | "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "password" | "radio" | "range" | "search" | "tel" | "text" | "time" | "url" | "week" | string & {} | No | - |
| aria-describedby | string | No | Identifies the element (or elements) that describes the object. |
| onBlur | React.FocusEventHandler<HTMLInputElement> | No | - |
| placeholder | string | No | - |
| value | string | number | string[] | No | - |
| onChange | React.ChangeEventHandler<HTMLInputElement> | No | - |
| aria-invalid | boolean | No | Indicates the entered value does not conform to the format expected by the application. |
| min | string | number | No | - |
| max | string | number | No | - |
| Prop | Type | Required | Description |
|---|
| className | string | No | - |
| id | string | No | - |
| aria-label | string | No | Defines a string value that labels the current element. |
| onKeyDown | React.KeyboardEventHandler<HTMLAnchorElement> | No | - |
| onKeyUp | React.KeyboardEventHandler<HTMLAnchorElement> | No | - |
| aria-labelledby | string | No | Identifies the element (or elements) that labels the current element. |
| aria-describedby | string | No | Identifies the element (or elements) that describes the object. |
| title | string | No | - |
| href | string | No | - |
| target | `string & \ | "_self" \ | "_blank" \ |
| rel | string | No | - |
| download | any | No | - |
| children | boolean | No | - |
| Prop | Type | Required | Description |
|---|
| triggerRef | RefObject | No | Reference to the element that triggers the menu |
| items | MenuItem[] | No | Array of menu items to display |
| isOpen | boolean | No | Controls whether the menu is currently open |
| onClose | () => void | No | Callback when the menu is closed |
| aria-label | string | Yes | Accessible label describing the menu's purpose |
| Prop | Type | Required | Description |
|---|
| label | string | Yes | Text label for the menu item |
| icon | React.ReactNode | No | Optional icon to display before the label |
| onClick | () => void | Yes | Callback function when the menu item is clicked |
| isDisabled | boolean | No | Disables the menu item and prevents interaction |
| href | string | No | Optional URL to navigate to when clicked |
| Prop | Type | Required | Description |
|---|
| format | "currency" | "decimal" | "percent" | No | Format type for the number input |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the number input element |
| value | number | No | Current value of the number input |
| isInvalid | boolean | No | Indicates that the field has an error |
| isDisabled | boolean | No | Disables the number input and prevents interaction |
| onChange | (value: number) => void | No | Callback when number input value changes |
| onBlur | React.FocusEventHandler<HTMLElement> | No | Handler for blur events |
| adornmentStart | React.ReactNode | No | Element to display at the start of the input |
| adornmentEnd | React.ReactNode | No | Element to display at the end of the input |
| minimumFractionDigits | number | No | Minimum number of decimal places to display |
| maximumFractionDigits | number | No | Maximum number of decimal places to display |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| label | React.ReactNode | Yes | Label text for the field |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| placeholder | string | No | - |
| min | string | number | No | - |
| max | string | number | No | - |
The props for this component are defined in BaseListProps.
| Prop | Type | Required | Description |
|---|
| totalSteps | number | Yes | Total number of steps in the progress sequence |
| currentStep | number | Yes | Current step in the progress sequence |
| className | string | No | Additional CSS class name for the progress bar container |
| label | string | Yes | Accessible label describing the progress bar's purpose |
| cta | `null \ | ComponentClass \ | FunctionComponent` |
| Prop | Type | Required | Description |
|---|
| isInvalid | boolean | No | Indicates that the field has an error |
| isDisabled | boolean | No | Disables all radio options in the group |
| options | RadioGroupOption[] | Yes | Array of radio options to display |
| value | string | No | Currently selected value |
| onChange | (value: string) => void | No | Callback when selection changes |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the first radio input element |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| label | React.ReactNode | Yes | Label text for the field |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| Prop | Type | Required | Description |
|---|
| label | React.ReactNode | Yes | Label text or content for the radio option |
| value | string | Yes | Value of the option that will be passed to onChange |
| isDisabled | boolean | No | Disables this specific radio option |
| description | React.ReactNode | No | Optional description text for the radio option |
| Prop | Type | Required | Description |
|---|
| value | boolean | No | Current checked state of the radio button |
| onChange | (checked: boolean) => void | No | Callback when radio button state changes |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the radio input element |
| isInvalid | boolean | No | Indicates that the field has an error |
| isDisabled | boolean | No | Disables the radio button and prevents interaction |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| label | React.ReactNode | Yes | Label text for the field |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| onBlur | React.FocusEventHandler<HTMLInputElement> | No | - |
| Prop | Type | Required | Description |
|---|
| isDisabled | boolean | No | Disables the select and prevents interaction |
| isInvalid | boolean | No | Indicates that the field has an error |
| label | string | Yes | Label text for the select field |
| onChange | (value: string) => void | No | Callback when selection changes |
| onBlur | (e: React.FocusEvent<Element, Element>) => void | No | Handler for blur events |
| options | SelectOption[] | Yes | Array of options to display in the select dropdown |
| placeholder | string | No | Placeholder text when no option is selected |
| value | string | No | Currently selected value |
| inputRef | Ref<HTMLButtonElement | null> | No | React ref for the select button element |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| Prop | Type | Required | Description |
|---|
| value | string | Yes | Value of the option that will be passed to onChange |
| label | string | Yes | Display text for the option |
| Prop | Type | Required | Description |
|---|
| onBlur | (e: React.FocusEvent<Element, Element>) => void | No | Handler for blur events |
| onChange | (checked: boolean) => void | No | Callback when switch state changes |
| value | boolean | No | Current checked state of the switch |
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the switch input element |
| isInvalid | boolean | No | Indicates that the field has an error |
| isDisabled | boolean | No | Disables the switch and prevents interaction |
| className | string | No | Additional CSS class name for the switch container |
| label | string | Yes | Label text for the switch |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| id | string | No | - |
| name | string | No | - |
| Prop | Type | Required | Description |
|---|
| headers | TableData[] | Yes | Array of header cells for the table |
| rows | TableRow[] | Yes | Array of rows to be displayed in the table |
| emptyState | React.ReactNode | No | Content to display when the table has no rows |
| className | string | No | - |
| id | string | No | - |
| aria-label | string | No | Defines a string value that labels the current element. |
| aria-labelledby | string | No | Identifies the element (or elements) that labels the current element. |
| aria-describedby | string | No | Identifies the element (or elements) that describes the object. |
| role | `"form" \ | "button" \ | "checkbox" \ |
| Prop | Type | Required | Description |
|---|
| key | string | Yes | Unique identifier for the table cell |
| content | React.ReactNode | Yes | Content to be displayed in the table cell |
| Prop | Type | Required | Description |
|---|
| key | string | Yes | Unique identifier for the table row |
| data | TableData[] | Yes | Array of cells to be displayed in the row |
| Prop | Type | Required | Description |
|---|
| key | string | Yes | Unique identifier for the table cell |
| content | React.ReactNode | Yes | Content to be displayed in the table cell |
| Prop | Type | Required | Description |
|---|
| inputRef | Ref<HTMLInputElement | null> | No | React ref for the input element |
| value | string | No | Current value of the input |
| onChange | (value: string) => void | No | Callback when input value changes |
| isInvalid | boolean | No | Indicates that the field has an error |
| isDisabled | boolean | No | Disables the input and prevents interaction |
| adornmentStart | React.ReactNode | No | Element to display at the start of the input |
| adornmentEnd | React.ReactNode | No | Element to display at the end of the input |
| description | React.ReactNode | No | Optional description text for the field |
| errorMessage | string | No | Error message to display when the field is invalid |
| isRequired | boolean | No | Indicates if the field is required |
| label | React.ReactNode | Yes | Label text for the field |
| shouldVisuallyHideLabel | boolean | No | Hides the label visually while keeping it accessible to screen readers |
| className | string | No | - |
| id | string | No | - |
| name | string | No | - |
| type | "number" | "submit" | "reset" | "button" | "checkbox" | "color" | "date" | "datetime-local" | "email" | "file" | "hidden" | "image" | "month" | "password" | "radio" | "range" | "search" | "tel" | "text" | "time" | "url" | "week" | string & {} | No | - |
| onBlur | React.FocusEventHandler<HTMLInputElement> | No | - |
| placeholder | string | No | - |
| Prop | Type | Required | Description |
|---|
| as | `"p" \ | "span" \ | "div" \ |
| size | `"sm" \ | "md" \ | "lg"` |
| textAlign | `"start" \ | "center" \ | "end"` |
| weight | `"regular" \ | "medium" \ | "semibold" \ |
| children | React.ReactNode | No | Content to be displayed |
| variant | "supporting" | No | Visual style variant of the text |
| className | string | No | - |
| id | string | No | - |
The props for this component are defined in BaseListProps.