Component Inventory

Component Inventory

AlertProps

PropTypeRequiredDescription
status"info" | "success" | "warning" | "error"NoThe visual status that the alert should convey
labelstringYesThe label text for the alert
childrenReact.ReactNodeNoOptional children to be rendered inside the alert
iconReact.ReactNodeNoOptional custom icon component to override the default icon
classNamestringNoCSS className to be applied

BadgeProps

PropTypeRequiredDescription
childrenReact.ReactNodeYesContent to be displayed inside the badge
status"info" | "success" | "warning" | "error"NoVisual style variant of the badge
classNamestringNo-
idstringNo-
aria-labelstringNoDefines a string value that labels the current element.

BaseListProps

PropTypeRequiredDescription
itemsReact.ReactNode[]YesThe list items to render
classNamestringNoOptional custom class name
aria-labelstringNoAccessibility label for the list
aria-labelledbystringNoID of an element that labels this list
aria-describedbystringNoID of an element that describes this list

ButtonIconProps

PropTypeRequiredDescription
classNamestringNo-
idstringNo-
aria-labelstringNoDefines a string value that labels the current element.
namestringNo-
type"submit" | "reset" | "button"No-
onClickReact.MouseEventHandler<HTMLButtonElement>No-
onKeyDownReact.KeyboardEventHandler<HTMLButtonElement>No-
onKeyUpReact.KeyboardEventHandler<HTMLButtonElement>No-
aria-labelledbystringNoIdentifies the element (or elements) that labels the current element.
aria-describedbystringNoIdentifies the element (or elements) that describes the object.
formstringNo-
titlestringNo-
tabIndexnumberNo-
refRef<HTMLButtonElement | null>NoReact ref for the button element
isErrorbooleanNoIndicates if the button is in an error state
isLoadingbooleanNoShows a loading spinner and disables the button
isDisabledbooleanNoDisables the button and prevents interaction
childrenReact.ReactNodeNoContent to be rendered inside the button
onBlur(e: React.FocusEvent<Element, Element>) => voidNoHandler for blur events
onFocus(e: React.FocusEvent<Element, Element>) => voidNoHandler for focus events

ButtonProps

PropTypeRequiredDescription
refRef<HTMLButtonElement | null>NoReact ref for the button element
variant"primary" | "secondary" | "tertiary" | "icon"NoVisual style variant of the button
isErrorbooleanNoIndicates if the button is in an error state
isLoadingbooleanNoShows a loading spinner and disables the button
isDisabledbooleanNoDisables the button and prevents interaction
childrenReact.ReactNodeNoContent to be rendered inside the button
onBlur(e: React.FocusEvent<Element, Element>) => voidNoHandler for blur events
onFocus(e: React.FocusEvent<Element, Element>) => voidNoHandler for focus events
classNamestringNo-
idstringNo-
aria-labelstringNoDefines a string value that labels the current element.
namestringNo-
type"submit" | "reset" | "button"No-
onClickReact.MouseEventHandler<HTMLButtonElement>No-
onKeyDownReact.KeyboardEventHandler<HTMLButtonElement>No-
onKeyUpReact.KeyboardEventHandler<HTMLButtonElement>No-
aria-labelledbystringNoIdentifies the element (or elements) that labels the current element.
aria-describedbystringNoIdentifies the element (or elements) that describes the object.
formstringNo-
titlestringNo-
tabIndexnumberNo-

CalendarPreviewProps

PropTypeRequiredDescription
highlightDates{ date: Date; highlightColor: "primary" | "secondary"; label: string; }[]NoArray of dates to highlight with custom colors and labels
dateRange{ start: Date; end: Date; label: string; }YesDate range to display in the calendar preview

CardProps

PropTypeRequiredDescription
onSelect(checked: boolean) => voidNoCallback function when the card is selected
childrenReact.ReactNodeYesContent to be displayed inside the card
menuReact.ReactNodeNoOptional menu component to be displayed on the right side of the card
classNamestringNoCSS className to be applied

CheckboxGroupProps

