Versions in this module Expand all Collapse all v0 v0.2.0 Dec 2, 2026 Changes in this version + func Accordion(c *ui.Context, sections []AccordionSection, opts ...AccordionOptions) ui.Element + func ActionToolbar(c *ui.Context, actions []ToolbarAction, opts ...ToolbarOptions) ui.Element + func AppShell(c *ui.Context, content func(), opts ...AppShellOptions) ui.Element + func Autocomplete(c *ui.Context, value *string, suggestions []string, opts ...CompletionOptions) ui.Element + func BodyText(c *ui.Context, s string, opts ...TextOptions) ui.Element + func Collapsible(c *ui.Context, label string, open *bool, body func(), ...) ui.Element + func ColorPicker(c *ui.Context, color *ui.Color, opts ...ColorPickerOptions) ui.Element + func ColorWell(c *ui.Context, color *ui.Color, opts ...ColorWellOptions) ui.Element + func Combobox(c *ui.Context, selected *string, choices []string, opts ...CompletionOptions) ui.Element + func CommandPalette(c *ui.Context, open *bool, commands []Command, opts ...PaletteOptions) ui.Element + func ConfirmDialog(c *ui.Context, open *bool, opts ...ConfirmDialogOptions) ui.Element + func DisplayText(c *ui.Context, s string, opts ...TextOptions) ui.Element + func DropZone[T any](c *ui.Context, content func(active bool), opts ...DropZoneOptions[T]) ui.Element + func EditableText(c *ui.Context, value *string, opts ...EditableTextOptions) ui.Element + func FileDropZone(c *ui.Context, content func(active bool), opts ...FileDropZoneOptions) ui.Element + func FindBar(c *ui.Context, open *bool, query *string, matches int, current *int, ...) ui.Element + func Form(c *ui.Context, body func(), opts ...FormOptions) ui.Element + func FormField(c *ui.Context, label string, control func(), opts ...FieldOptions) ui.Element + func FormatKeyChord(chord KeyChord) string + func GridView(c *ui.Context, count int, minWidth, height float32, item func(i int), ...) ui.Element + func HeadlineText(c *ui.Context, s string, opts ...TextOptions) ui.Element + func HistoryButtons(c *ui.Context, r *ui.Router, opts ...HistoryOptions) ui.Element + func Kbd(c *ui.Context, chord KeyChord, opts ...KbdOptions) ui.Element + func LabelText(c *ui.Context, s string, opts ...TextOptions) ui.Element + func Link(c *ui.Context, text, target string, opts ...LinkOptions) ui.Element + func NavigationSidebar(c *ui.Context, selected *string, groups []NavGroup, opts ...SidebarOptions) ui.Element + func NumberInput(c *ui.Context, value *float64, lo, hi, step float64, ...) ui.Element + func OutlineTable[K comparable](c *ui.Context, state *ui.OutlineState[K], columns []DataTableColumn, roots []K, ...) ui.Element + func PaintDropInsertionLine(p *ui.Painter, r ui.Rect, th *Theme, vertical bool) + func PaintTopSpecular(p *ui.Painter, r ui.Rect, radius float32, th *Theme, ...) + func Popover(c *ui.Context, trigger ui.Element, open *bool, body func(), ...) ui.Element + func PostSnackbar(c *ui.Context, message SnackbarOptions) string + func PromptDialog(c *ui.Context, open *bool, value *string, opts ...PromptDialogOptions) ui.Element + func RouterView(c *ui.Context, r *ui.Router, page func(*ui.Route), opts ...RouterViewOptions) ui.Element + func SearchBar(c *ui.Context, query *string, opts ...SearchOptions) ui.Element + func SearchField(c *ui.Context, query *string, opts ...SearchOptions) ui.Element + func Select[T comparable](c *ui.Context, value *T, choices []SelectChoice[T], opts ...SelectOptions[T]) ui.Element + func SettingsGroup(c *ui.Context, title string, body func(), opts ...SettingsGroupOptions) ui.Element + func SideSheet(c *ui.Context, open *bool, main, detail func(), opts ...SideSheetOptions) ui.Element + func StatusBar(c *ui.Context, leading func(), opts ...StatusBarOptions) ui.Element + func Stepper(c *ui.Context, value *float64, lo, hi, step float64, opts ...StepperOptions) ui.Element + func TabStrip(c *ui.Context, active *string, tabs []DocumentTab, opts ...TabStripOptions) ui.Element + func TitleText(c *ui.Context, s string, opts ...TextOptions) ui.Element + func ToastStack(c *ui.Context, opts ...ToastStackOptions) ui.Element + func TokenField(c *ui.Context, values *[]string, suggestions []string, ...) ui.Element + type AccordionOptions struct + Label string + SingleOpen bool + type AccordionSection struct + Body func() + Disabled bool + ID string + Open *bool + Title string type AdaptiveScaffoldOptions + IndicatorMotion ElasticIndicatorMotion + type AppShellOptions struct + Layout ShellLayout + Navigation func() + Status func() + TitleBar func() + Zoom float32 type CardOptions + ContainerColor ui.Color + ContentColor ui.Color + PressedScale float32 + type ColorPickerOptions struct + Disabled bool + Label string + OnChanged func(ui.Color) + ShowTonalSwatches *bool + type ColorWellOptions struct + Disabled bool + Label string + OnChanged func(ui.Color) + Open *bool + ShowHex bool + type Command struct + Children []Command + Disabled bool + Group string + ID string + Keywords []string + Label string + Run func() + Shortcut KeyChord + type CompletionOptions struct + Disabled bool + Label string + OnChanged func(string) + Placeholder string + type ConfirmDialogOptions struct + CancelLabel string + ConfirmLabel string + Destructive bool + DismissOnScrim bool + Headline string + Icon IconDraw + Label string + OnCancel func() + OnConfirm func() + SupportingText string + Width float32 + type DisclosureOptions struct + Disabled bool + OnChanged func(bool) + type DocumentTab struct + Dirty bool + ID string + Icon IconDraw + Pinned bool + Title string + type DropZoneOptions struct + CanAccept func(T) bool + Disabled bool + Hint string + Label string + OnDrop func(T) + ShapeScale tokens.ShapeScale + type EditableTextOptions struct + Disabled bool + Emphasized bool + HasRole bool + Label string + Mono bool + OnChanged func(string) + Role tokens.TypeRole + TabularNums bool + type ElasticIndicatorMotion struct + Configured bool + Lead motion.Token + LeadSpring ui.SpringOptions + Trail motion.Token + TrailSpring ui.SpringOptions + func DefaultElasticIndicatorMotion() ElasticIndicatorMotion + func ElasticIndicatorSpringOptions(lead, trail ui.SpringOptions) ElasticIndicatorMotion + func ElasticIndicatorSprings(lead, trail motion.Token) ElasticIndicatorMotion + type FieldOptions struct + Description string + Error string + type FileDropZoneOptions struct + Disabled bool + Extensions []string + Hint string + Label string + OnDropFiles func([]string) + ShapeScale tokens.ShapeScale + type FindOptions struct + CaseSensitive *bool + OnReplace func(all bool) + Regex *bool + Replacement *string + type FormOptions struct + CanSubmit func() bool + Dirty *bool + OnDiscard func() + OnSubmit func() + type GridViewOptions struct + Container bool + Disabled bool + Hairline bool + ItemKey func(item int) any + ItemLabel func(item int) string + Label string + OnChanged func(item int) + OnSubmit func(item int) + Padding float32 + Reorder func(items []int, to int) + Selected *int + Selection ui.Selector + ShapeScale tokens.ShapeScale + State *ui.GridState + type HistoryOptions struct + Label string + type KbdOptions struct + AccessibleLabel string + type KeyChord struct + Key ui.Key + Mods ui.Modifiers + func (k KeyChord) String() string + type LinkOptions struct + Label string type MenuItem + ShortcutChord KeyChord + type NavGroup struct + ID string + Items []NavItem + Label string + Open *bool + type NavItem struct + Badge string + ID string + Icon IconDraw + Label string + Menu func(*ui.Menu) type NavigationRailOptions + Footer func() + IconOnlyWidth float32 + IndicatorMotion ElasticIndicatorMotion + ShowToggle bool + type NumberInputOptions struct + Disabled bool + Error bool + ErrorMessage string + Label string + OnChanged func(float64) + Placeholder string + Prefix string + ReadOnly bool + Suffix string + SupportingText string + Variant TextFieldVariant + type OutlineTableOptions struct + CellMenu func(m *ui.Menu, item K, col int) + CellSelect bool + CellsStyle ui.CellsStyle + Disabled bool + Elevation tokens.ElevationLevel + Hairline bool + HeaderCell func(cell ui.Element, col int) + HeaderMenu func(m *ui.Menu, col int) + Indent float32 + Label string + Layout *ui.TableLayout + OnLayoutChanged func(layout ui.TableLayout) + OnRowClick func(item K) + OnRowSubmit func(item K) + OnSortChanged func(sort ui.SortOrder, sortBy []ui.SortOrder) + RoundRows bool + RowHeight float32 + RowLabel func(item K) string + Selected *int + Selection *ui.Selection[K] + ShapeScale tokens.ShapeScale + ShowIndentGuides bool + Sort *ui.SortOrder + SortBy *[]ui.SortOrder + type PaletteOptions struct + Label string + OnRun func(id string) + Recent *[]string type PillTabsOptions + IndicatorMotion ElasticIndicatorMotion type PlainTooltipOptions + ShortcutChord KeyChord + type PopoverOptions struct + Label string + MinWidth float32 + Placement *PopoverPlacement + type PopoverPlacement struct + At ui.Anchor + Self ui.Anchor + type PromptDialogOptions struct + CancelLabel string + ConfirmLabel string + DismissOnScrim bool + FieldLabel string + Headline string + Icon IconDraw + Label string + OnCancel func() + OnConfirm func(value string) + Placeholder string + SupportingText string + Validate func(draft string) string + Width float32 + type RouterViewOptions struct + Animation *ui.Animation + Transition *ui.Transition + type SearchOptions struct + Disabled bool + Label string + OnChanged func(string) + OnSubmit func(string) + Placeholder string + ShortcutChord KeyChord + ShortcutHint string + Suggestions []string + type SelectChoice struct + Disabled bool + Group string + Icon IconDraw + Label string + Value T + type SelectOptions struct + Disabled bool + Label string + OnChanged func(T) + Open *bool + Variant TextFieldVariant + type SettingsGroupOptions struct + Description string + type ShellLayout uint8 + const SidebarToTop + const TopBarAcross + type SideSheetMode uint8 + const SideSheetModal + const SideSheetStandard + type SideSheetOptions struct + ContentMin float32 + DisablePadding bool + DisableScroll bool + Footer func() + Header func() + Label string + MaxWidth float32 + MinWidth float32 + Mode SideSheetMode + Width *float32 + type SidebarOptions struct + Expanded *bool + Footer func() + Header func() + IconOnlyWidth float32 + IndicatorMotion ElasticIndicatorMotion + Label string + OnSelected func(id string) + type StatusBarOptions struct + Label string + Trailing func() + type StepperOptions struct + Disabled bool + FormatValue func(float64) string + Label string + OnChanged func(float64) + ReadOnly bool + ShowValue bool + type TabStripOptions struct + Label string + OnDetach func(id string, at ui.Point) + OnMove func(id, beforeID string) + OnNew func() + OnPin func(id string, pinned bool) + OnRequestClose func(id string) + OnSelect func(id string) type TabsOptions + IndicatorMotion ElasticIndicatorMotion type Theme + IndicatorMotion ElasticIndicatorMotion + SurfaceStyle tokens.SurfaceStyle + func ThemeFromColorScheme(cs tokens.ColorScheme, opts ...ThemeOptions) *Theme type ThemeOptions + IndicatorMotion ElasticIndicatorMotion + OnSuccess ui.Color + OnSuccessContainer ui.Color + OnWarning ui.Color + OnWarningContainer ui.Color + Success ui.Color + SuccessContainer ui.Color + SurfaceStyle tokens.SurfaceStyle + Warning ui.Color + WarningContainer ui.Color + type ToastStackOptions struct + Corner *ui.Anchor + MaxWidth float32 + type TokenFieldOptions struct + Disabled bool + Label string + OnChanged func([]string) + Query *string + type ToolbarAction struct + Disabled bool + ID string + Icon IconDraw + Label string + Run func() + type ToolbarOptions struct + Label string type TreeNode + SelectionID any v0.1.0 Nov 22, 2026 Changes in this version + const Version + var DefaultSeedColor = ui.RGBA(0x67, 0x50, 0xA4, 1) + func ActionTile(c *ui.Context, title string, opts ...ActionTileOptions) ui.Element + func AdaptiveScaffold(c *ui.Context, destinations []NavigationDestination, content func(), ...) ui.Element + func AlertDialog(c *ui.Context, open *bool, opts ...AlertDialogOptions) ui.Element + func AnimatedContent[K comparable](c *ui.Context, key K, build func(), opts ...TransitionOptions) ui.Element + func AnimatedThemeScope(c *ui.Context, target *Theme, fn func(), opts ...ThemeTransitionOptions) ui.Element + func ApplyDataTableMenuActions(m *ui.Menu, actions []DataTableMenuAction) + func ApplyElevationShadows(t *Theme, el ui.Element, level tokens.ElevationLevel) ui.Element + func ApplyTonalElevation(t *Theme, base ui.Color, level tokens.ElevationLevel) ui.Color + func ApplyTypeStyle(c *ui.Context, el ui.Element, role tokens.TypeRole, emphasized ...bool) ui.Element + func AssistChip(c *ui.Context, label string, opts ...ChipOptions) ui.Element + func AttachRipple(c *ui.Context, el ui.Element, opts ...StateLayerOptions) ui.Element + func AttachStateLayer(c *ui.Context, el ui.Element, opts ...StateLayerOptions) ui.Element + func Avatar(c *ui.Context, opts ...AvatarOptions) ui.Element + func Badge(c *ui.Context, text string, opts ...BadgeOptions) ui.Element + func BadgedBox(c *ui.Context, content func(), badge func() ui.Element, ...) ui.Element + func Banner(c *ui.Context, message string, opts ...BannerOptions) ui.Element + func BentoGrid(c *ui.Context, content func(), opts ...BentoGridOptions) ui.Element + func BentoSpan(el ui.Element, cols, rows int) ui.Element + func BottomSheet(c *ui.Context, open *bool, opts ...BottomSheetOptions) ui.Element + func Breadcrumb(c *ui.Context, items []BreadcrumbItem, opts ...BreadcrumbOptions) ui.Element + func Button(c *ui.Context, label string, opts ...ButtonOptions) ui.Element + func ButtonGroup(c *ui.Context, selected *int, items []ButtonGroupItem, ...) ui.Element + func ButtonGroupActions(c *ui.Context, items []ButtonGroupItem, onAction func(i int), ...) ui.Element + func ButtonGroupMulti(c *ui.Context, selected *[]bool, items []ButtonGroupItem, ...) ui.Element + func Card(c *ui.Context, content func(), opts ...CardOptions) ui.Element + func Carousel(c *ui.Context, items []CarouselItem, opts ...CarouselOptions) ui.Element + func Checkbox(c *ui.Context, checked *bool, opts ...CheckboxOptions) ui.Element + func CheckboxState(c *ui.Context, state *ui.CheckState, opts ...CheckboxOptions) ui.Element + func ChipGroup(c *ui.Context, fn func(), opts ...ChipGroupOptions) ui.Element + func CircularProgress(c *ui.Context, value float64, opts ...ProgressOptions) ui.Element + func CircularWavyProgress(c *ui.Context, value float64, opts ...ProgressOptions) ui.Element + func ContextMenu(c *ui.Context, target ui.Element, items []MenuItem, opts ...MenuOptions) ui.Element + func DataTable(c *ui.Context, columns []DataTableColumn, count int, cell func(row, col int), ...) ui.Element + func DataTableCellText(c *ui.Context, text string, opts ...DataTableCellOptions) ui.Element + func DatePicker(c *ui.Context, value *time.Time, opts ...DatePickerOptions) ui.Element + func DateRangePicker(c *ui.Context, start, end *time.Time, opts ...DatePickerOptions) ui.Element + func DefaultLoadingPolygons() []*shape.RoundedPolygon + func Divider(c *ui.Context, opts ...DividerOptions) ui.Element + func DropdownMenu(c *ui.Context, label string, items []MenuItem, opts ...MenuOptions) ui.Element + func ElevatedCard(c *ui.Context, content func(), opts ...CardOptions) ui.Element + func EmptyState(c *ui.Context, title string, opts ...EmptyStateOptions) ui.Element + func ExtendedFAB(c *ui.Context, label string, icon IconDraw, opts ...ExtendedFABOptions) ui.Element + func FAB(c *ui.Context, label string, icon IconDraw, opts ...FABOptions) ui.Element + func FABMenu(c *ui.Context, items []FABMenuItem, opts ...FABMenuOptions) ui.Element + func FilledCard(c *ui.Context, content func(), opts ...CardOptions) ui.Element + func FilterChip(c *ui.Context, selected *bool, label string, opts ...FilterChipOptions) ui.Element + func FloatingToolbar(c *ui.Context, items []FloatingToolbarItem, opts ...FloatingToolbarOptions) ui.Element + func FullScreenDialog(c *ui.Context, open *bool, opts ...FullScreenDialogOptions) ui.Element + func IconBadge(c *ui.Context, icon IconDraw, opts ...IconBadgeOptions) ui.Element + func IconButton(c *ui.Context, label string, icon IconDraw, opts ...IconButtonOptions) ui.Element + func Image(c *ui.Context, src ui.ImageSource, opts ...ImageOptions) ui.Element + func InputChip(c *ui.Context, label string, opts ...InputChipOptions) ui.Element + func LinearProgress(c *ui.Context, value float64, opts ...ProgressOptions) ui.Element + func LinearWavyProgress(c *ui.Context, value float64, opts ...ProgressOptions) ui.Element + func List(c *ui.Context, items []ListItem, opts ...ListOptions) ui.Element + func ListDetailPane(c *ui.Context, list func(), detail func(), opts ...ListDetailPaneOptions) ui.Element + func LoadingIndicator(c *ui.Context, opts ...LoadingOptions) ui.Element + func MenuButton(c *ui.Context, label string, icon IconDraw, items []MenuItem, ...) ui.Element + func MorphIconButton(c *ui.Context, on *bool, label string, icon IconDraw, ...) ui.Element + func NavigationBar(c *ui.Context, destinations []NavigationDestination, ...) ui.Element + func NavigationDrawer(c *ui.Context, items []NavigationDrawerItem, opts ...NavigationDrawerOptions) ui.Element + func NavigationRail(c *ui.Context, destinations []NavigationDestination, ...) ui.Element + func OutlinedCard(c *ui.Context, content func(), opts ...CardOptions) ui.Element + func PageTransition(c *ui.Context, key any, build func(), opts ...TransitionOptions) ui.Element + func Pagination(c *ui.Context, page *int, totalPages int, opts ...PaginationOptions) ui.Element + func PillTabs(c *ui.Context, tabs []TabItem, opts ...PillTabsOptions) ui.Element + func PlainTooltip(c *ui.Context, anchor ui.Element, text string, opts ...PlainTooltipOptions) ui.Element + func PrimaryTabs(c *ui.Context, tabs []TabItem, opts ...TabsOptions) ui.Element + func RadioGroup(c *ui.Context, fn func(), opts ...RadioGroupOptions) ui.Element + func Radio[T comparable](c *ui.Context, selected *T, value T, label string, opts ...RadioOptions) ui.Element + func RangeSlider(c *ui.Context, low, high *float64, lo, hi float64, opts ...RangeSliderOptions) ui.Element + func RichTooltip(c *ui.Context, anchor ui.Element, opts ...RichTooltipOptions) ui.Element + func SearchAppBar(c *ui.Context, query *string, opts ...SearchAppBarOptions) ui.Element + func SecondaryTabs(c *ui.Context, tabs []TabItem, opts ...TabsOptions) ui.Element + func SegmentedTabs(c *ui.Context, tabs []TabItem, opts ...PillTabsOptions) ui.Element + func ShapeButton(c *ui.Context, label string, icon IconDraw, opts ...ShapeButtonOptions) ui.Element + func Skeleton(c *ui.Context, opts ...SkeletonOptions) ui.Element + func Slider(c *ui.Context, value *float64, lo, hi float64, opts ...SliderOptions) ui.Element + func SmallBadge(c *ui.Context, opts ...BadgeOptions) ui.Element + func SnackbarHost(c *ui.Context, state *SnackbarState) ui.Element + func SplitButton(c *ui.Context, label string, opts ...SplitButtonOptions) (group, action, arrow ui.Element, open *bool) + func StatusPill(c *ui.Context, text string, opts ...StatusPillOptions) ui.Element + func SuggestionChip(c *ui.Context, label string, opts ...ChipOptions) ui.Element + func SupportingPane(c *ui.Context, main func(), supporting func(), opts ...SupportingPaneOptions) ui.Element + func Surface(c *ui.Context, opts ...SurfaceOptions) ui.Element + func SurfaceColorForElevation(t *Theme, level tokens.ElevationLevel) ui.Color + func Switch(c *ui.Context, on *bool, opts ...SwitchOptions) ui.Element + func SwitchCard(c *ui.Context, title string, on *bool, opts ...SwitchCardOptions) ui.Element + func TabularNums(el ui.Element) ui.Element + func Tag(c *ui.Context, text string, opts ...TagOptions) ui.Element + func Text(c *ui.Context, s string, role tokens.TypeRole, emphasized ...bool) ui.Element + func TextArea(c *ui.Context, value *string, opts ...TextFieldOptions) ui.Element + func TextField(c *ui.Context, value *string, opts ...TextFieldOptions) ui.Element + func TextWith(c *ui.Context, s string, opts ...TextOptions) ui.Element + func ThemeScope(c *ui.Context, t *Theme, content func()) ui.Element + func TimePicker(c *ui.Context, value *time.Time, opts ...TimePickerOptions) ui.Element + func ToggleIconButton(c *ui.Context, on *bool, label string, icon IconDraw, ...) ui.Element + func TopAppBar(c *ui.Context, title string, opts ...TopAppBarOptions) ui.Element + func TreeView(c *ui.Context, nodes []TreeNode, opts ...TreeViewOptions) ui.Element + func VirtualList(c *ui.Context, count int, row func(r ui.ListRow), opts ...VirtualListOptions) ui.Element + func WindowTitleBar(c *ui.Context, opts ...WindowTitleBarOptions) ui.Element + type ActionTileOptions struct + Badge string + Disabled bool + Hairline bool + HasVariant bool + HideChevron bool + IconBadge IconBadgeOptions + Label string + Leading func() + LeadingIcon IconDraw + Meta string + OnClick func() + Radius float32 + ShapeScale tokens.ShapeScale + Subtitle string + Trailing func() + Variant CardVariant + type AdaptiveScaffoldOptions struct + Background ui.Color + Changed func(i int) + Disabled bool + FAB func() ui.Element + Header func() ui.Element + NavigationLabel string + NavigationLabels NavigationLabelMode + RailExpanded *bool + RailExpandedWidth float32 + RailHeader func() ui.Element + Selected *int + WidthOverride float32 + type AlertDialogOptions struct + Confirm *DialogAction + Content func() ui.Element + Dismiss *DialogAction + DismissOnScrim bool + Headline string + Icon IconDraw + Label string + SupportingText string + Width float32 + type AppBarAction struct + Icon IconDraw + Label string + OnClick func() + type AvatarOptions struct + ContainerColor ui.Color + ContentColor ui.Color + HasTone bool + Image ui.ImageSource + Label string + Shape *shape.RoundedPolygon + Size float32 + Status AvatarStatus + StatusRingColor ui.Color + Text string + Tone SemanticTone + type AvatarStatus int + const AvatarStatusAway + const AvatarStatusBusy + const AvatarStatusNone + const AvatarStatusOffline + const AvatarStatusOnline + type BadgeOptions struct + ContainerColor ui.Color + ContentColor ui.Color + CutoutColor ui.Color + Label string + MaxCount int + ShowZero bool + Visible *bool + type BadgedBoxOptions struct + Label string + type BannerAction struct + Label string + OnClick func() + type BannerOptions struct + Actions []BannerAction + DismissLabel string + Dismissible bool + Icon IconDraw + Label string + OnDismiss func() + Open *bool + Title string + Tone SemanticTone + type BentoGridOptions struct + Columns int + CompactColumns int + ExpandedColumns int + Gap float32 + Label string + MediumColumns int + Tracks []ui.Track + WidthOverride float32 + type BottomSheetOptions struct + Changed func(i int) + Content func() ui.Element + Detent *int + Detents []float32 + Height float32 + Label string + Modal bool + type BreadcrumbItem struct + Disabled bool + Icon IconDraw + Label string + OnClick func() + type BreadcrumbOptions struct + Disabled bool + Label string + MaxVisible int + Separator IconDraw + type ButtonGroupItem struct + Disabled bool + Label string + LeadingIcon IconDraw + TrailingIcon IconDraw + type ButtonGroupKind int + const ButtonGroupConnected + const ButtonGroupStandard + type ButtonGroupOptions struct + Disabled bool + Kind ButtonGroupKind + Label string + Shape ButtonShape + Size tokens.SizeTier + Variant ButtonVariant + type ButtonOptions struct + Disabled bool + Label string + LeadingIcon IconDraw + Shape ButtonShape + Size tokens.SizeTier + TrailingIcon IconDraw + Variant ButtonVariant + type ButtonShape int + const ButtonShapeRound + const ButtonShapeSquare + type ButtonVariant int + const ButtonElevated + const ButtonFilled + const ButtonOutlined + const ButtonText + const ButtonTonal + type CardOptions struct + Backdrop func(p *ui.Painter, r ui.Rect) + Clickable bool + Disabled bool + Hairline bool + HairlineColor ui.Color + Label string + LinearGradient *ui.LinearGradient + OnClick func() + Padding float32 + RadialGradient *ui.RadialGradient + Radius float32 + ShapeScale tokens.ShapeScale + Variant CardVariant + type CardVariant int + const CardElevated + const CardFilled + const CardOutlined + type CarouselItem struct + Content func() ui.Element + Label string + type CarouselLayout int + const CarouselHero + const CarouselMultiBrowse + const CarouselUncontained + type CarouselOptions struct + Changed func(i int) + Disabled bool + Gap float32 + Height float32 + Index *int + Label string + Layout CarouselLayout + type CheckboxOptions struct + Disabled bool + Error bool + ErrorMessage string + Label string + TouchTarget float32 + type ChipGroupOptions struct + ColumnGap float32 + Label string + RowGap float32 + type ChipOptions struct + Disabled bool + Elevated bool + Label string + LeadingIcon IconDraw + OnClick func() + TrailingIcon IconDraw + type DataTableCellOptions struct + Color ui.Color + Emphasized bool + HasRole bool + MaxLines int + Mono bool + Muted bool + Numeric bool + Role tokens.TypeRole + Truncate TruncateMode + type DataTableColumn struct + Align ui.Align + Fixed bool + ID string + MaxWidth float32 + MinWidth float32 + Mono bool + Numeric bool + RowHeader bool + Sortable bool + Title string + Width float32 + type DataTableMenuAction struct + Checkable bool + Checked bool + Danger bool + Disabled bool + Key ui.Key + Label string + OnClick func() + Radio bool + Separator bool + Shortcut ui.Modifiers + Submenu []DataTableMenuAction + Subtitle string + Trailing string + type DataTableOptions struct + CellMenu func(m *ui.Menu, row, col int) + CellSelect bool + CellsStyle ui.CellsStyle + Disabled bool + Elevation tokens.ElevationLevel + Hairline bool + HeaderCell func(cell ui.Element, col int) + HeaderMenu func(m *ui.Menu, col int) + IsHeader func(row int) bool + ItemKey func(row int) any + Label string + Layout *ui.TableLayout + OnLayoutChanged func(layout ui.TableLayout) + OnRowClick func(row int) + OnRowSubmit func(row int) + OnSortChanged func(sort ui.SortOrder, sortBy []ui.SortOrder) + RoundRows bool + RowHeight float32 + RowLabel func(row int) string + Selected *int + Selection ui.Selector + ShapeScale tokens.ShapeScale + Sort *ui.SortOrder + SortBy *[]ui.SortOrder + State *ui.ListState + type DatePickerMode int + const DatePickerDocked + const DatePickerModal + type DatePickerOptions struct + Disabled bool + FirstWeekday time.Weekday + Label string + Mode DatePickerMode + OnChanged func() + Open *bool + type DialogAction struct + Label string + OnClick func() + type DividerOptions struct + Color ui.Color + EndInset float32 + Inset float32 + Label string + StartInset float32 + Thickness float32 + Vertical bool + type EmptyStateOptions struct + Actions func() + Description string + Icon IconDraw + IconShape *shape.RoundedPolygon + Illustration func() + Label string + OnPrimaryAction func() + OnSecondaryAction func() + Padding float32 + PrimaryActionLabel string + SecondaryActionLabel string + type ExtendedFABOptions struct + Color FABColorScheme + Disabled bool + Expanded *bool + Label string + Size FABSize + type FABColorScheme int + const FABPrimary + const FABSecondary + const FABSurface + const FABTertiary + type FABMenuItem struct + Disabled bool + Icon IconDraw + Label string + OnClick func() + type FABMenuOptions struct + CloseLabel string + Color FABColorScheme + Disabled bool + Icon IconDraw + Label string + MenuLabel string + Open *bool + type FABOptions struct + Color FABColorScheme + Disabled bool + Size FABSize + Visible *bool + type FABSize int + const FABSizeLarge + const FABSizeMedium + const FABSizeSmall + type FilterChipOptions struct + Disabled bool + Elevated bool + Label string + LeadingIcon IconDraw + OnChanged func(selected bool) + TrailingIcon IconDraw + type FloatingToolbarFab struct + Color FABColorScheme + Icon IconDraw + Label string + OnClick func() + type FloatingToolbarItem struct + Disabled bool + Icon IconDraw + Label string + OnClick func() + type FloatingToolbarOptions struct + Expanded *bool + Fab *FloatingToolbarFab + Label string + Orientation ToolbarOrientation + Tone FloatingToolbarTone + Visible *bool + type FloatingToolbarTone int + const ToolbarStandard + const ToolbarVibrant + type FocusRingStyle int + const FocusRingAuto + const FocusRingInset + const FocusRingNone + type FullScreenDialogOptions struct + CloseLabel string + Content func() ui.Element + Label string + OnClose func() + OnSave func() + SaveLabel string + Title string + type IconBadgeOptions struct + BorderColor ui.Color + ContainerColor ui.Color + ContainerSize float32 + ContentColor ui.Color + Disabled bool + IconSize float32 + Label string + Radius float32 + Shape *shape.RoundedPolygon + ShapeScale tokens.ShapeScale + Size tokens.SizeTier + Variant IconBadgeVariant + type IconBadgeVariant int + const IconBadgeErrorTonal + const IconBadgeFilled + const IconBadgeOutlined + const IconBadgePrimaryTonal + const IconBadgeTertiaryTonal + const IconBadgeTonal + type IconButtonOptions struct + Disabled bool + Shape ButtonShape + Size tokens.SizeTier + Variant IconButtonVariant + Width IconButtonWidth + type IconButtonVariant int + const IconButtonFilled + const IconButtonOutlined + const IconButtonStandard + const IconButtonTonal + type IconButtonWidth int + const IconButtonWidthDefault + const IconButtonWidthNarrow + const IconButtonWidthWide + type IconDraw func(p *ui.Painter, r ui.Rect, ink ui.Color) + type ImageOptions struct + AspectRatio float32 + Background ui.Color + BorderColor ui.Color + BorderWidth float32 + Disabled bool + Error error + ErrorContent func() + ErrorText string + FadeIn bool + Failed bool + Fit ui.Fit + Grayscale bool + HasObjectPosition bool + HasRadii bool + HasRadius bool + Height float32 + Label string + Loading bool + LoadingContent func() + MatchKey any + NoFade bool + ObjectPosition [2]float32 + OnClick func() + OnRetry func() + Radii [4]float32 + Radius float32 + RetryLabel string + Shape *shape.RoundedPolygon + ShapeScale tokens.ShapeScale + Width float32 + type InputChipOptions struct + Avatar bool + Disabled bool + Elevated bool + Label string + LeadingIcon IconDraw + OnClick func() + OnRemove func() + RemoveLabel string + TrailingIcon IconDraw + type ListDetailPaneOptions struct + DefaultListWidth float32 + Label string + ShowDetail *bool + SplitPercent *float32 + SplitWidth *float32 + WidthOverride float32 + type ListItem struct + Disabled bool + Headline string + Icon IconDraw + Key any + Leading func() ui.Element + Meta string + OnClick func() + Overline string + SupportingText string + Trailing func() ui.Element + type ListOptions struct + Disabled bool + Label string + OnSelect func(i int) + Segmented bool + Selected *int + type LoadingOptions struct + Label string + Paused bool + Polygons []*shape.RoundedPolygon + Size float32 + Style LoadingStyle + type LoadingStyle int + const LoadingContained + const LoadingStandard + type MenuItem struct + Checkable bool + Checked bool + Disabled bool + Icon IconDraw + Label string + OnClick func() + Radio bool + Separator bool + Shortcut string + Submenu []MenuItem + type MenuOptions struct + Disabled bool + Label string + Open *bool + Width float32 + type MorphIconButtonOptions struct + BorderColor ui.Color + ContainerColor ui.Color + ContentColor ui.Color + Disabled bool + Height float32 + IconSize float32 + OnChanged func(on bool) + PressedShape *shape.RoundedPolygon + SelectedContainerColor ui.Color + SelectedContentColor ui.Color + SelectedIcon IconDraw + SelectedShape *shape.RoundedPolygon + Shape *shape.RoundedPolygon + Size tokens.SizeTier + Spring motion.Token + Variant ShapeButtonVariant + Width float32 + type NavigationBarOptions struct + Changed func(i int) + Disabled bool + Label string + Labels NavigationLabelMode + Selected *int + type NavigationDestination struct + Badge string + Disabled bool + Icon IconDraw + Label string + SmallBadge bool + type NavigationDrawerItem struct + Badge string + Disabled bool + Icon IconDraw + Label string + Section string + type NavigationDrawerOptions struct + Changed func(i int) + Disabled bool + Label string + Modal bool + Open *bool + Selected *int + Width float32 + type NavigationLabelMode int + const NavigationLabelsAlways + const NavigationLabelsNever + const NavigationLabelsSelectedOnly + type NavigationRailIndicatorStyle int + const NavigationRailIndicatorPill + const NavigationRailIndicatorPillWithBar + type NavigationRailOptions struct + Align ui.Align + Changed func(i int) + Disabled bool + Expanded *bool + ExpandedWidth float32 + Header func() ui.Element + IndicatorStyle NavigationRailIndicatorStyle + Label string + Selected *int + type PaginationOptions struct + Disabled bool + Label string + MaxButtons int + OnChanged func(page int) + ShowEdges bool + SiblingCount int + Variant ButtonVariant + type PillTabsOptions struct + Changed func(i int) + Disabled bool + FullWidth bool + Label string + Scrollable bool + Selected *int + Tone PillTabsTone + type PillTabsTone int + const PillTabsToneAuto + const PillTabsTonePrimary + const PillTabsToneSecondary + const PillTabsToneSurface + type PlainTooltipOptions struct + Description string + type ProgressOptions struct + Buffer float64 + Disabled bool + Label string + Size float32 + Thickness float32 + TrackGap float32 + Width float32 + type RadioGroupOptions struct + Disabled bool + Horizontal bool + Label string + type RadioOptions struct + Disabled bool + Label string + TouchTarget float32 + type RangeSliderOptions struct + Disabled bool + FormatLabel func(float64) string + Label string + MaxLabel string + MinLabel string + Step float64 + ThumbHeight float32 + TrackHeight float32 + type RichTooltipAction struct + Label string + OnClick func() + type RichTooltipOptions struct + Action *RichTooltipAction + Body string + Delay time.Duration + Description string + Label string + Title string + Width float32 + type SearchAppBarOptions struct + AutoFocus bool + Disabled bool + Label string + LeadingIcon IconDraw + LeadingLabel string + OnChanged func(query string) + OnLeading func() + OnSubmitted func(query string) + Placeholder string + Trailing []AppBarAction + type SemanticTone int + const ToneError + const ToneNeutral + const TonePrimary + const ToneSecondary + const ToneSuccess + const ToneTertiary + const ToneWarning + type ShapeButtonOptions struct + BorderColor ui.Color + ContainerColor ui.Color + ContentColor ui.Color + Disabled bool + Height float32 + IconSize float32 + OnClick func() + PressedShape *shape.RoundedPolygon + Selected bool + SelectedIcon IconDraw + SelectedShape *shape.RoundedPolygon + Shape *shape.RoundedPolygon + Size tokens.SizeTier + Spring motion.Token + Variant ShapeButtonVariant + Width float32 + type ShapeButtonVariant int + const ShapeButtonFilled + const ShapeButtonOutlined + const ShapeButtonStandard + const ShapeButtonTonal + type ShapeScale struct + ExtraExtraLarge float32 + ExtraLarge float32 + ExtraLargeIncreased float32 + ExtraSmall float32 + Full float32 + Large float32 + LargeIncreased float32 + Medium float32 + None float32 + Small float32 + func DefaultShapeScale() ShapeScale + func (s ShapeScale) Radius(scale tokens.ShapeScale) float32 + type SkeletonOptions struct + Height float32 + Label string + LineGap float32 + Lines int + Radius float32 + Shape SkeletonShape + Static bool + Width float32 + type SkeletonShape int + const SkeletonCircle + const SkeletonPill + const SkeletonRect + type SliderOptions struct + Centered bool + Disabled bool + FormatLabel func(float64) string + Label string + Step float64 + ThumbHeight float32 + TrackHeight float32 + type SnackbarOptions struct + ActionLabel string + DoubleLine bool + Duration time.Duration + Message string + OnAction func() + ShowClose bool + type SnackbarState struct + func (s *SnackbarState) Show(o SnackbarOptions) + type SplitButtonOptions struct + ActionDisabled bool + ArrowLabel string + Disabled bool + LeadingIcon IconDraw + Menu func(panel ui.Element) + Open *bool + Size tokens.SizeTier + Variant ButtonVariant + type StateLayerOptions struct + BorderInset float32 + Clip func(r ui.Rect) (box ui.Rect, radii [4]float32) + ClipPath func(r ui.Rect) *ui.Path + Color ui.Color + DisableRipple bool + Disabled bool + Dragged bool + FocusHaloColor ui.Color + FocusRing FocusRingStyle + HasRadii bool + Radii [4]float32 + Radius float32 + Shape *shape.RoundedPolygon + type StatusPillOptions struct + DotColor ui.Color + Label string + Outlined bool + Pulsing bool + Tone SemanticTone + type SupportingPaneOptions struct + DefaultMainPercent float32 + Label string + ShowSupporting *bool + SplitPercent *float32 + WidthOverride float32 + type SurfaceOptions struct + Backdrop func(p *ui.Painter, r ui.Rect) + BorderColor ui.Color + BorderWidth float32 + Clip bool + Color ui.Color + ContentColor ui.Color + DisableShadow bool + Elevation tokens.ElevationLevel + Hairline bool + HairlineColor ui.Color + HasRadii bool + HasRadius bool + HasTypeRole bool + LinearGradient *ui.LinearGradient + MarginBottom float32 + MarginEnd float32 + MarginStart float32 + MarginTop float32 + PaddingBottom float32 + PaddingEnd float32 + PaddingStart float32 + PaddingTop float32 + RadialGradient *ui.RadialGradient + Radii [4]float32 + Radius float32 + Shape *shape.RoundedPolygon + ShapeScale tokens.ShapeScale + TonalElevation tokens.ElevationLevel + TonalTint bool + TypeEmphasized bool + TypeRole tokens.TypeRole + type SwitchCardOptions struct + Disabled bool + Hairline bool + HasVariant bool + IconBadge IconBadgeOptions + Label string + Leading func() + LeadingIcon IconDraw + OffIcon IconDraw + OnChanged func(on bool) + OnIcon IconDraw + Radius float32 + ShapeScale tokens.ShapeScale + Subtitle string + Variant CardVariant + type SwitchOptions struct + Disabled bool + Label string + OffIcon IconDraw + OnIcon IconDraw + type TabItem struct + Badge string + BadgeDot bool + Disabled bool + Icon IconDraw + Key any + Label string + type TabsOptions struct + Changed func(i int) + Disabled bool + Label string + Scrollable bool + Selected *int + type TagOptions struct + CloseLabel string + Disabled bool + Label string + LeadingIcon IconDraw + OnClick func() + OnClose func() + Tone SemanticTone + Variant TagVariant + type TagVariant int + const TagOutlined + const TagTonal + type TextFieldOptions struct + CharacterCounter bool + Disabled bool + Error bool + ErrorMessage string + Height float32 + Label string + LeadingIcon IconDraw + MaxLength int + OnChanged func(string) + OnSubmitted func(string) + OnTrailing func() + Password bool + Placeholder string + Prefix string + ReadOnly bool + Suffix string + SupportingText string + TrailingIcon IconDraw + TrailingLabel string + Variant TextFieldVariant + type TextFieldVariant int + const TextFieldFilled + const TextFieldOutlined + type TextOptions struct + Color ui.Color + Emphasized bool + MaxLines int + Mono bool + Role tokens.TypeRole + TabularNums bool + Truncate TruncateMode + type Theme struct + Colors tokens.ColorScheme + Contrast tokens.Contrast + Dark bool + Density tokens.Density + Font string + MonoFont string + Motion motion.Scheme + OnSuccess ui.Color + OnSuccessContainer ui.Color + OnWarning ui.Color + OnWarningContainer ui.Color + ReduceMotion bool + Shapes ShapeScale + Success ui.Color + SuccessContainer ui.Color + TextScale float32 + Typography tokens.TypographyScale + Warning ui.Color + WarningContainer ui.Color + func CurrentTheme(c *ui.Context) *Theme + func DefaultTheme(c *ui.Context) *Theme + func LerpTheme(from, to *Theme, t float32) *Theme + func ThemeFromSeed(seed ui.Color, opts ...ThemeOptions) *Theme + func (t *Theme) Animation(token motion.Token) ui.Animation + func (t *Theme) Clone() *Theme + func (t *Theme) ContentColorFor(bg ui.Color) ui.Color + func (t *Theme) EffectiveTextScale() float32 + func (t *Theme) ToUITheme() *ui.Theme + func (t *Theme) TypeStyle(role tokens.TypeRole, emphasized ...bool) tokens.TypeStyle + func (t *Theme) UITheme() *ui.Theme + func (t *Theme) WithPreferences(p ui.Preferences) *Theme + type ThemeOptions struct + Contrast tokens.Contrast + Dark bool + Density tokens.Density + Font string + MonoFont string + Motion motion.Scheme + ReduceMotion bool + Shapes *ShapeScale + TextScale float32 + Typography *tokens.TypographyScale + Variant tokens.Variant + type ThemeTransitionOptions struct + Token motion.Token + type TimePickerMode int + const TimePickerDial + const TimePickerInput + type TimePickerOptions struct + Disabled bool + HourCycle int + Label string + Mode TimePickerMode + OnChanged func() + type ToggleIconButtonOptions struct + Disabled bool + SelectedIcon IconDraw + Size tokens.SizeTier + Variant IconButtonVariant + Width IconButtonWidth + type ToolbarOrientation int + const ToolbarHorizontal + const ToolbarVertical + type TopAppBarOptions struct + Actions []AppBarAction + Label string + NavigationIcon IconDraw + NavigationLabel string + OnNavigation func() + ScrollProgress float32 + Subtitle string + Variant TopAppBarVariant + type TopAppBarVariant int + const TopAppBarCenterAligned + const TopAppBarLarge + const TopAppBarMedium + const TopAppBarSmall + type TransitionMode int + const TransitionFadeThrough + const TransitionNone + const TransitionSharedAxisX + const TransitionSharedAxisY + type TransitionOptions struct + AfterExits bool + Direction int + Distance float32 + Mode TransitionMode + Scale float32 + type TreeNode struct + Badge string + Children []TreeNode + Disabled bool + Icon IconDraw + Key any + Label string + OnClick func() + Open *bool + type TreeViewOptions struct + Disabled bool + Label string + OnSelect func(key any) + Selected *any + ShowIndentGuides bool + type TruncateMode int + const TruncateEnd + const TruncateMiddle + const TruncateStart + type TypeStyleMetrics struct + Font string + LineHeight float32 + Size float32 + Tracking float32 + Weight int + func TypeStyleOf(c *ui.Context, role tokens.TypeRole, emphasized ...bool) TypeStyleMetrics + type VirtualListOptions struct + Container bool + Disabled bool + Gap float32 + Hairline bool + IsHeader func(row int) bool + ItemKey func(row int) any + Label string + OnClick func(row int) + OnSubmit func(row int) + Padding float32 + RowHeight float32 + RowLabel func(row int) string + Segmented bool + Selected *int + Selection ui.Selector + ShapeScale tokens.ShapeScale + State *ui.ListState + type WindowController interface + Close func() + IsMaximized func() bool + Minimize func() + SetAlwaysOnTop func(v bool) + ToggleMaximize func() + type WindowSizeClass int + const WindowCompact + const WindowExpanded + const WindowMedium + func ContentSizeClassOf(c *ui.Context) WindowSizeClass + func WindowSizeClassForWidth(w float32) WindowSizeClass + func WindowSizeClassOf(c *ui.Context) WindowSizeClass + func (s WindowSizeClass) String() string + type WindowTitleBarOptions struct + Background ui.Color + Center func() ui.Element + Divider bool + Elevation tokens.ElevationLevel + Height float32 + Label string + Leading func() ui.Element + Maximized bool + OnClose func() + OnMaximize func() + OnMinimize func() + OnPin func(pinned bool) + Pinned *bool + ShowWindowControls bool + Title string + Trailing func() ui.Element + Window WindowController