Package-level declarations

Types

Link copied to clipboard
@Immutable
value class ButtonState(val state: ULong) : FocusableComponentState
Link copied to clipboard
@Immutable
value class CheckboxState(state: ULong) : ToggleableComponentState, FocusableComponentState
Link copied to clipboard
@Immutable
value class ChipState(val state: ULong) : FocusableComponentState, SelectableComponentState
Link copied to clipboard
@Immutable
value class ComboBoxState(val state: ULong) : FocusableComponentState
Link copied to clipboard
object ContextMenuDivider : ContextMenuItem
Link copied to clipboard
object ContextMenuRepresentation : ContextMenuRepresentation
Link copied to clipboard
class ContextSubmenu(label: String, val submenu: () -> List<ContextMenuItem>) : ContextMenuItem
Link copied to clipboard
@Immutable
value class DropdownState(val state: ULong) : FocusableComponentState
Link copied to clipboard
class FixedCursorPoint(offset: DpOffset = DpOffset.Zero, alignment: Alignment = Alignment.BottomEnd, windowMargin: Dp = 4.dp) : TooltipPlacement

TooltipPlacement implementation for providing a PopupPositionProvider that calculates the position of the popup relative to the current mouse cursor position, but never changes it after showing the popup.

Link copied to clipboard
@Immutable
value class IconButtonState(val state: ULong) : FocusableComponentState
Link copied to clipboard
@Immutable
value class InputFieldState(val state: ULong) : FocusableComponentState
Link copied to clipboard
@Immutable
value class LinkState(val state: ULong) : FocusableComponentState
Link copied to clipboard
class ListItemState(val isSelected: Boolean, val isHovered: Boolean, val previewSelection: Boolean)
Link copied to clipboard
@Immutable
value class MenuItemState(val state: ULong) : SelectableComponentState, FocusableComponentState
Link copied to clipboard
class MenuManager(val onDismissRequest: (InputMode) -> Boolean, parentMenuManager: MenuManager? = null)
Link copied to clipboard
interface MenuScope
Link copied to clipboard
@Immutable
value class RadioButtonState(val state: ULong) : SelectableComponentState, FocusableComponentState
Link copied to clipboard
@Immutable
class SegmentedControlButtonData(val selected: Boolean, val content: @Composable SegmentedControlButtonScope.(segmentedControlButtonState: SegmentedControlButtonState) -> Unit, val onSelect: () -> Unit)
Link copied to clipboard
Link copied to clipboard
@Immutable
value class SegmentedControlButtonState(val state: ULong) : SelectableComponentState
Link copied to clipboard
@Immutable
value class SegmentedControlState(val state: ULong) : FocusableComponentState
Link copied to clipboard
@Immutable
value class SelectableIconButtonState(val state: ULong) : FocusableComponentState, SelectableComponentState
Link copied to clipboard
@Immutable
value class SliderState(val state: ULong) : FocusableComponentState
Link copied to clipboard
class SplitLayoutState(initialSplitFraction: Float)

Represents the state for a split layout, which is used to control the position of the divider and layout coordinates.

Link copied to clipboard
interface TabContentScope
Link copied to clipboard
@Immutable
sealed class TabData
Link copied to clipboard
@Immutable
value class TabState(val state: ULong) : SelectableComponentState
Link copied to clipboard
@Immutable
value class TabStripState(val state: ULong) : FocusableComponentState
Link copied to clipboard
@Immutable
value class ToggleableIconButtonState(val state: ULong) : FocusableComponentState, ToggleableComponentState
Link copied to clipboard
object Typography

A quick way to obtain text styles derived from the default TextStyle. These match the functionality provided by JBFont in the IntelliJ Platform.

Properties

Link copied to clipboard
val LocalMenuManager: ProvidableCompositionLocal<MenuManager>

Functions

