Learn / Glossary
Views and interaction (foldkit-mixins & foldkit-primitives)
| Term | Meaning | Guide |
|---|---|---|
| Slot | Named extension point in a view (root, label) where styles and behaviors attach. | Mixins |
SlotView | Pure view function rendering Slots with attached styles and behaviors merged. | SlotView |
| Style | Classes, declarations, and rules built from theme tokens and attached to a Slot. | Style |
| Behavior | Attributes and DOM Mounts attached to a Slot; sends Messages, owns no state. | Behavior |
| Mixin | Compiled Style or Behavior; merging refuses two owners of one attribute or event. | Mixins |
| Recipe | Widget's default themed Styles across variants (size, variant). | Recipes |
| Obligation | Accessibility requirement (focus, ARIA state, keys) a Slot must satisfy. | Obligations |
| Supply | Proof that an Obligation is met via markup, native HTML, or a Behavior. | Mixins |
| Key route | Named keydown handler mapping key chords to Messages on a Slot. | Keys |
| Part | Memoized section of a SlotView that re-renders only when its keys change. | Mixins |
| Conformance | Real-browser tests (foldkit-mixins/testing) checking rendered focus and keys. | Conformance |
| Primitive | Ready-made interaction helper in foldkit-primitives (timer, undo, resize, etc.). | Primitives |
Next
- Build a working example in five minutes: Quickstart
- Learn how updates avoid race conditions and lost edits: Who changes application state, and how
- See how queries, writes, and projections work together: From declarations to the screen