Expand description
Reusable UI components.
This module contains all Dioxus components used throughout the application. Components are organized by function:
§Navigation
main_nav- Main site navigation with links
§Learning Interface
learn_roadmap- The Learn roadmap: eras, modules and lessons in ordersymbol_pad- The symbol buttons that type into an answer fieldsocratic_guide- Hint display with progressive revelationsymbol_dictionary- Logic symbol quick reference
§Studio (Playground)
file_browser- Virtual file system treecollapsible- A titled block of a panel the reader opens and closeschevron- The drawn chevron that says whether a folder or block is opentree- The tree the file browser and the Syntax Tree are drawn withcode_editor- Monaco-style code editingformula_editor- LaTeX formula input with previewrepl_output- REPL history displayproof_panel- Proof tactic interface
§Output & Visualization
logic_output- FOL expression display with formattingast_tree- Interactive syntax tree visualizationkatex- LaTeX math renderingcontext_view- Proof context display
§Form Elements
Modules§
- ast_
tree - The Syntax Tree: how a sentence parses, drawn with the Studio’s tree.
- chat
- Chat message display component.
- chevron
- The Studio’s one drawn chevron: the file tree’s folders and the collapsible blocks turn it to say whether they are open.
- code_
editor - Syntax-highlighted code editor component.
- collapsible
- A collapsible block: a titled section of a Studio panel that the reader opens and closes.
- context_
view - Context view panel for Code mode.
- debug_
drawer - The Studio bottom debug drawer — an IDE-style debugger for imperative
(Code-mode) LOGOS, driven by the zero-cost bytecode debugger in
logicaffeine_compile::debug. A self-contained, additive panel: it docks below the editor/output and slides away on Stop, leaving the rest of the Studio untouched. - exercise_
block - “Now you try” exercise block for the Syntax Guide.
- file_
browser - File browser sidebar with tree navigation.
- footer
- Site-wide footer component.
- formula_
editor - LaTeX formula editor with live preview.
- guide_
code_ block - Interactive code block component for the Programmer’s Guide.
- guide_
sidebar - Sidebar navigation component for the Programmer’s Guide.
- guide_
snippet - LOGOS quoted in the Syntax Guide’s prose.
- hover_
hint - VS Code-style hover hints for the Studio’s LOGOS editors.
- icon
- Centralized SVG icon component system.
- indent
- What Enter and Tab do in the Studio’s editor. Each language’s indentation is worked out on the text alone — which lines open a block, which close one, how wide a step is — so the browser only has to apply the edit.
- inline_
editor - The Studio’s editor set into a page of prose: the Syntax Guide’s examples, exercises and quoted snippets.
- input
- Text input component for the REPL interface.
- katex
- KaTeX LaTeX rendering component.
- learn_
roadmap - The Learn roadmap: the course as one route, era by era, a stop for every module and, inside the open module, a stop for every lesson.
- lexicon_
gate - Gate component for content that draws exercise words from the lexicon.
- logic_
output - First-Order Logic output display component.
- main_
nav - Unified navigation component for consistent header across all pages.
- misconception_
box - Misconception-first callout (Derek Muller): state the belief the reader arrives with — in their voice — then what LOGOS does and why, and deep-link the runnable evidence example that settles it.
- problems
- The language server’s diagnostics as the Studio’s editor shows them: a squiggle under the
words each one names, and the problem at the top of the hover — VS Code’s Problems, in the
page, from the same analysis (
logicaffeine_lsp) the server publishes. - proof_
panel - The proof drawer for Logic mode: the Studio’s bottom drawer, risen from the dock bar.
- recall_
block - End-of-section “Check yourself” retrieval cards (Roediger & Karpicke).
- repl_
output - REPL output for Math mode.
- socratic_
guide - Socratic guide component for hints and feedback.
- status_
bar - The Studio’s status bar, in VS Code’s manner: a strip along the bottom edge, under a line, saying how many problems the language service found, where the editor’s caret is and what is selected, and which language the editor holds.
- symbol_
dictionary - The Symbol Dictionary: what each symbol of a First-Order Logic formula means.
- symbol_
pad - The symbol pad: a button for every symbol a formula needs, beside a typed answer.
- tree
- The Studio’s tree: the file browser’s folders and files and the Logic column’s Syntax Tree are both drawn by it, so they read alike.
- verilog
- The Verilog lexer the Studio’s editor colours
.vdesigns by: keywords and types, sized literals (4'd8,8'hFF),//and/* */comments, strings, system tasks ($display), compiler directives (`timescale), operators and punctuation — every character of the source in exactly one token. - vernacular
- Math mode’s colouring, from the kernel’s own vocabulary: its commands (
Definition,Inductive,Check, …), the literate forms (## To …:,Consider,When,Yield,## Theorem:withStatement:andProof:), the term grammar’s binders and sorts (forall,fun,Prop), and the proof tactics. A test holds these lists to the kernel’s parsers: every keyword they read is coloured, or named here as plain prose.