Link copied to clipboard
@Composable
fun ActionButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, contentPadding: PaddingValues = PaddingValues(horizontal = 4.dp), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
@Composable
fun ActionButton(onClick: () -> Unit, tooltip: @Composable () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, contentPadding: PaddingValues = PaddingValues(horizontal = 4.dp), tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun Checkbox(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = JewelTheme.checkboxStyle.colors, metrics: CheckboxMetrics = JewelTheme.checkboxStyle.metrics, icons: CheckboxIcons = JewelTheme.checkboxStyle.icons, textStyle: TextStyle = LocalTextStyle.current, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
Link copied to clipboard
@Composable
fun CheckboxRow(checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = LocalCheckboxStyle.current.colors, metrics: CheckboxMetrics = LocalCheckboxStyle.current.metrics, icons: CheckboxIcons = LocalCheckboxStyle.current.icons, textStyle: TextStyle = LocalTextStyle.current, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, content: @Composable RowScope.() -> Unit)
@Composable
fun CheckboxRow(text: String, checked: Boolean, onCheckedChange: (Boolean) -> Unit, modifier: Modifier = Modifier, textModifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = LocalCheckboxStyle.current.colors, metrics: CheckboxMetrics = LocalCheckboxStyle.current.metrics, icons: CheckboxIcons = LocalCheckboxStyle.current.icons, textStyle: TextStyle = LocalTextStyle.current, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
Link copied to clipboard
@Composable
fun Chip(modifier: Modifier = Modifier, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, enabled: Boolean = true, selected: Boolean = false, style: ChipStyle = JewelTheme.chipStyle, onClick: () -> Unit = {}, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun CircularProgressIndicator(modifier: Modifier = Modifier, style: CircularProgressStyle = JewelTheme.circularProgressStyle, loadingDispatcher: CoroutineDispatcher = Dispatchers.Default)
Link copied to clipboard
@Composable
fun CircularProgressIndicatorBig(modifier: Modifier = Modifier, style: CircularProgressStyle = JewelTheme.circularProgressStyle, loadingDispatcher: CoroutineDispatcher = Dispatchers.Default)
Link copied to clipboard
@Composable
fun ComboBox(labelText: String, modifier: Modifier = Modifier, menuModifier: Modifier = Modifier, isEnabled: Boolean = true, outline: Outline = Outline.None, maxPopupHeight: Dp = Dp.Unspecified, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: ComboBoxStyle = JewelTheme.comboBoxStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, onArrowDownPress: () -> Unit = {}, onArrowUpPress: () -> Unit = {}, onPopupStateChange: (Boolean) -> Unit = {}, popupContent: @Composable () -> Unit)
Link copied to clipboard
fun TextStyle.copyWithSize(fontSize: TextUnit, color: Color = this.color, fontWeight: FontWeight? = this.fontWeight, fontStyle: FontStyle? = this.fontStyle, fontSynthesis: FontSynthesis? = this.fontSynthesis, fontFamily: FontFamily? = this.fontFamily, fontFeatureSettings: String? = this.fontFeatureSettings, letterSpacing: TextUnit = this.letterSpacing, baselineShift: BaselineShift? = this.baselineShift, textGeometricTransform: TextGeometricTransform? = this.textGeometricTransform, localeList: LocaleList? = this.localeList, background: Color = this.background, textDecoration: TextDecoration? = this.textDecoration, shadow: Shadow? = this.shadow, drawStyle: DrawStyle? = this.drawStyle, textAlign: TextAlign = this.textAlign, textDirection: TextDirection = this.textDirection, textIndent: TextIndent? = this.textIndent, platformStyle: PlatformTextStyle? = this.platformStyle, lineHeightStyle: LineHeightStyle? = this.lineHeightStyle, lineBreak: LineBreak = this.lineBreak, hyphens: Hyphens = this.hyphens, textMotion: TextMotion? = this.textMotion): TextStyle
fun TextStyle.copyWithSize(fontSize: TextUnit, brush: Brush?, alpha: Float = this.alpha, fontWeight: FontWeight? = this.fontWeight, fontStyle: FontStyle? = this.fontStyle, fontSynthesis: FontSynthesis? = this.fontSynthesis, fontFamily: FontFamily? = this.fontFamily, fontFeatureSettings: String? = this.fontFeatureSettings, letterSpacing: TextUnit = this.letterSpacing, baselineShift: BaselineShift? = this.baselineShift, textGeometricTransform: TextGeometricTransform? = this.textGeometricTransform, localeList: LocaleList? = this.localeList, background: Color = this.background, textDecoration: TextDecoration? = this.textDecoration, shadow: Shadow? = this.shadow, drawStyle: DrawStyle? = this.drawStyle, textAlign: TextAlign = this.textAlign, textDirection: TextDirection = this.textDirection, textIndent: TextIndent? = this.textIndent, platformStyle: PlatformTextStyle? = this.platformStyle, lineHeightStyle: LineHeightStyle? = this.lineHeightStyle, lineBreak: LineBreak = this.lineBreak, hyphens: Hyphens = this.hyphens, textMotion: TextMotion? = this.textMotion): TextStyle

Creates a copy of this TextStyle with a new fontSize and an appropriately set line height.

Link copied to clipboard
@Composable
fun DefaultButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: ButtonStyle = JewelTheme.defaultButtonStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
@Composable
fun Divider(orientation: Orientation, modifier: Modifier = Modifier, color: Color = Color.Unspecified, thickness: Dp = Dp.Unspecified, startIndent: Dp = Dp.Unspecified, style: DividerStyle = JewelTheme.dividerStyle)
Link copied to clipboard
@Composable
fun Dropdown(modifier: Modifier = Modifier, enabled: Boolean = true, menuModifier: Modifier = Modifier, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: DropdownStyle = JewelTheme.dropdownStyle, menuContent: MenuScope.() -> Unit, content: @Composable BoxScope.() -> Unit)
Link copied to clipboard
@Composable
fun DropdownLink(text: String, modifier: Modifier = Modifier, enabled: Boolean = true, textStyle: TextStyle = JewelTheme.defaultTextStyle, overflow: TextOverflow = TextOverflow.Clip, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: LinkStyle = LocalLinkStyle.current, menuModifier: Modifier = Modifier, menuStyle: MenuStyle = LocalMenuStyle.current, menuContent: MenuScope.() -> Unit)
Link copied to clipboard
@Composable
fun EditableComboBox(modifier: Modifier = Modifier, menuModifier: Modifier = Modifier, isEnabled: Boolean = true, inputTextFieldState: TextFieldState = rememberTextFieldState(), outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: ComboBoxStyle = JewelTheme.comboBoxStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, onArrowDownPress: () -> Unit = {}, onArrowUpPress: () -> Unit = {}, onEnterPress: () -> Unit = {}, onPopupStateChange: (Boolean) -> Unit = {}, popupContent: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun ErrorBanner(text: String, modifier: Modifier = Modifier, icon: @Composable () -> Unit? = { Icon(AllIconsKeys.General.BalloonError, null) }, actions: @Composable RowScope.() -> Unit? = null, style: DefaultBannerStyle = JewelTheme.defaultBannerStyle.error, textStyle: TextStyle = JewelTheme.defaultTextStyle)
Link copied to clipboard
@Composable
fun ExternalLink(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, textStyle: TextStyle = JewelTheme.defaultTextStyle, overflow: TextOverflow = TextOverflow.Clip, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: LinkStyle = LocalLinkStyle.current)
Link copied to clipboard
@Composable
fun GroupHeader(text: String, modifier: Modifier = Modifier, textColor: Color = Color.Unspecified, style: GroupHeaderStyle = LocalGroupHeaderStyle.current)
Link copied to clipboard
@Composable
fun HorizontallyScrollableContainer(scrollState: LazyListState, modifier: Modifier = Modifier, scrollbarModifier: Modifier = Modifier, style: ScrollbarStyle = JewelTheme.scrollbarStyle, reverseLayout: Boolean = false, scrollbarEnabled: Boolean = true, scrollbarInteractionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
@Composable
fun HorizontallyScrollableContainer(scrollState: LazyGridState, modifier: Modifier = Modifier, scrollbarModifier: Modifier = Modifier, style: ScrollbarStyle = JewelTheme.scrollbarStyle, reverseLayout: Boolean = false, scrollbarEnabled: Boolean = true, scrollbarInteractionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
@Composable
fun HorizontallyScrollableContainer(modifier: Modifier = Modifier, scrollbarModifier: Modifier = Modifier, scrollState: ScrollState = rememberScrollState(), style: ScrollbarStyle = JewelTheme.scrollbarStyle, reverseLayout: Boolean = false, scrollbarEnabled: Boolean = true, scrollbarInteractionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun HorizontalProgressBar(progress: Float, modifier: Modifier = Modifier, style: HorizontalProgressBarStyle = JewelTheme.horizontalProgressBarStyle)
Link copied to clipboard
@Composable
fun HorizontalScrollbar(scrollState: ScrollableState, modifier: Modifier = Modifier, reverseLayout: Boolean = false, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: ScrollbarStyle = JewelTheme.scrollbarStyle, keepVisible: Boolean = false)
Link copied to clipboard
@Composable
fun HorizontalSplitLayout(first: @Composable () -> Unit, second: @Composable () -> Unit, modifier: Modifier = Modifier, dividerStyle: DividerStyle = JewelTheme.dividerStyle, draggableWidth: Dp = 8.dp, firstPaneMinWidth: Dp = Dp.Unspecified, secondPaneMinWidth: Dp = Dp.Unspecified, state: SplitLayoutState = rememberSplitLayoutState())

A customizable horizontal split layout Composable function that allows you to divide the available space between two components using a draggable divider. The divider can be dragged to resize the panes, but cannot be focused.

Link copied to clipboard
@Composable
fun Icon(bitmap: ImageBitmap, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Color.Unspecified)

Icon component that draws bitmap using tint, defaulting to Color.Unspecified.

@Composable
fun Icon(painter: Painter, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Color.Unspecified)

Icon component that draws a painter using tint, defaulting to Color.Unspecified

@Composable
fun Icon(painter: Painter, contentDescription: String?, colorFilter: ColorFilter?, modifier: Modifier = Modifier)

Icon component that draws a painter using a colorFilter

@Composable
fun Icon(imageVector: ImageVector, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Color.Unspecified)

Icon component that draws imageVector using tint, defaulting to Color.Unspecified.

@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun Icon(resource: String, contentDescription: String?, iconClass: Class<*>, modifier: Modifier = Modifier, tint: Color = Color.Unspecified, vararg hints: PainterHint)
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun Icon(resource: String, contentDescription: String?, iconClass: Class<*>, modifier: Modifier = Modifier, tint: Color = Color.Unspecified, hint: PainterHint)
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun Icon(resource: String, contentDescription: String?, iconClass: Class<*>, colorFilter: ColorFilter?, modifier: Modifier = Modifier, vararg hints: PainterHint)
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun Icon(resource: String, contentDescription: String?, iconClass: Class<*>, colorFilter: ColorFilter?, modifier: Modifier = Modifier, hint: PainterHint)
@Composable
fun Icon(key: IconKey, contentDescription: String?, modifier: Modifier = Modifier, iconClass: Class<*> = key.iconClass, tint: Color = Color.Unspecified, vararg hints: PainterHint)
@Composable
fun Icon(key: IconKey, contentDescription: String?, modifier: Modifier = Modifier, iconClass: Class<*> = key.iconClass, tint: Color = Color.Unspecified, hint: PainterHint)
@Composable
fun Icon(key: IconKey, contentDescription: String?, modifier: Modifier = Modifier, iconClass: Class<*> = key.iconClass, colorFilter: ColorFilter?, vararg hints: PainterHint)
@Composable
fun Icon(key: IconKey, contentDescription: String?, modifier: Modifier = Modifier, iconClass: Class<*> = key.iconClass, colorFilter: ColorFilter?, hint: PainterHint)
Link copied to clipboard
@Composable
fun IconActionButton(painter: Painter, contentDescription: String?, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
@Composable
fun IconActionButton(key: IconKey, contentDescription: String?, hints: Array<PainterHint>, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java)
@Composable
fun IconActionButton(key: IconKey, contentDescription: String?, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, hint: PainterHint? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java)
@Composable
fun IconActionButton(painter: Painter, contentDescription: String?, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, tooltip: @Composable () -> Unit)
@Composable
fun IconActionButton(key: IconKey, contentDescription: String?, hints: Array<PainterHint>, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java, tooltip: @Composable () -> Unit)
@Composable
fun IconActionButton(key: IconKey, contentDescription: String?, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, hint: PainterHint? = null, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java, tooltip: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun IconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable BoxScope.(IconButtonState) -> Unit)
Link copied to clipboard
@Composable
fun IndeterminateHorizontalProgressBar(modifier: Modifier = Modifier, style: HorizontalProgressBarStyle = JewelTheme.horizontalProgressBarStyle)
Link copied to clipboard
@Composable
fun InformationBanner(text: String, modifier: Modifier = Modifier, icon: @Composable () -> Unit? = { Icon(AllIconsKeys.General.BalloonInformation, null) }, actions: @Composable RowScope.() -> Unit? = null, style: DefaultBannerStyle = JewelTheme.defaultBannerStyle.information, textStyle: TextStyle = JewelTheme.defaultTextStyle)
Link copied to clipboard
fun MenuScope.items(count: Int, isSelected: (Int) -> Boolean, onItemClick: (Int) -> Unit, content: @Composable (Int) -> Unit)
fun <T> MenuScope.items(items: List<T>, isSelected: (T) -> Boolean, onItemClick: (T) -> Unit, content: @Composable (T) -> Unit)
Link copied to clipboard
@Composable
fun <T> LazyTree(tree: Tree<T>, modifier: Modifier = Modifier, onElementClick: (Tree.Element<T>) -> Unit = {}, treeState: TreeState = rememberTreeState(), onElementDoubleClick: (Tree.Element<T>) -> Unit = {}, onSelectionChange: (List<Tree.Element<T>>) -> Unit = {}, keyActions: KeyActions = DefaultTreeViewKeyActions(treeState), style: LazyTreeStyle = JewelTheme.treeStyle, nodeContent: @Composable SelectableLazyItemScope.(Tree.Element<T>) -> Unit)
Link copied to clipboard
@Composable
fun Link(text: String, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, textStyle: TextStyle = JewelTheme.defaultTextStyle, overflow: TextOverflow = TextOverflow.Clip, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: LinkStyle = LocalLinkStyle.current)
Link copied to clipboard
@Composable
fun ListComboBox(items: List<String>, modifier: Modifier = Modifier, isEditable: Boolean = true, isEnabled: Boolean = true, maxPopupHeight: Dp = Dp.Unspecified, onSelectedItemChange: (String) -> Unit = {}, onHoverItemChange: (String) -> Unit = {}, onListHoverChange: (Boolean) -> Unit = {}, onPopupStateChange: (Boolean) -> Unit = {}, listItemContent: @Composable (String, Boolean, Boolean, Boolean, Boolean) -> Unit)
Link copied to clipboard
@Composable
fun MenuSeparator(modifier: Modifier = Modifier, metrics: MenuItemMetrics = JewelTheme.menuStyle.metrics.itemMetrics, colors: MenuItemColors = JewelTheme.menuStyle.colors.itemColors)
Link copied to clipboard
@Composable
fun MenuSubmenuItem(modifier: Modifier = Modifier, enabled: Boolean = true, canShowIcon: Boolean, iconKey: IconKey?, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: MenuStyle = JewelTheme.menuStyle, submenu: MenuScope.() -> Unit, content: @Composable () -> Unit)
@Composable
fun MenuSubmenuItem(modifier: Modifier = Modifier, enabled: Boolean = true, canShowIcon: Boolean, iconResource: String?, iconClass: Class<*>, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: MenuStyle = JewelTheme.menuStyle, submenu: MenuScope.() -> Unit, content: @Composable () -> Unit)
Link copied to clipboard
operator fun TextUnit.minus(other: TextUnit): TextUnit
Link copied to clipboard
@Composable
fun OutlinedButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: ButtonStyle = JewelTheme.outlinedButtonStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, content: @Composable RowScope.() -> Unit)
Link copied to clipboard
@Composable
fun painterResource(resourcePath: String): Painter
Link copied to clipboard
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun PlatformIcon(key: IntelliJIconKey, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Color.Unspecified, vararg hints: PainterHint)
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun PlatformIcon(key: IntelliJIconKey, contentDescription: String?, modifier: Modifier = Modifier, tint: Color = Color.Unspecified, hint: PainterHint)
Link copied to clipboard
operator fun TextUnit.plus(other: TextUnit): TextUnit
Link copied to clipboard
@Composable
fun PopupContainer(onDismissRequest: () -> Unit, horizontalAlignment: Alignment.Horizontal, modifier: Modifier = Modifier, style: PopupContainerStyle = JewelTheme.popupContainerStyle, popupProperties: PopupProperties = PopupProperties(focusable = true), content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun PopupMenu(onDismissRequest: (InputMode) -> Boolean, horizontalAlignment: Alignment.Horizontal, modifier: Modifier = Modifier, style: MenuStyle = JewelTheme.menuStyle, popupProperties: PopupProperties = PopupProperties(focusable = true), content: MenuScope.() -> Unit)
Link copied to clipboard
@Composable
fun RadioButton(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: RadioButtonStyle = JewelTheme.radioButtonStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
Link copied to clipboard
@Composable
fun RadioButtonChip(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, enabled: Boolean = true, style: ChipStyle = JewelTheme.chipStyle, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun RadioButtonRow(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: RadioButtonStyle = JewelTheme.radioButtonStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, content: @Composable RowScope.() -> Unit)
@Composable
fun RadioButtonRow(text: String, selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: RadioButtonStyle = JewelTheme.radioButtonStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
@Composable
fun rememberPopupPositionProviderAtFixedPosition(positionPx: Offset, offset: DpOffset = DpOffset.Zero, alignment: Alignment = Alignment.BottomEnd, windowMargin: Dp = 4.dp): PopupPositionProvider

A PopupPositionProvider that positions the popup at the given position relative to the anchor, but never updates it after showing the popup.

Link copied to clipboard
@Composable
fun rememberSplitLayoutState(initialSplitFraction: Float = 0.5f): SplitLayoutState

Remembers a SplitLayoutState instance with the provided initial split fraction.

Link copied to clipboard
@Composable
fun scrollbarContentSafePadding(style: ScrollbarStyle = JewelTheme.scrollbarStyle): Dp

A content padding to apply when you want to ensure the content is not overlapped by scrollbars. This value can be used for both vertical and horizontal scrollbars.

Link copied to clipboard
@Composable
fun SegmentedControl(buttons: List<SegmentedControlButtonData>, modifier: Modifier = Modifier, enabled: Boolean = true, style: SegmentedControlStyle = JewelTheme.segmentedControlStyle, buttonStyle: SegmentedControlButtonStyle = JewelTheme.segmentedControlButtonStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Link copied to clipboard
@Composable
fun SelectableIconActionButton(key: IconKey, contentDescription: String?, selected: Boolean, extraHints: Array<PainterHint>, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java)
@Composable
fun SelectableIconActionButton(key: IconKey, contentDescription: String?, selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, extraHint: PainterHint? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java)
@Composable
fun SelectableIconActionButton(key: IconKey, contentDescription: String?, selected: Boolean, extraHints: Array<PainterHint>, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java, tooltip: @Composable () -> Unit)
@Composable
fun SelectableIconActionButton(key: IconKey, contentDescription: String?, selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, extraHint: PainterHint? = null, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java, tooltip: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun SelectableIconButton(selected: Boolean, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable BoxScope.(SelectableIconButtonState) -> Unit)
Link copied to clipboard
Link copied to clipboard
@Composable
fun SimpleListItem(text: String, state: ListItemState, modifier: Modifier = Modifier, style: SimpleListItemStyle = JewelTheme.simpleListItemStyle, height: Dp = JewelTheme.globalMetrics.rowHeight, icon: IconKey? = null, contentDescription: String? = null)
Link copied to clipboard
@Composable
fun TabContentScope.SimpleTabContent(label: String, state: TabState, modifier: Modifier = Modifier, icon: Painter? = null)
@Composable
fun TabContentScope.SimpleTabContent(state: TabState, modifier: Modifier = Modifier, icon: @Composable () -> Unit? = null, label: @Composable () -> Unit)
@Composable
fun TabContentScope.SimpleTabContent(label: String, state: TabState, modifier: Modifier = Modifier, iconKey: IconKey? = null, vararg painterHints: PainterHint)
Link copied to clipboard
@Composable
fun Slider(value: Float, onValueChange: (Float) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, valueRange: ClosedFloatingPointRange<Float> = 0f..1f, steps: Int = 0, onValueChangeFinished: () -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: SliderStyle = JewelTheme.sliderStyle)
Link copied to clipboard
@Composable
fun SuccessBanner(text: String, modifier: Modifier = Modifier, icon: @Composable () -> Unit? = { Icon(AllIconsKeys.Debugger.ThreadStates.Idle, null) }, actions: @Composable RowScope.() -> Unit? = null, style: DefaultBannerStyle = JewelTheme.defaultBannerStyle.success, textStyle: TextStyle = JewelTheme.defaultTextStyle)
Link copied to clipboard
@Composable
fun TabStrip(tabs: List<TabData>, style: TabStyle, modifier: Modifier = Modifier, enabled: Boolean = true)
Link copied to clipboard
@Composable
fun Text(text: String, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign = TextAlign.Unspecified, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = JewelTheme.defaultTextStyle)
@Composable
fun Text(text: AnnotatedString, modifier: Modifier = Modifier, color: Color = Color.Unspecified, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null, fontFamily: FontFamily? = null, letterSpacing: TextUnit = TextUnit.Unspecified, textDecoration: TextDecoration? = null, textAlign: TextAlign = TextAlign.Unspecified, lineHeight: TextUnit = TextUnit.Unspecified, overflow: TextOverflow = TextOverflow.Clip, softWrap: Boolean = true, maxLines: Int = Int.MAX_VALUE, inlineContent: Map<String, InlineTextContent> = emptyMap(), onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextStyle = JewelTheme.defaultTextStyle)
Link copied to clipboard
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun TextArea(value: TextFieldValue, onValueChange: (TextFieldValue) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, placeholder: @Composable () -> Unit? = null, undecorated: Boolean = false, outline: Outline = Outline.None, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextAreaStyle = JewelTheme.textAreaStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, decorationBoxModifier: Modifier = Modifier)
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun TextArea(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, outline: Outline = Outline.None, placeholder: @Composable () -> Unit? = null, undecorated: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), maxLines: Int = Int.MAX_VALUE, onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextAreaStyle = JewelTheme.textAreaStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, decorationBoxModifier: Modifier = Modifier)
@Composable
fun TextArea(state: TextFieldState, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, inputTransformation: InputTransformation? = null, textStyle: TextStyle = JewelTheme.defaultTextStyle, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, onKeyboardAction: KeyboardActionHandler? = null, lineLimits: TextFieldLineLimits = TextFieldLineLimits.MultiLine(), onTextLayout: Density.(getResult: () -> TextLayoutResult?) -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: TextAreaStyle = JewelTheme.textAreaStyle, outline: Outline = Outline.None, placeholder: @Composable () -> Unit? = null, decorationBoxModifier: Modifier = Modifier, outputTransformation: OutputTransformation? = null, undecorated: Boolean = false, scrollState: ScrollState = rememberScrollState(), scrollbarStyle: ScrollbarStyle? = JewelTheme.scrollbarStyle)
Link copied to clipboard
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun TextField(value: String, onValueChange: (String) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, outline: Outline = Outline.None, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, undecorated: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextFieldStyle = JewelTheme.textFieldStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
@Composable
fun TextField(state: TextFieldState, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, inputTransformation: InputTransformation? = null, textStyle: TextStyle = JewelTheme.defaultTextStyle, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, onKeyboardAction: KeyboardActionHandler? = null, onTextLayout: Density.(getResult: () -> TextLayoutResult?) -> Unit? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: TextFieldStyle = JewelTheme.textFieldStyle, outline: Outline = Outline.None, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, outputTransformation: OutputTransformation? = null, undecorated: Boolean = false)
@ApiStatus.ScheduledForRemoval(inVersion = "Before 1.0")
@Composable
fun TextField(value: TextFieldValue, onValueChange: (TextFieldValue) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, readOnly: Boolean = false, outline: Outline = Outline.None, placeholder: @Composable () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, undecorated: Boolean = false, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardOptions: KeyboardOptions = KeyboardOptions.Default, keyboardActions: KeyboardActions = KeyboardActions(), onTextLayout: (TextLayoutResult) -> Unit = {}, style: TextFieldStyle = JewelTheme.textFieldStyle, textStyle: TextStyle = JewelTheme.defaultTextStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() })
Link copied to clipboard
@Composable
fun ToggleableChip(checked: Boolean, onClick: (Boolean) -> Unit, modifier: Modifier = Modifier, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, enabled: Boolean = true, style: ChipStyle = JewelTheme.chipStyle, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun ToggleableIconActionButton(key: IconKey, contentDescription: String?, value: Boolean, extraHints: Array<PainterHint>, onValueChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java)
@Composable
fun ToggleableIconActionButton(key: IconKey, contentDescription: String?, value: Boolean, onValueChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, extraHint: PainterHint? = null, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java)
@Composable
fun ToggleableIconActionButton(key: IconKey, contentDescription: String?, value: Boolean, extraHints: Array<PainterHint>, onValueChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java, tooltip: @Composable () -> Unit)
@Composable
fun ToggleableIconActionButton(key: IconKey, contentDescription: String?, value: Boolean, onValueChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, colorFilter: ColorFilter? = null, extraHint: PainterHint? = null, tooltipStyle: TooltipStyle = JewelTheme.tooltipStyle, tooltipModifier: Modifier = Modifier, tooltipPlacement: TooltipPlacement = FixedCursorPoint(offset = DpOffset(0.dp, 16.dp)), interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, iconClass: Class<*> = key::class.java, tooltip: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun ToggleableIconButton(value: Boolean, onValueChange: (Boolean) -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, focusable: Boolean = true, style: IconButtonStyle = JewelTheme.iconButtonStyle, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable BoxScope.(ToggleableIconButtonState) -> Unit)
Link copied to clipboard
@Composable
fun Tooltip(tooltip: @Composable () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, style: TooltipStyle = JewelTheme.tooltipStyle, tooltipPlacement: TooltipPlacement = style.metrics.placement, content: @Composable () -> Unit)

Shows a tooltip when the mouse pointer lingers on the content for long enough. Provides the styling for the tooltip container.

Link copied to clipboard
@Composable
fun TriStateCheckbox(state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = LocalCheckboxStyle.current.colors, metrics: CheckboxMetrics = LocalCheckboxStyle.current.metrics, icons: CheckboxIcons = LocalCheckboxStyle.current.icons, textStyle: TextStyle = LocalTextStyle.current, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
Link copied to clipboard
@Composable
fun TriStateCheckboxRow(state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = LocalCheckboxStyle.current.colors, metrics: CheckboxMetrics = LocalCheckboxStyle.current.metrics, icons: CheckboxIcons = LocalCheckboxStyle.current.icons, textStyle: TextStyle = LocalTextStyle.current, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically, content: @Composable RowScope.() -> Unit)
@Composable
fun TriStateCheckboxRow(text: String, state: ToggleableState, onClick: () -> Unit, modifier: Modifier = Modifier, textModifier: Modifier = Modifier, enabled: Boolean = true, outline: Outline = Outline.None, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, colors: CheckboxColors = LocalCheckboxStyle.current.colors, metrics: CheckboxMetrics = LocalCheckboxStyle.current.metrics, icons: CheckboxIcons = LocalCheckboxStyle.current.icons, textStyle: TextStyle = LocalTextStyle.current, verticalAlignment: Alignment.Vertical = Alignment.CenterVertically)
Link copied to clipboard
@Composable
fun VerticallyScrollableContainer(scrollState: LazyListState, modifier: Modifier = Modifier, scrollbarModifier: Modifier = Modifier, style: ScrollbarStyle = JewelTheme.scrollbarStyle, reverseLayout: Boolean = false, scrollbarEnabled: Boolean = true, scrollbarInteractionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
@Composable
fun VerticallyScrollableContainer(scrollState: LazyGridState, modifier: Modifier = Modifier, scrollbarModifier: Modifier = Modifier, style: ScrollbarStyle = JewelTheme.scrollbarStyle, reverseLayout: Boolean = false, scrollbarEnabled: Boolean = true, scrollbarInteractionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
@Composable
fun VerticallyScrollableContainer(modifier: Modifier = Modifier, scrollbarModifier: Modifier = Modifier, scrollState: ScrollState = rememberScrollState(), style: ScrollbarStyle = JewelTheme.scrollbarStyle, reverseLayout: Boolean = false, scrollbarEnabled: Boolean = true, scrollbarInteractionSource: MutableInteractionSource = remember { MutableInteractionSource() }, content: @Composable () -> Unit)
Link copied to clipboard
@Composable
fun VerticalScrollbar(scrollState: ScrollableState, modifier: Modifier = Modifier, reverseLayout: Boolean = false, enabled: Boolean = true, interactionSource: MutableInteractionSource = remember { MutableInteractionSource() }, style: ScrollbarStyle = JewelTheme.scrollbarStyle, keepVisible: Boolean = false)
Link copied to clipboard
@Composable
fun VerticalSplitLayout(first: @Composable () -> Unit, second: @Composable () -> Unit, modifier: Modifier = Modifier, dividerStyle: DividerStyle = JewelTheme.dividerStyle, draggableWidth: Dp = 8.dp, firstPaneMinWidth: Dp = Dp.Unspecified, secondPaneMinWidth: Dp = Dp.Unspecified, state: SplitLayoutState = rememberSplitLayoutState())

A customizable vertical split layout Composable function that allows you to divide the available space between two components using a draggable divider. The divider can be dragged to resize the panes, but cannot be focused.

Link copied to clipboard
@Composable
fun WarningBanner(text: String, modifier: Modifier = Modifier, icon: @Composable () -> Unit? = { Icon(AllIconsKeys.General.BalloonWarning, null) }, actions: @Composable RowScope.() -> Unit? = null, style: DefaultBannerStyle = JewelTheme.defaultBannerStyle.warning, textStyle: TextStyle = JewelTheme.defaultTextStyle)