Package-level declarations
Types
Color defs for badge
The default values for the Badge component.
Holds colors used by Button
Object holding default values used by buttons
Presents sizes used by Button. Holds pre-defined sizes used by styled buttons like Button. Each size has related PaddingValues,Shape and TextStyle.
Holding vibrant used by Button
colors wrapper for Checkbox
Defines box content size. Means the circle diameter
Contains the default values used by CheckBox
colors for Chip
the default values for chips.
Vibrants for Chip.
Default values for CircularProgressIndicator
define size spec for circular indicator
A color scheme holds all the named color roles parameters for PICO design system.
A color style holds the Vibrant and Color for a color role.
colors for DatePicker
Contains default values used by the DatePicker.
A date formatter interface used by DatePicker.
A state object that can be hoisted to observe the date picker state. See rememberDatePickerState.
vibrants for DatePicker
A state object that can be hoisted to observe the date range picker state. See rememberDateRangePickerState.
The default values for the Divider component.
Define header style for DatePicker.
Holding IconButton default values.
Default values for LinearProgressIndicator
Defines height for LinearProgressIndicator
Holds the default values used by Link.
Represents the container and content colors used in a list item in different states.
Object hold default values used by ListItem
The colors for NumberField.
Object that containing default values for NumberField.
The size for NumberField.
The vibrants for NumberField.
The colors used by Option
hold default values for Option
The vibrants used by Option.
The colors of PageControl.
The default values of PageControl.
that defines the appearance of a page control.
The vibrants of PageControl.
Default state indication of PICO design. will draw a color behind content when pressed/hovered
defines colors for progress indicator
define edge style
Defines Vibrants for progress indicator
Colors for ScrollIndicator.
Hold default configs for ScrollIndicator
State for a scroll indicator.
Vibrants for ScrollIndicator.
SearchFieldDefaults
The colors used in the segment control.
Provides default values for the SegmentControl composable function.
The size of the segment control.
The vibrants used in the segment control.
Holds the colors used by SideNavigationItem.
Contains default values used in SideNavigationItem components.
Holds the vibrants used by SideNavigationItem.
colors for Slider
Object hold default values used by sliders
slider size wrapper
vibrants for Slider
SpatialUI use Content Provider to access application context
default icon style
Represents the colors used by a Switch in different states
Contains the default values used by Switch
define switch size.
Represents the vibrants used by a Switch in different states.
Defines TextField color theme
TextFieldDefaults
Wrapper for Set of TimepickerElement for stability
Used by Timepicker to determinate which element should be shown
Define how to place title in TitleBar
The colors of TitleBar.
The default values of TitleBar.
The vibrants of TitleBar.
colors for ToggleableChip
Vibrants for ToggleableChip.
Holds the colors used by ToggleButton
Contains the default values used by ToggleButton
Holds the vibrants used by ToggleButton
Holding ToggleIconButton default values.
Typography used by PICO Design
Define colors for WheelPicker
Object that contains default values for WheelPicker
Define vibrants for WheelPicker
Properties
CompositionLocal containing the preferred content color for a given position in the hierarchy.
CompositionLocal containing the alpha value for component's disabled state
CompositionLocal provides TextStyle used by Text components by default. To set the value of this CompositionLocal, see ProvideTextStyle.
Functions
Badge is a component that can contain dynamic information, such as the presence of a new notification or a number of pending requests. Badges can be icon only or contain short text.
Calculates the inner padding values for a badge based on its size.
Calculates the corner radius for a badge. This function determines the appropriate radius based on the badge size.
Basic implementation of scroll indicator. Different to ScrollIndicator with BoxScope, this implementation can be placed anywhere in the tree. And it's always visible.
A stylized button component defined by PICO design which can be easily used by passing pre-defined ButtonSize and ButtonColors. Each pre-defined ButtonSize has related PaddingValues,Shape,gap and TextStyle.
Button-like Chip
Checkboxes allow users to select one or more items from a set. Checkboxes can turn an option on or off.
Basic chip.
Progress indicators express an unspecified wait time, such as loading.
Progress indicators display the length of a process.
The corner radius of the segment control.
Calculates the content gap for a given ChipSize.
Calculates the content padding for a given ChipSize.
Calculates the corner radius for a given ChipSize.
DatePicker is a component that allows users to select a date.
Date range pickers let people select a range of dates and can be embedded into Dialogs.
A divider is a thin line that groups content in lists and layouts.
A PICO design icon component that draws bitmap using tint, with a default value of LocalContentColor. If bitmap has no intrinsic size, this component uses the recommended default size. Icon is an opinionated component designed to be used with single-color icons so that they can be tinted correctly for the component they are placed in. For multicolored icons and icons that should not be tinted, use Color.Unspecified for tint. For generic images that should not be tinted, and do not follow the recommended icon size, use the generic androidx.compose.foundation.Image instead. For a clickable icon, see IconButton.
A PICO design icon component that draws painter using tint, with a default value of LocalContentColor. If painter has no intrinsic size, this component uses the recommended default size. Icon is an opinionated component designed to be used with single-color icons so that they can be tinted correctly for the component they are placed in. For multicolored icons and icons that should not be tinted, use Color.Unspecified for tint. For generic images that should not be tinted, and do not follow the recommended icon size, use the generic androidx.compose.foundation.Image instead. For a clickable icon, see IconButton.
A PICO design icon component that draws imageVector using tint, with a default value of LocalContentColor. If imageVector has no intrinsic size, this component uses the recommended default size. Icon is an opinionated component designed to be used with single-color icons so that they can be tinted correctly for the component they are placed in. For multicolored icons and icons that should not be tinted, use Color.Unspecified for tint. For generic images that should not be tinted, and do not follow the recommended icon size, use the generic androidx.compose.foundation.Image instead. For a clickable icon, see IconButton.
Icon button defined by PICO design
The content padding of the segment control item.
Progress indicators express an unspecified wait time or display the length of a process. By default there is no animation between progress values.
A Link is a text button with a optional trailing icon.
This component can be used to achieve the list item templates existing in the spec.
A Badge that is used to show numbers
Calculate the rounded corner radius of a number badge. This function returns half of the badge's height, which is typically used to create circular or oval badges.
NumberField is used to create a number input field with increase and decrease buttons.
PageControl used to create a page indicator.
Provides PICO theme values.
ProgressPageControl used to create a page indicator, each dot has a progress indicator.
This function will merge the given style values with current values for any missing attributes. Any Text included in this component will be styled with the merged style by default.
Creates a DatePickerState for a DatePicker that is remembered across compositions.
Creates a DateRangePickerState for a DateRangePicker that is remembered across compositions.
Create a ScrollIndicatorState for LazyListState.
Create a ScrollIndicatorState for ScrollState.
state for WheelPicker
A chip which is removable
Calculates the icon size for a given ChipSize in RemovableChip.
Calculates the padding for a given ChipSize in RemovableChip.
Scroll indicator is used to indicate scrolling progress of a list view, just like LazyColumn or LazyRow. You can also drag the indicator to scroll the content of list view.
Scroll indicator is used to indicate scrolling progress of a scrollable view with Modifier.verticalScroll or Modifier.horizontalScroll, like Column or Row. You can also drag the indicator to scroll the content of scrollable view.
Search field allows users to input text, and trigger a search action either by pressing the search button on the keyboard or other means.
Segment control with Texts or Icons
A composable function that creates a basic segment item. The segment item can be used as a building block for creating the text and icon segment controls.
Sliders allow users to make selections range from 0 to segmentCount
A vertical navigation component typically used for primary navigation patterns.
A single navigation item within a SideNavigation or SideNavigationSection.
A section within a SideNavigation that groups related navigation items.
Continuous sliders allow users to make selections in valueRange
Basic implement of a stepper.
Switches toggle the state of a single item on or off.
Progress indicators display the length of a process. When progress is 1.0f, a complete animation will be display. A progressSymbol is optional for you to display the progress details
Continuous sliders allow users to make selections in valueRange.
The colors will be load from system resources.
High level PICO design component to display text.
Multi line text input
Multi-line text input
Text fields allow users to enter text into a UI.
A components for choose hours/minutes/seconds based on WheelPicker
app title bar
Chip that is toggleable
A stylized toggleable button component defined by PICO design which could be used easily by pass pre-defined ButtonSize and ToggleButtonColors. Each pre-defined ButtonSize has related PaddingValues,Shape,gap and TextStyle.
Toggleable icon button defined by PICO design
Checkboxes can have a parent-child relationship with other checkboxes. When the parent checkbox is checked, all child checkboxes are checked. If a parent checkbox is unchecked, all child checkboxes are unchecked. If some, but not all, child checkboxes are checked, the parent checkbox becomes an indeterminate checkbox.
A divider is a thin line that groups content in horizontal lists and layouts.
A common picker widget defined by PICO Design.