PropTypeRequiredDescription
isInvalidbooleanNoIndicates if the checkbox group is in an invalid state
isDisabledbooleanNoDisables all checkbox options in the group
optionsCheckboxGroupOption[]YesArray of checkbox options to display
valuestring[]NoArray of currently selected values
onChange(value: string[]) => voidNoCallback when selection changes
inputRefRef<HTMLInputElement | null>NoReact ref for the first checkbox input element
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
labelReact.ReactNodeYesLabel text for the field
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-

CheckboxGroupOption

PropTypeRequiredDescription
labelReact.ReactNodeYesLabel text or content for the checkbox option
valuestringYesValue of the option that will be passed to onChange
isDisabledbooleanNoDisables this specific checkbox option
descriptionReact.ReactNodeNoOptional description text for the checkbox option

CheckboxProps

PropTypeRequiredDescription
valuebooleanNoCurrent checked state of the checkbox
onChange(value: boolean) => voidNoCallback when checkbox state changes
inputRefRef<HTMLInputElement | null>NoReact ref for the checkbox input element
isInvalidbooleanNoIndicates if the checkbox is in an invalid state
isDisabledbooleanNoDisables the checkbox and prevents interaction
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
labelReact.ReactNodeYesLabel text for the field
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-
onBlurReact.FocusEventHandler<HTMLInputElement>No-

ComboBoxProps

PropTypeRequiredDescription
isDisabledbooleanNoDisables the combo box and prevents interaction
isInvalidbooleanNoIndicates that the field has an error
labelstringYesLabel text for the combo box field
onChange(value: string) => voidNoCallback when selection changes
onBlur(e: React.FocusEvent<Element, Element>) => voidNoHandler for blur events
optionsComboBoxOption[]YesArray of options to display in the dropdown
valuestringNoCurrently selected value
inputRefRef<HTMLInputElement | null>NoReact ref for the combo box input element
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-
placeholderstringNo-

ComboBoxOption

PropTypeRequiredDescription
labelstringYesDisplay text for the option
valuestringYesValue of the option that will be passed to onChange

DatePickerProps

PropTypeRequiredDescription
inputRefRef<HTMLInputElement | null>NoReact ref for the date input element
isDisabledbooleanNoDisables the date picker and prevents interaction
isInvalidbooleanNoIndicates that the field has an error
onChange(value: Date | null) => voidNoCallback when selected date changes
onBlur(e: React.FocusEvent<Element, Element>) => voidNoHandler for blur events
labelstringYesLabel text for the date picker field
valuenull | DateNoCurrently selected date value
placeholderstringNoPlaceholder text when no date is selected
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-

HeadingProps

PropTypeRequiredDescription
as"h1" | "h2" | "h3" | "h4" | "h5" | "h6"YesThe HTML heading element to render (h1-h6)
styledAs"h1" | "h2" | "h3" | "h4" | "h5" | "h6"NoOptional visual style to apply, independent of the semantic heading level
textAlign"start" | "center" | "end"NoText alignment within the heading
childrenReact.ReactNodeNoContent to be displayed inside the heading
classNamestringNo-

InputProps

PropTypeRequiredDescription
inputRefRef<HTMLInputElement | null>NoRef for the input element
adornmentStartReact.ReactNodeNoContent to display at the start of the input
adornmentEndReact.ReactNodeNoContent to display at the end of the input
isDisabledbooleanNoWhether the input is disabled
classNamestringNo-
idstringNo-
namestringNo-
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-describedbystringNoIdentifies the element (or elements) that describes the object.
onBlurReact.FocusEventHandler<HTMLInputElement>No-
placeholderstringNo-
valuestring | number | string[]No-
onChangeReact.ChangeEventHandler<HTMLInputElement>No-
aria-invalidbooleanNoIndicates the entered value does not conform to the format expected by the application.
minstring | numberNo-
maxstring | numberNo-

LinkProps

PropTypeRequiredDescription
classNamestringNo-
idstringNo-
aria-labelstringNoDefines a string value that labels the current element.
onKeyDownReact.KeyboardEventHandler<HTMLAnchorElement>No-
onKeyUpReact.KeyboardEventHandler<HTMLAnchorElement>No-
aria-labelledbystringNoIdentifies the element (or elements) that labels the current element.
aria-describedbystringNoIdentifies the element (or elements) that describes the object.
titlestringNo-
childrenbooleanNo-
hrefstringNo-
targetstring & {} | "_self" | "_blank" | "_parent" | "_top"No-
relstringNo-
downloadanyNo-

