Skip to content

Components

Miuix provides a rich set of UI components that strictly follow Xiaomi HyperOS Design Guidelines. Each component is carefully designed to ensure visual and interactive consistency with the native Xiaomi experience.

Scaffold Components

ComponentDescriptionCommon Usage
ScaffoldBasic layout for applicationsPage structure, content display

WARNING

The Scaffold component provides a suitable container for cross-platform popup windows. Components such as SuperDialog, SuperDropdown, SuperSpinner, and ListPopup are all implemented based on this and therefore need to be wrapped by this component.

Basic Components

ComponentDescriptionCommon Usage
SurfaceBasic container componentContent display, background container
TopAppBarApplication top navigation barPage title, primary actions
NavigationBarBottom navigation componentMain page switching
NavigationRailSide navigation componentMain page switching (Large screen)
TabRowHorizontal tab barContent category browsing
CardContainer with related informationInformation display, content grouping
BasicComponentUniversal base componentCustom component development
ButtonInteractive element for triggering actionsForm submission, action confirmation
TextDisplay text content with various stylesTitles, body text, descriptive text
SmallTitleSmall title componentAuxiliary titles, category labels
TextFieldReceives user text inputForm filling, search boxes
SwitchBinary state toggle controlSetting switches, feature enabling
CheckboxMultiple selection controlMultiple choices, terms agreement
SliderSliding control for value adjustmentVolume control, range selection
ProgressIndicatorDisplays operation progress statusLoading, progress display
SnackbarTemporary message bar for brief feedbackOperation result, status notification
IconIcon display componentIcon buttons, status indicators
FloatingActionButtonFloating action buttonPrimary actions, quick functions
FloatingToolbarFloating toolbarQuick actions, information display
DividerContent separatorBlock separation, hierarchy division
PullToRefreshPull-down refresh operationData update, page refresh
SearchBarSearch input fieldContent search, quick find
ColorPaletteGrid palette with alpha sliderTheme settings, color selection
ColorPickerColor selection controlTheme settings, color selection

Extended Components

ComponentDescriptionCommon Usage
SuperArrowArrow component based on BasicComponentClickable indication, navigation hints
SuperSwitchSwitch component based on BasicComponentSetting switches, feature enabling
SuperCheckboxCheckbox component based on BasicComponentMultiple selection, terms agreement
SuperListPopupList popup component based on BasicComponent (uses MiuixPopupUtils; requires Scaffold)Option selection, feature list
SuperDropdownDropdown menu based on BasicComponent (uses MiuixPopupUtils; requires Scaffold)Option selection, feature list
SuperSpinnerAdvanced menu based on BasicComponent (uses MiuixPopupUtils; requires Scaffold)Advanced options, feature list
SuperBottomSheetBottom sheet based on BasicComponent (uses MiuixPopupUtils; requires Scaffold)Bottom drawer, additional options
SuperDialogDialog window based on BasicComponent (uses MiuixPopupUtils; requires Scaffold)Prompts, action confirmation
WindowListPopupWindow-level list popup componentOption selection, feature list
WindowDropdownWindow-level dropdown menu componentOption selection, feature list
WindowSpinnerWindow-level advanced menu componentAdvanced options, feature list
WindowBottomSheetWindow-level bottom sheet componentBottom drawer, additional options
WindowDialogWindow-level dialog componentPrompts, action confirmation

Changelog

Released under the Apache-2.0 License