Package-level declarations
Types
A single segment in a BreadcrumbBar. Each item carries a path segment used to reconstruct the full path, and an optional text for display. When text is null, path is shown.
The position of a row inside a card group, mirroring COUI's COUICardListHelper constants (NONE = 0, HEAD = 1, MIDDLE = 2, TAIL = 3, FULL = 4).
Colors used by a Chip.
Contains default values used by Chip.
Colors used by a CodeTextField in different parts of the component.
Contains default values used by CodeTextField.
Contains default values used by ColorSwatchPicker.
Contains default values used by DatePicker.
Colors used by dropdown option rows.
A group of dropdown items.
An item shown inside a dropdown, spinner, or dropdown menu.
Contains default values used by FloatingActionButton.
Contains default values used by FloatingNavigationBar and FloatingNavigationBarItem.
Colors used by a FullPageStatement.
Contains default values used by FullPageStatement.
Contains default values used by InputView.
The resolved layout information for a list popup, produced by rememberListPopupLayoutInfo.
Contains default values used by LoadingButton.
Contains default values used by NavigationBar and NavigationBarItem.
Defines the display mode for items in a NavigationBar.
The data class for NavigationBar.
Contains default values used by NavigationRail and NavigationRailItem.
Defines the display mode for items in a NavigationRail.
The colors for a NumberPicker.
Contains default values used by NumberPicker.
Describes how the popup is placed relative to its anchor, used to drive the directional reveal and transform origin.
Records where an anchor was last touched, so a popup can open at the finger rather than centred on the anchor — COUI PreciseClickHelper / PreciseLongPressHelper, which stash the DOWN (x, y) and pass it to the click callback, after which PopupMenuLocateHelper.setAnchor collapses the anchor bounds to that single point.
Default values for the PullToRefresh component.
A UI state holder for the PullToRefresh composable.
Represents the various visual states of the pull-to-refresh indicator.
Colors for RichTooltip.
Defines how to scroll the scrollable component and how to display a scrollbar for it.
Colors for the scrollbar component.
Colors used by the InputField of a SearchBar.
Contains default values used by SearchBar and InputField.
Contains default values used by SmallTitle.
Interface representing the data of a Snackbar.
Defaults for Snackbar.
Possible durations of the Snackbar.
State of the SnackbarHost.
Possible results of the Snackbar.
Visuals for a Snackbar.
Contains default values used by Stepper.
Contains default values used by TextField.
Background mode of a TextField, mirroring COUIEditText couiBackgroundMode.
Contains default values used by TimePicker.
Represents the position of a floating toolbar within the Scaffold. Used by Scaffold for placement calculations.
Defaults for TooltipBox, PlainTooltip and RichTooltip.
Receiver scope for the TooltipBox tooltip content (PlainTooltip / RichTooltip). It exposes the resolved anchor position and the anchor bounds so a caret can be drawn pointing at the anchor.
The state that controls the visibility of a TooltipBox.
Contains default values used by TopAppBar and SmallTopAppBar.
A state object that can be hoisted to control and observe the top app bar state. The state is read and updated by a ScrollBehavior implementation.
Contains default values used by TopTips.
Properties
A composition local to control the display mode for items in a NavigationBar.
A composition local to control the display mode for items in a NavigationRail.
Functions
A basic component with COUI style. Widely used in other extension components.
A horizontal breadcrumb navigation bar with Miuix style. Displays a trail of path segments as capsule-shaped items separated by arrow icons. When the content overflows the available width, it scrolls horizontally instead of collapsing — matching the file-manager convention on mobile devices.
A Button component with COUI style.
A Card component with COUI style. Card contain content and actions that relate information about a subject.
A Card component with COUI style. Card contain contain content and actions that relate information about a subject.
Resolves the CardListPosition of the row at index within a card group of count rows, mirroring COUI's COUICardListHelper.getPositionInGroup(int, int).
A Checkbox component with COUI style, supporting three states: On, Off, and Indeterminate.
A Chip component with COUI style.
A CircularProgressIndicator with COUI style.
A CodeTextField component with COUI style.
A color palette component that allows users to select colors from a grid of HSV values.
A ColorPicker component with COUI style that supports multiple color spaces.
A ColorSwatchPicker component with COUI style.
Returns a ScrollBehavior that adjusts its properties to affect the colors and height of the top app bar.
A DatePicker component with COUI style.
A non-clickable group-title row shown inside a dropdown popup (COUI coui_popup_list_window_header_item.xml).
The implementation of the dropdown.
A FloatingActionButton component with COUI style.
A floating navigation bar that supports 2 to 5 items.
A FloatingNavigationBarItem that is suitable for FloatingNavigationBar.
A FloatingToolbar that renders its content in a Card, arranged either horizontally or vertically. The actual placement on screen is handled by the parent, typically Scaffold.
A full page statement component with COUI style, mirroring ColorOS's COUIFullPageStatement (coui_full_page_statement.xml): a centered title, a scrollable statement body with vertical fading edges, and a bottom area holding a filled primary button plus an optional borderless exit text button. Typically used as the first-launch privacy / user statement page.
A divider is a thin line that groups content in lists and layouts.
A horizontal scrollbar.
A HsvAlphaSlider component for selecting the alpha of a color.
A HsvColorPicker component with COUI style using HSV color space.
A HsvHueSlider component for selecting the hue of a color using pure HSV colors.
A HsvSaturationSlider component for selecting the saturation of a color.
A HsvValueSlider component for selecting the value/brightness of a color.
A Icon component with COUI style.
A IconButton component with COUI style.
A InfiniteProgressIndicator with COUI style.
A text field to input a query in a search bar with COUI style.
An InputView component with COUI style — the ColorOS Settings "card input".
Joins the path segments of all BreadcrumbItems in this list into a single path string using the given separator.
A LinearProgressIndicator with COUI style.
A column that automatically aligns the width to the widest item.
The scaling and fading container that hosts a list popup's content.
A LoadingButton component with COUI style.
A NavigationBar that with 2 to 5 items.
A NavigationBarItem that is suitable for NavigationBar.
A NavigationRail that is suitable for wide screens.
A NavigationRailItem that is suitable for NavigationRail.
A NumberPicker component with COUI style.
A OkHsvAlphaSlider component for selecting the alpha of a color using OkHSV.
A OkHsvColorPicker component with COUI style using OkHSV color space based on OkLab. OkHSV provides better perceptual uniformity than traditional HSV.
A OkHsvHueSlider component for selecting the hue of a color using OkHSV color space.
A OkHsvSaturationSlider component for selecting the saturation of a color using OkHSV.
A OkHsvValueSlider component for selecting the value/brightness of a color using OkHSV.
A OkLabAChannelSlider component for selecting the A channel (green-red axis) of a color in OkLab space.
A OkLabAlphaSlider component for selecting the alpha of a color in OkLab space.
A OkLabBChannelSlider component for selecting the B channel (blue-yellow axis) of a color in OkLab space.
A OkLabColorPicker component with COUI style using OkLab color space.
A OkLabLightnessSlider component for selecting the lightness (L) of a color in OkLab space.
A OkLchColorPicker component with COUI style using OkLch color space.
A plain tooltip that briefly describes an anchor with a short text label, using the Miuix inverse surface style.
Records the DOWN position of each touch into state, mirroring COUI PreciseClickHelper's OnTouchListener. Attach to the anchor of a popup that was given the same PreciseClickState so the popup opens at the finger.
A container that supports the "pull-to-refresh" gesture.
A RadioButton component with COUI style.
A RangeSlider component with COUI style.
Computes and remembers the ListPopupLayoutInfo for a list popup from its anchor and content size.
Creates and remembers a PreciseClickState for a point-anchored popup.
Creates and remembers a PullToRefreshState across recompositions.
Create and remember for ScrollState.
Create and remember for LazyListState.
Create and remember for LazyGridState.
Creates and remembers a TooltipState.
Creates a TopAppBarState that is remembered across compositions.
A rich tooltip convenience that wraps TooltipBox + RichTooltip with an optional title and a single text action. The action invokes onActionClick then dismisses the tooltip.
A RotatingProgressIndicator with COUI style.
A Scaffold component with COUI style.
A SearchBar component with COUI style.
A Slider component with COUI style.
A SmallTitle with COUI style.
A SmallTopAppBar with COUI style.
A Snackbar is a temporary message that appears at the bottom of the screen.
Host for Snackbars to be shown.
The implementation of the spinner.
A Surface component with COUI style.
A TabRow with COUI style, without the container capsule.
A TabRowWithContour with COUI style.
A Text component with COUI style.
A TextButton component with COUI style.
A TextField component with COUI style.
A text field component with COUI style.
A TimePicker component with COUI style.
A tooltip box that anchors a tooltip (a PlainTooltip or RichTooltip) to its content.
A plain tooltip convenience that wraps TooltipBox + PlainTooltip for a short text label.
A TopAppBar with COUI style that can collapse and expand based on the scroll position of the content below it.
A TopTips component with COUI style.
A divider is a thin line that groups content in lists and layouts.
A vertical scrollbar.
A vertical Slider component with COUI style.