design_system/design_system library

Classes

ComponentDemoSubtitle
ComponentDemoTitle
HeroUiAccordion
HeroUiAccordionItem
HeroUiAlert
An inline alert banner with title, optional description, and action button.
HeroUiAlertDialog
Shows a confirmation/alert dialog with title, body, and action buttons.
HeroUiAutocomplete<T>
An input field with tag chips and a filterable dropdown suggestion list.
HeroUiAvatar
A circular avatar that can display initials, an icon, or an image.
HeroUiBadge
A compact status/label indicator badge.
HeroUiBreadcrumbItem
HeroUiBreadcrumbs
HeroUiButton
HeroUiButtonGroup
HeroUiButtonGroupItem
HeroUiCalendar
HeroUiCard
HeroUiCardFooter
HeroUiCardHeader
HeroUiCardMedia
HeroUiCarousel
HeroUiCheckbox
Full checkbox: control + label + description + optional error message.
HeroUiCheckboxControl
Raw ~21×21 animated checkbox indicator (scaled with DS typography).
HeroUiCheckboxGroup
A labelled group of HeroUiCheckbox items with shared selection state.
HeroUiCheckboxGroupItem
A single item descriptor for HeroUiCheckboxGroup.
HeroUiChip
An interactive chip/tag with optional close button.
HeroUiCloseButton
HeroUiColorArea
HeroUiColorField
HeroUiColorPicker
HeroUiColorSlider
HeroUiColorSwatch
HeroUiColorSwatchPicker
HeroUiComboBox<T>
A text field that filters a list of options as the user types.
HeroUiDateField
HeroUI DateField with optional time selection.
HeroUiDatePicker
HeroUI DatePicker with animated popover calendar.
HeroUiDateRangePicker
HeroUI DateRangePicker.
HeroUiDemoActionTrigger
HeroUiDemoDarkPreview
HeroUiDemoSection
HeroUiDemoThemeScope
HeroUiDescription
HeroUiDisclosure
A collapsible section with an animated expand/collapse.
HeroUiDisclosureGroup
A group of HeroUiDisclosure items separated by dividers.
HeroUiDisclosureItem
Data model for a HeroUiDisclosureGroup item.
HeroUiDrawer
Shows a drawer styled as a bottom-sheet modal by default.
HeroUiDropdown
A button with an attached dropdown menu.
HeroUiDropdownItem
A model for items in a HeroUiDropdown.
HeroUiDropdownSection
A model for item groups in a HeroUiDropdown.
HeroUiErrorMessage
HeroUiFieldError
HeroUiFieldset
HeroUiForm
HeroUiIcon
HeroUiIconManifest
Asset keys for SVG icons under assets/icons/ (line/ and fill/).
HeroUiInput
HeroUiInputAffix
HeroUiInputGroup
HeroUiInputOtp
HeroUiKbd
Keyboard shortcut badge, e.g. HeroUiKbd(keys: ['⌘', 'K']).
HeroUiLabel
HeroUiListBox<T>
HeroUiListBoxItem<T>
HeroUiMenuCard
Grouped list in an HeroUiCard, iOS Settings–style: rows and inset dividers.
HeroUiMenuItem
One row inside HeroUiMenuCard: optional leading, title, optional subtitle, optional trailing. onTap null → row is non-interactive.
HeroUiMeter
A labeled measurement indicator (filled bar).
HeroUiModal
Shows a modal dialog.
HeroUiNavigation
Vertical navigation variant extracted from HeroUiTabs.
HeroUiNumberField
HeroUiPagination
HeroUiPickerItem<T>
A single item in a picker dropdown.
HeroUiPopover
A small floating content panel anchored to a trigger widget.
HeroUiProgressBar
A horizontal progress bar with an optional label and value text.
HeroUiProgressCircle
A circular progress indicator with optional label.
HeroUiProgressiveBlur
HeroUiRadio
Full radio: control + label + optional description + optional error message.
HeroUiRadioControl
Raw ~21×21 animated radio-button indicator (scaled with DS typography).
HeroUiRadioGroup
A labelled group of HeroUiRadio items with single-selection state.
HeroUiRadioGroupItem
A single item descriptor for HeroUiRadioGroup.
HeroUiRadius
Border radius scale from HeroUI Figma Kit V3 (Radius / Tailwind base).
HeroUiRangeCalendar
HeroUiResizable
HeroUiResizablePanel
HeroUiScrollShadow
Wraps a child scroll view and renders a gradient shadow at the top/bottom edges as the user scrolls, indicating that more content is available.
HeroUiSearchField
HeroUiSelect<T>
A dropdown picker that shows a list of options to select from.
HeroUiSeparator
A separator line, optionally with a centered text label.
HeroUiShell
App shell similar to Scaffold, but the app bar and bottom navigation float above the body with margins and rounded corners (iOS-style chrome).
HeroUiSkeleton
An animated shimmer placeholder for loading states.
HeroUiSlider
HeroUI slider – horizontal, single-value or range.
HeroUiSliderMark
A single labelled mark rendered below the track.
HeroUiSpinner
An animated circular loading indicator.
HeroUiStarReview
A 5-point rating input built with HeroUiToggleButtonGroup.
HeroUiSurface
A styled container surface — equivalent to a card background.
HeroUiSwitch
A toggle switch with an optional label.
HeroUiTabItem
Single tab in the list (HeroUiTabs), matching Figma TabsElement: label, interactive state, optional prefix (leading) / suffix (trailing) icons.
HeroUiTable
HeroUiTableFooter
HeroUiTableHeader
HeroUiTableHeaderCell
HeroUiTableRow
HeroUiTableRowCell
HeroUiTabs
Tabs bar + optional panel, aligned with HeroUI v3 / Figma Tabs: variant primary (filled selected state) vs secondary (underline selected state); behavior hug vs fill; optional horizontal showScrollShadow when the list overflows; showOptions toggles tab 1…N visibility.
HeroUiTagGroup
HeroUiTagItem
HeroUiTextArea
HeroUiTextField
HeroUiTimeField
HeroUI TimeField.
HeroUiToast
A transient notification message (toast / snackbar).
HeroUiToastService
Helper to show a HeroUiToast using an OverlayEntry.
HeroUiToggleButton
HeroUiToggleButtonGroup<T>
HeroUiToggleOption<T>
HeroUiToolbar
HeroUI Toolbar component with Figma-aligned composition:
HeroUiToolbarDivider
Divider tailored for toolbar action groups.
HeroUiTooltip
A small popup tooltip that appears relative to a child widget.
HeroUiTypography
Shared HeroUI typography tokens based on the design specification.
ThemePreviewChip

