Skip to content

UI module index ​

The salt-ui module provides the SaltUI theme and components. See Installation to add it.

Theme ​

See Theme for configuration with SaltConfigs, SaltDynamicColors, SaltColors, SaltTextStyles, SaltDimens, and SaltShapes.

Items ​

See Items for Item, ItemSwitcher, ItemCheck, ItemValue, ItemEdit, ItemEditPassword, ItemSlider, ItemButton, ItemDropdown, ItemInfo, and the outer heading and spacing components.

Primitives ​

See Primitives for Text, Icon, SaltIcons, Button, BasicButton, PillButton, Switcher, Slider, Card, RoundedColumn, Surface, JustifiedRow, and bars.

Overlays and dialogs ​

See Popup menus for PopupActionMenu, PopupMenu, PopupMenuItem, and PopupMenuBackdrop. See Overlays and dialogs and Sheet for modal content.

Material ​

See Material for background layers and fallbacks, and Glass for individual controls and interaction.

Screen layout ​

See Build a screen for BasicScreen, ScreenCard, and TitleBarButton.

Scrolling and gestures ​

See Scrolling and lists for Cupertino scrolling, snapping, and nested scrolling.

Lazy layouts ​

See Lazy layouts for lists, grids, staggered grids, and pagers.

Utilities ​

See Modifiers and utilities for conditional modifiers, insets, padding, and interaction feedback.

Android ​

See Android for application setup, edge-to-edge layout, and system bars.

Desktop ​

See Desktop for native windows, custom caption bars, and hit testing.

Google/Android 是 Google LLC 的注册商标,Salt Player 和糖醋音乐均是寻浔科技(上海)有限公司在中华人民共和国的注册商标