howtomakeaname/sumi/primitives does not have a README file
dropdown_menu(
trigger=add_tile(aria_label="Add image"),
items=[...],
open=menu_open,
on_open_change=set_menu_open.map(v => _ => v),
)fn[C : IsChildren] button(variant? : ButtonVariant, size? : ButtonSize, disabled? : Bool, pressed? : Bool, loading? : Bool, type_? : String, id? : String, class? : String, title? : String, name? : String, value? : String, autofocus? : Bool, on_click? : Cmd, attrs? : Attrs, style? : Array[String], children : C) -> Htmlfavorite_toggle(
checked=starred,
on_change=set_starred.map(v => _ => v),
)fn icon_button(icon : Html, variant? : ButtonVariant, size? : ButtonSize, disabled? : Bool, pressed? : Bool, id? : String, class? : String, title? : String, aria_label? : String, on_click? : Cmd, attrs? : Attrs, style? : Array[String]) -> Htmlfn[C : IsChildren] tag(variant? : TagVariant, on_remove? : Cmd, id? : String, class? : String, attrs? : Attrs, style? : Array[String], children : C) -> HtmlInstall
Download zipA UI component library for MoonBit web apps — dark & light themes, overlay motion, zero config
Dependencies