SKIcon Button Component
class SKIconButtonComponent(id: String, config: SKComponentConfig = SKComponentConfig(
appearance = SKAppearanceConfig.IconButton,
behavior = SKBehaviorConfig.Default,
), icon: SKIconKey) : SKBaseInteractiveComponent
Icon-only button contract for Compose io.skone.compose.widget.SKIconButton and XML io.skone.xml.widget.SKIconButtonView.
Unlike SKButton, there is no text label — a meaningful accessibility SKAccessibilityConfig.contentDescription (or non-blank SKIconKey.contentDescription) is required for production use.
See also
docs
/WIDGETS_SKICONBUTTON.md
Constructors
Link copied to clipboard
constructor(id: String, config: SKComponentConfig = SKComponentConfig(
appearance = SKAppearanceConfig.IconButton,
behavior = SKBehaviorConfig.Default,
), icon: SKIconKey)