Skip to content

Component reference

This page is the living reference for the components a lesson author can drop into a .mdx lesson. It is also the build-time smoke test: every component here is exercised on each build. The content model and metadata behind them live in the planning corpus under docs/curriculum-planning/.

A revision-pinned citation into clinker source, backed by the lesson’s sourceRefs frontmatter and validated by the drift-check.

clinker-record ·value.rs ·Value type @47d2e12
<SourceRef crate="clinker-record" path="crates/clinker-record/src/value.rs" symbol="Value" kind="type" />

A progressive, collapsible nudge (native details, no JavaScript).

💡 Hint 1
Look at how many shapes Value can take before counting them.

A worked solution the learner opens after attempting the exercise.

Show solution

Value has nine variants. The closed set is what lets CXL be typechecked before a run.

Groups a self-check, a review checklist, and the authoritative verification commands run in the clinker checkout.

The accelerated-path link — skips a Rust prerequisite while keeping the Clinker grounding.

The per-lesson prerequisite / follow-on panel.

Client-only completion state in localStorage (no backend, no accounts).