Package-level declarations

Types

Link copied to clipboard

Object to hold defaults Nordic colors used by Slider.

Link copied to clipboard

Representation of a set of items of pager view.

Link copied to clipboard
class PagerViewItem(val title: String, val drawView: @Composable () -> Unit)

Representation of a pager view item.

Link copied to clipboard

The status of the progress item.

Link copied to clipboard
data class RadioButtonItem(val label: String, val isChecked: Boolean = false)

Representation of a radio button item.

Link copied to clipboard
data class RadioGroupViewEntity(val items: List<RadioButtonItem>)

Representation of a set of items of radio button group.

Link copied to clipboard
sealed class WizardStepAction

A wizard step action to be displayed on the right side of a step.

Link copied to clipboard

The state of a wizard step.

Functions

Link copied to clipboard
fun AppBarIcon(painter: Painter, contentDescription: String?, onClick: () -> Unit)
fun AppBarIcon(imageVector: ImageVector, contentDescription: String?, onClick: () -> Unit)
Link copied to clipboard
fun CircularIcon(painter: Painter, modifier: Modifier = Modifier, backgroundColor: Color = MaterialTheme.colorScheme.secondary, enabled: Boolean = true)
fun CircularIcon(imageVector: ImageVector, modifier: Modifier = Modifier, backgroundColor: Color = MaterialTheme.colorScheme.secondary, enabled: Boolean = true)
Link copied to clipboard
fun FloatingActionMenu(onDismissRequest: () -> Unit, expanded: Boolean, menuContent: @Composable ColumnScope.() -> Unit, contentPadding: PaddingValues = ButtonDefaults.TextButtonContentPadding, content: @Composable () -> Unit)
Link copied to clipboard
fun FloatingActionMenuItem(text: @Composable () -> Unit, icon: @Composable () -> Unit, onClick: () -> Unit, shape: Shape = FloatingActionButtonDefaults.shape, contentPadding: PaddingValues = ButtonDefaults.TextButtonContentPadding)
fun FloatingActionMenuItem(label: String, imageVector: ImageVector, onClick: () -> Unit, shape: Shape = FloatingActionButtonDefaults.shape, contentPadding: PaddingValues = ButtonDefaults.TextButtonContentPadding)
Link copied to clipboard
fun FloatingActionMenuItemSecondary(label: String, imageVector: ImageVector, onClick: () -> Unit, shape: Shape = FloatingActionButtonDefaults.smallShape)
Link copied to clipboard

A radio button group is a component that displays a set of radio buttons in a horizontal layout.

Link copied to clipboard
fun NavigationDrawerTitle(title: String, modifier: Modifier = Modifier)
Link copied to clipboard
fun NordicAppBar(title: @Composable () -> Unit, modifier: Modifier = Modifier, onNavigationButtonClick: () -> Unit? = null, onHamburgerButtonClick: () -> Unit? = null, showBackButton: Boolean = onNavigationButtonClick != null, backButtonIcon: ImageVector = Icons.AutoMirrored.Filled.ArrowBack, showHamburgerButton: Boolean = onHamburgerButtonClick != null, expandedHeight: Dp = TopAppBarDefaults.TopAppBarExpandedHeight, windowInsets: WindowInsets = WindowInsets.displayCutout .union(WindowInsets.statusBars) .union(WindowInsets.navigationBars) .only(WindowInsetsSides.Horizontal + WindowInsetsSides.Top), scrollBehavior: TopAppBarScrollBehavior? = null, actions: @Composable RowScope.() -> Unit = {})
Link copied to clipboard
fun NordicLargeAppBar(title: @Composable () -> Unit, modifier: Modifier = Modifier, onNavigationButtonClick: () -> Unit? = null, onHamburgerButtonClick: () -> Unit? = null, showBackButton: Boolean = onNavigationButtonClick != null, backButtonIcon: ImageVector = Icons.AutoMirrored.Filled.ArrowBack, showHamburgerButton: Boolean = onHamburgerButtonClick != null, collapsedHeight: Dp = TopAppBarDefaults.LargeAppBarCollapsedHeight, expandedHeight: Dp = TopAppBarDefaults.LargeAppBarExpandedHeight, windowInsets: WindowInsets = WindowInsets.displayCutout .union(WindowInsets.statusBars) .union(WindowInsets.navigationBars) .only(WindowInsetsSides.Horizontal + WindowInsetsSides.Top), scrollBehavior: TopAppBarScrollBehavior? = null, actions: @Composable RowScope.() -> Unit = {})
Link copied to clipboard
fun NordicLogo(modifier: Modifier = Modifier)
Link copied to clipboard
fun NordicMediumAppBar(title: @Composable () -> Unit, onNavigationButtonClick: () -> Unit? = null, onHamburgerButtonClick: () -> Unit? = null, showBackButton: Boolean = onNavigationButtonClick != null, backButtonIcon: ImageVector = Icons.AutoMirrored.Filled.ArrowBack, showHamburgerButton: Boolean = onHamburgerButtonClick != null, collapsedHeight: Dp = TopAppBarDefaults.MediumAppBarCollapsedHeight, expandedHeight: Dp = TopAppBarDefaults.MediumAppBarExpandedHeight, windowInsets: WindowInsets = WindowInsets.displayCutout .union(WindowInsets.statusBars) .union(WindowInsets.navigationBars) .only(WindowInsetsSides.Horizontal + WindowInsetsSides.Top), scrollBehavior: TopAppBarScrollBehavior? = null, actions: @Composable RowScope.() -> Unit = {})
Link copied to clipboard
fun PagerView(viewEntity: PagerViewEntity, modifier: Modifier = Modifier, itemSpacing: Dp = 0.dp, contentPadding: PaddingValues = PaddingValues(0.dp), verticalAlignment: Alignment.Vertical = Alignment.Top)