MenuProps

PropTypeRequiredDescription
triggerRefRefObjectNoReference to the element that triggers the menu
itemsMenuItem[]NoArray of menu items to display
isOpenbooleanNoControls whether the menu is currently open
onClose() => voidNoCallback when the menu is closed
aria-labelstringYesAccessible label describing the menu's purpose

MenuItem

PropTypeRequiredDescription
labelstringYesText label for the menu item
iconReact.ReactNodeNoOptional icon to display before the label
onClick() => voidYesCallback function when the menu item is clicked
isDisabledbooleanNoDisables the menu item and prevents interaction
hrefstringNoOptional URL to navigate to when clicked

NumberInputProps

PropTypeRequiredDescription
format"currency" | "decimal" | "percent"NoFormat type for the number input
inputRefRef<HTMLInputElement | null>NoReact ref for the number input element
valuenumberNoCurrent value of the number input
isInvalidbooleanNoIndicates that the field has an error
isDisabledbooleanNoDisables the number input and prevents interaction
onChange(value: number) => voidNoCallback when number input value changes
onBlurReact.FocusEventHandler<HTMLElement>NoHandler for blur events
adornmentStartReact.ReactNodeNoElement to display at the start of the input
adornmentEndReact.ReactNodeNoElement to display at the end of the input
minimumFractionDigitsnumberNoMinimum number of decimal places to display
maximumFractionDigitsnumberNoMaximum number of decimal places to display
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
labelReact.ReactNodeYesLabel text for the field
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-
placeholderstringNo-
minstring | numberNo-
maxstring | numberNo-

OrderedListProps

The props for this component are defined in BaseListProps.

ProgressBarProps

PropTypeRequiredDescription
totalStepsnumberYesTotal number of steps in the progress sequence
currentStepnumberYesCurrent step in the progress sequence
classNamestringNoAdditional CSS class name for the progress bar container
labelstringYesAccessible label describing the progress bar's purpose

RadioGroupProps

PropTypeRequiredDescription
isInvalidbooleanNoIndicates that the field has an error
isDisabledbooleanNoDisables all radio options in the group
optionsRadioGroupOption[]YesArray of radio options to display
valuestringNoCurrently selected value
onChange(value: string) => voidNoCallback when selection changes
inputRefRef<HTMLInputElement | null>NoReact ref for the first radio input element
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
labelReact.ReactNodeYesLabel text for the field
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-

RadioGroupOption

PropTypeRequiredDescription
labelReact.ReactNodeYesLabel text or content for the radio option
valuestringYesValue of the option that will be passed to onChange
isDisabledbooleanNoDisables this specific radio option
descriptionReact.ReactNodeNoOptional description text for the radio option

RadioProps

PropTypeRequiredDescription
valuebooleanNoCurrent checked state of the radio button
onChange(checked: boolean) => voidNoCallback when radio button state changes
inputRefRef<HTMLInputElement | null>NoReact ref for the radio input element
isInvalidbooleanNoIndicates that the field has an error
isDisabledbooleanNoDisables the radio button and prevents interaction
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
labelReact.ReactNodeYesLabel text for the field
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-
onBlurReact.FocusEventHandler<HTMLInputElement>No-

SelectProps

PropTypeRequiredDescription
isDisabledbooleanNoDisables the select and prevents interaction
isInvalidbooleanNoIndicates that the field has an error
labelstringYesLabel text for the select field
onChange(value: string) => voidNoCallback when selection changes
onBlur(e: React.FocusEvent<Element, Element>) => voidNoHandler for blur events
optionsSelectOption[]YesArray of options to display in the select dropdown
placeholderstringNoPlaceholder text when no option is selected
valuestringNoCurrently selected value
inputRefRef<HTMLButtonElement | null>NoReact ref for the select button element
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-

SelectOption

