Skip to content

Theme components

UI primitives are presentation-only (Button, Card, Tabs, MediaFrame, and friends). Blocks understand course data (CourseCard, EnrollCard, CurriculumAccordion, InstructorCard, and lesson chrome).

Pages and layouts import the typed registry and select T.Component; they do not import a built-in component directly. Components use data attributes for variants and retain no-JavaScript semantics for menus, disclosures, tabs, and accordions. Locked curriculum rows show both an icon and text and never render paid lesson bodies, transcripts, or resources.