A pager view is a component that displays a set of views in a horizontal view pager with scrollable tabs.

fun PagerView(viewEntity: PagerViewEntity, modifier: Modifier = Modifier, itemSpacing: Dp = 0.dp, scrollable: Boolean = true, coroutineScope: CoroutineScope, pagerState: PagerState = rememberPagerState(pageCount = { viewEntity.items.size }), contentPadding: PaddingValues = PaddingValues(0.dp), verticalAlignment: Alignment.Vertical = Alignment.Top)

A pager view is a component that displays a set of views in a horizontal view pager with tabs. Tabs are scrollable if scrollable is set to true.

Link copied to clipboard
fun ProgressItem(text: String, status: ProgressItemStatus, modifier: Modifier = Modifier, verticalAlignment: Alignment.Vertical = Alignment.Top, iconRightPadding: Dp = 24.dp)
fun ProgressItem(status: ProgressItemStatus, modifier: Modifier = Modifier, verticalAlignment: Alignment.Vertical = Alignment.Top, iconRightPadding: Dp = 24.dp, content: @Composable ColumnScope.() -> Unit = {})

A progress item is a component that displays a status of an operation in a Wizard component.

Link copied to clipboard

A radio button group is a component that displays a set of radio buttons in a vertical layout.

Link copied to clipboard

A component that displays an icon and a text representing the RSSI value.

Link copied to clipboard
fun SectionTitle(painter: Painter, title: String, modifier: Modifier = Modifier, menu: @Composable () -> Unit? = null)
fun SectionTitle(icon: ImageVector, title: String, modifier: Modifier = Modifier, menu: @Composable () -> Unit? = null)

A section title is a component that displays a title with an icon and optionally a menu.

Link copied to clipboard
fun StatusItem(modifier: Modifier = Modifier, content: @Composable ColumnScope.() -> Unit)

A component that displays list of items grouped by a vertical line on the left.

Link copied to clipboard
fun WarningView(painterResource: Painter, title: @Composable () -> Unit, hint: @Composable () -> Unit, modifier: Modifier = Modifier, content: @Composable ColumnScope.() -> Unit = {})
fun WarningView(imageVector: ImageVector, title: @Composable () -> Unit, hint: @Composable () -> Unit, modifier: Modifier = Modifier, content: @Composable ColumnScope.() -> Unit = {})
fun WarningView(painterResource: Painter, title: String, hint: AnnotatedString, modifier: Modifier = Modifier, hintTextAlign: TextAlign? = TextAlign.Center, content: @Composable ColumnScope.() -> Unit = {})
fun WarningView(painterResource: Painter, title: String, hint: String, modifier: Modifier = Modifier, hintTextAlign: TextAlign? = TextAlign.Center, content: @Composable ColumnScope.() -> Unit = {})
fun WarningView(imageVector: ImageVector, title: String, hint: AnnotatedString, modifier: Modifier = Modifier, hintTextAlign: TextAlign? = TextAlign.Center, content: @Composable ColumnScope.() -> Unit = {})
fun WarningView(imageVector: ImageVector, title: String, hint: String, modifier: Modifier = Modifier, hintTextAlign: TextAlign? = TextAlign.Center, content: @Composable ColumnScope.() -> Unit = {})

A warning view is a component that displays a warning icon, a title, and a hint.

Link copied to clipboard
fun WizardStepComponent(icon: ImageVector, title: @Composable () -> Unit, state: WizardStepState, modifier: Modifier = Modifier, decor: WizardStepAction? = null, contentColor: Color = LocalContentColor.current, contentStyle: TextStyle = MaterialTheme.typography.bodyMedium, content: @Composable ColumnScope.() -> Unit)
fun WizardStepComponent(icon: ImageVector, title: String, state: WizardStepState, modifier: Modifier = Modifier, decor: WizardStepAction? = null, contentColor: Color = LocalContentColor.current, contentStyle: TextStyle = MaterialTheme.typography.bodyMedium, content: @Composable ColumnScope.() -> Unit)

A wizard step component.