Skip to main content

Module kinds

Module kinds 

Source
Expand description

The built-in piece keys as plain strings, for the registry and the PieceKind seam.

Constants§

BUTTON
CANVAS
CONTAINER
A dumb native panel (the column/row/stack backing).
COVER
A fullscreen cover (docs/cover.md): a modal surface presented over the whole window, edge-to-edge, driven by CoverPatch::{Present,Dismiss}. The handle is the cover’s CONTENT container; its frame is native-owned while presented (the backend sizes it to the safe area and reports it via Event::FrameChanged).
DIVIDER
IMAGE
LABEL
LIST
Native recycling list (docs/list.md): NSTableView / UITableView / RecyclerView / GtkListView / QListView. Owns scrolling + cell reuse; Day binds row content on demand.
LIST_CELL
A recycled row’s content anchor inside a LIST; Day adopts the native cell as its handle. ADOPTED, never realized — Toolkit::adopt wraps the native cell, so backends’ realize never sees this kind.
NAV
Navigation host (docs/navigation.md): stack on mobile, split panes on desktop.
NAV_MENU
Native navigation item list (docs/navigation.md): NSOutlineView source list / GtkListBox navigation-sidebar / QListWidget / UITableView rows with chevrons.
NAV_PAGE
One destination’s native container inside a NAV host.
PICKER
A native option picker with menu/segmented/inline stylings (docs/picker.md). Built-in since 2026-07 (previously the satellite day-piece-picker).
PROGRESS
Progress indicator: determinate bar (fraction) or indeterminate spinner.
SCROLL
SLIDER
TABS
Native tabbed container (docs/tabs.md): NSTabView / GtkNotebook / QTabWidget / UITabBarController / Android tab strip. Holds TABS_PAGE children, one visible.
TABS_PAGE
One tab’s content container inside a TABS host; its frame is native-owned.
TEXT_AREA
A native multi-line text editor (docs/textarea.md). Built-in since 2026-07 (previously the satellite day-piece-textarea).
TEXT_FIELD
TOGGLE
Day API ↩ Guides· daybrite.dev