API reference
Complete, generated rustdoc for the public Day crates. The guides explain the concepts; this is the exhaustive type-level reference — every trait, struct, and function.
Core
The framework your app is built on.
dayThe umbrella crate your app depends on — re-exports the core API plus one native backend.day-coreThe Piece model: the realized view tree, the mounter, the layout engine, and event routing.day-reactiveThe Copy-signal reactive core — signals, memos, and effects that keep a built-once tree live.day-piecesThe built-in piece library (text, stacks, controls, list…) and the renderer! extension macro.day-geometryPlain Copy value types — points, sizes, rects, and affine transforms — shared across backends.day-specThe backend-neutral toolkit specification that pieces emit and each toolkit renders.day-fluentThe piece-facing Project Fluent localization layer over the day-l10n engine.day-l10nThe low-level localization engine and the built-in core string catalog.day-scriptThe embedded dayscript engine that drives scripted UI walkthroughs and tests.day-mockThe headless toolkit — a backend with no native UI, for tests and documentation.Pieces
Optional native widgets you add to an app à la carte.
day-piece-comboboxAn editable combo box: free text with a native dropdown of suggestions.day-piece-searchfieldA native search input with a search glyph and a clear button.day-piece-ratingA tappable star-rating control, composed from primitive pieces.day-piece-webviewAn embedded native web view — WKWebView, WebView2, WebKitGTK, or Android WebView.day-piece-mediaEach platform's native media/video player, behind one Rust API.day-piece-remote-imageA native image view that decodes and caches an image from a URL.day-piece-mapThe platform's native map view (Apple platforms).day-piece-lottieA Lottie vector animation, on iOS and Android.day-piece-activityThe platform's native share / activity sheet.Parts
Headless native capabilities — no UI; any Rust code can depend on them.
day-part-batteryBattery level and charging state.day-part-sensorsMotion sensors — accelerometer, gyroscope, and friends.day-part-clipboardRead and write the system plain-text clipboard.day-part-networkNetwork connectivity and connection type.day-part-hapticsTrigger native haptic feedback.day-part-prefsA persistent native key/value preference store.day-part-deviceinfoDevice identity — model, OS version, and locale.