Enums

HeroUiAccordionItemState
HeroUiAccordionSelectionMode
HeroUiAccordionVariant
HeroUiAvatarVariant
HeroUiBadgeSize
HeroUiBadgeVariant
HeroUiButtonGroupOrientation
HeroUiButtonGroupWidth
HeroUiButtonSize
HeroUiButtonVariant
HeroUiButtonVisualState
HeroUiCarouselType
HeroUiCheckboxGroupOrientation
HeroUiCheckboxValue
The three possible values of a checkbox indicator.
HeroUiCheckboxVariant
HeroUiChipSize
HeroUiChipVariant
HeroUiCloseButtonState
HeroUiColorSliderOrientation
HeroUiColorSliderType
HeroUiColorSwatchSize
HeroUiColorSwatchVariant
HeroUiComponentType
HeroUiDemoActionTriggerVariant
HeroUiDrawerPosition
HeroUiDrawerScrollShadowVariant
HeroUiDrawerSizing
Height behavior of a bottom/top sheet.
HeroUiDropdownItemState
HeroUiInputAffixTone
HeroUiInputType
HeroUiInputVariant
HeroUiKbdVariant
HeroUiLinkState
HeroUiListBoxItemState
HeroUiListBoxItemType
HeroUiListBoxSelectionMode
HeroUiModalSize
HeroUiPaginationVariant
HeroUiProgressBarSize
HeroUiProgressCircleSize
HeroUiProgressiveBlurColor
HeroUiProgressiveBlurDirection
HeroUiRadioGroupOrientation
HeroUiRadiusScale
Named steps of the global radius scale (maps to HeroUiRadius values).
HeroUiResizableOrientation
HeroUiResizableType
HeroUiResizableVariant
HeroUiScrollShadowType
HeroUiSeparatorOrientation
HeroUiSeparatorVariant
HeroUiSliderColor
Active-track colour variants (Figma: primary=blue, secondary=grey, danger=red).
HeroUiSliderSize
Visual size of the track and thumb.
HeroUiSpinnerSize
HeroUiSurfaceVariant
HeroUiSwitchSize
HeroUiTabContentOrientation
HeroUiTableFooterType
HeroUiTableHeaderCellVariant
HeroUiTableHeaderVariant
HeroUiTableHeaderWidth
HeroUiTableRowCellType
HeroUiTableRowCellVariant
HeroUiTableRowState
HeroUiTableRowWidth
HeroUiTableVariant
HeroUiTabsBehavior
HeroUiTabsVariant
HeroUiTagGroupSelectionMode
HeroUiTagSize
HeroUiTagVariant
HeroUiToastPlacement
HeroUiToggleButtonVariant
HeroUiToolbarOrientation
HeroUiTooltipPosition

Functions

heroUiInputFillColor(BuildContext context, HeroUiInputVariant variant) → Color