Components
Every Onevra component, live in the browser.
Each component page has live examples that run in the page, their source, and the API read from the Go code itself. Examples are compiled to WebAssembly and drawn by MyGo; one instance keeps running as you move between pages.
Actions & navigation
ButtonStarts an action, in five weights, with icons, menus or a toggled state.MenuA menu of actions in a popover, opened from a button or by right-clicking.HoldToConfirmA button that acts only after it is held, for actions a stray click must not trigger.FloatingButtonGroupA toolbar of soft buttons in a tray, with one highlight that springs between them.TabsSwitches between views, as an underline, a segmented control or a highlight.BreadcrumbsShows a path whose ancestors can be chosen, collapsing the middle when space runs out.SidebarGrouped navigation items with icons, section actions and trees.
Text input
Selection & values
CheckboxTurns an option on or off, for choices that apply when a form is submitted.SwitchTurns a setting on and off at once, with a knob that lifts into glass while held.RadioChooses one value from a small set, all visible at once.SelectChooses a value from a drop-down list, optionally with a search field.NumberInputEdits a number within bounds, with a stepper and optional drag scrubbing.SliderPicks a value, or a range, by dragging a thumb along a track.RatingRates something from zero to a number of stars.Date and timeA calendar, a date picker and a time picker over one time.Time.ColorA swatch that opens a color editor, or the editor in place.HoneycombItems on a magnified honeycomb, as on a watch face, panned by dragging.CardStackA deck reviewed one card at a time, swiped left or right, with undo.
Feedback & overlays
DialogModal panels for any content, and alert dialogs that ask for a decision.PopoverA non-modal panel anchored to a control, for options and short forms.TooltipA short text hint shown when a control is hovered or focused.ToastBrief notifications that stack at an edge of the window, with optional actions.BadgeA short status label in one of five tones, with an optional icon.ProgressBars and rings for work of known length, and spinners for the rest.SkeletonA pulsing placeholder in the shape of content that is still loading.StepperShows where a person is in a multi-step flow, such as checkout or setup.SettingsA searchable settings surface of categories, groups and rows, built from definitions.Command paletteSearchable commands in a dialog or any bounded host, opened from a shortcut.
Layout & containers
Accordion and CollapsibleSections that expand and collapse, in a bordered group or on their own.SplitTwo resizable panes with a draggable divider, side by side or stacked.ScrollViewA scrolling container, vertical, horizontal or both, with MyGo's scroll bars.ScrollEdgeBarA bar of controls floating over the edge of scrolling content, on glass, a soft edge or a blur.PixelGridA themed grid background for canvases and artboards.Shader backgroundsQuiet animated GPU fields for welcome and empty pages, following the pointer.
Content display
AvatarA person or account as a photo or initials, alone or in an overlapping group.ImageDecoded bitmaps and SVGs, fitted, rounded or in grayscale, and before-and-after comparisons.IconA Lucide icon or any SVG, sized and tinted like text.CarouselSlides browsed by dragging, swiping or arrows, with optional rotation.ListA virtualized list of rows with keyboard selection.GridViewA virtualized, responsive grid of cells, such as photos or files.TreeNested rows that expand and collapse, built directly or virtualized.TableRows under sortable, movable and resizable columns, built directly or virtualized.
Charts & diagrams
ChartsBar, line, area, stacked bar, donut, bubble and split bar charts over data you own.Relationship graphA force-directed graph of nodes and edges, panned, zoomed and dragged.TreemapNested sizes as tiles, such as disk usage, drilled into by clicking.Flow diagramDirected diagrams laid out in ranks, with orthogonal edges and card nodes.GesturesPan and zoom for custom canvases, from wheels, touchpads and pinches.