PropTypeRequiredDescription
valuestringYesValue of the option that will be passed to onChange
labelstringYesDisplay text for the option

SwitchProps

PropTypeRequiredDescription
onBlur(e: React.FocusEvent<Element, Element>) => voidNoHandler for blur events
onChange(checked: boolean) => voidNoCallback when switch state changes
valuebooleanNoCurrent checked state of the switch
inputRefRef<HTMLInputElement | null>NoReact ref for the switch input element
isInvalidbooleanNoIndicates that the field has an error
isDisabledbooleanNoDisables the switch and prevents interaction
classNamestringNoAdditional CSS class name for the switch container
labelstringYesLabel text for the switch
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
idstringNo-
namestringNo-

TableProps

PropTypeRequiredDescription
headersTableData[]YesArray of header cells for the table
rowsTableRow[]YesArray of rows to be displayed in the table
emptyStateReact.ReactNodeNoContent to display when the table has no rows
classNamestringNo-
idstringNo-
aria-labelstringNoDefines a string value that labels the current element.
aria-labelledbystringNoIdentifies the element (or elements) that labels the current element.
aria-describedbystringNoIdentifies the element (or elements) that describes the object.
role"form" | "button" | "checkbox" | "radio" | "search" | string & {} | "alert" | "alertdialog" | "application" | "article" | "banner" | "cell" | "columnheader" | "combobox" | "complementary" | "contentinfo" | "definition" | "dialog" | "directory" | "document" | "feed" | "figure" | "grid" | "gridcell" | "group" | "heading" | "img" | "link" | "list" | "listbox" | "listitem" | "log" | "main" | "marquee" | "math" | "menu" | "menubar" | "menuitem" | "menuitemcheckbox" | "menuitemradio" | "navigation" | "none" | "note" | "option" | "presentation" | "progressbar" | "radiogroup" | "region" | "row" | "rowgroup" | "rowheader" | "scrollbar" | "searchbox" | "separator" | "slider" | "spinbutton" | "status" | "switch" | "tab" | "table" | "tablist" | "tabpanel" | "term" | "textbox" | "timer" | "toolbar" | "tooltip" | "tree" | "treegrid" | "treeitem"No-

TableData

PropTypeRequiredDescription
keystringYesUnique identifier for the table cell
contentReact.ReactNodeYesContent to be displayed in the table cell

TableRow

PropTypeRequiredDescription
keystringYesUnique identifier for the table row
dataTableData[]YesArray of cells to be displayed in the row

TableData

PropTypeRequiredDescription
keystringYesUnique identifier for the table cell
contentReact.ReactNodeYesContent to be displayed in the table cell

TextInputProps

PropTypeRequiredDescription
inputRefRef<HTMLInputElement | null>NoReact ref for the input element
valuestringNoCurrent value of the input
onChange(value: string) => voidNoCallback when input value changes
isInvalidbooleanNoIndicates that the field has an error
isDisabledbooleanNoDisables the input and prevents interaction
adornmentStartReact.ReactNodeNoElement to display at the start of the input
adornmentEndReact.ReactNodeNoElement to display at the end of the input
descriptionReact.ReactNodeNoOptional description text for the field
errorMessagestringNoError message to display when the field is invalid
isRequiredbooleanNoIndicates if the field is required
labelReact.ReactNodeYesLabel text for the field
shouldVisuallyHideLabelbooleanNoHides the label visually while keeping it accessible to screen readers
classNamestringNo-
idstringNo-
namestringNo-
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-
onBlurReact.FocusEventHandler<HTMLInputElement>No-
placeholderstringNo-

TextProps

PropTypeRequiredDescription
as"p" | "span" | "div"NoHTML element to render the text as
size"xs" | "sm" | "md" | "lg" | "xl"NoSize variant of the text
textAlign"start" | "center" | "end"NoText alignment within the container
weight"regular" | "medium" | "semibold" | "bold"NoFont weight of the text
childrenReact.ReactNodeNoContent to be displayed
variant"supporting"NoVisual style variant of the text
classNamestringNo-
idstringNo-

UnorderedListProps

The props for this component are defined in BaseListProps.