Package-level declarations

Types

Link copied to clipboard

Selects high-, medium-, or low-emphasis One UI 7 alpha button presentation.

Link copied to clipboard
data class OneUi7NavigationItem(val key: Any, val label: String)

Defines one text-only destination in OneUi7NavigationBar.

Link copied to clipboard

Identifies the public Samsung reference line and the deliberately bounded alpha component set.

Link copied to clipboard

Creates static One UI 7 alpha token snapshots without reading Android theme resources.

Functions

Link copied to clipboard
fun UiTreeBuilder.OneUi7Button(text: String, onClick: () -> Unit?, variant: OneUi7ButtonVariant = OneUi7ButtonVariant.Primary, enabled: Boolean = true, key: Any? = null, modifier: Modifier = Modifier)

Emits a One UI 7 alpha text action through the shared design-system-neutral BasicButton.

Link copied to clipboard
fun UiTreeBuilder.OneUi7NavigationBar(items: List<OneUi7NavigationItem>, selectedIndex: Int, onItemSelected: (Int) -> Unit, enabled: Boolean = true, key: Any? = null, modifier: Modifier = Modifier)

Emits the One UI 7 alpha text-only bottom navigation component.

Link copied to clipboard
fun UiTreeBuilder.OneUi7Surface(onClick: () -> Unit? = null, enabled: Boolean = true, key: Any? = null, modifier: Modifier = Modifier, content: UiTreeBuilder.() -> Unit)

Emits a rounded One UI 7 alpha card surface through BasicSurface.

Link copied to clipboard
fun UiTreeBuilder.OneUi7Switch(text: String, checked: Boolean, onCheckedChange: (Boolean) -> Unit, enabled: Boolean = true, key: Any? = null, modifier: Modifier = Modifier)

Emits a One UI 7 alpha labeled switch as a design-system-owned composite.

Link copied to clipboard
fun UiTreeBuilder.OneUi7TextField(state: TextFieldState, label: String, placeholder: String = "", supportingText: String = "", enabled: Boolean = true, isError: Boolean = false, autofillHints: Set<TextFieldAutofillHint> = emptySet(), key: Any? = null, modifier: Modifier = Modifier)

Emits a One UI 7 alpha field decoration around the framework's native editing core.

Link copied to clipboard
fun UiTreeBuilder.OneUi7Theme(tokens: UiThemeTokens = OneUi7ThemeDefaults.light(), integrations: List<UiIntegrationAttribution> = OneUi7DefaultIntegrations, content: UiTreeBuilder.() -> Unit)

Installs one coherent One UI 7 alpha token and component-recipe snapshot for content.