Skip to content

Components

21 components, one page per component folder in packages/components/src/, generated from its manifest, message catalogs, editor descriptor and fixtures. A new component gets its row and its page on the next build.

Element Description Graded Variants
<astl-audio>
block
A sound to listen to, with an optional transcript. no: nothing to answer none
<astl-callout>
block, rich content
A tip, information or a warning in a box. no: nothing to answer none
<astl-categorise>
block
The student sorts cards into groups. yes: choice none
<astl-choice>
block
The student picks one answer or several. yes: choice, flag list (default), cards
<astl-crossword>
block
Words that cross in a grid of squares, with numbered clues. yes: letter none
<astl-drop>
inline
The student puts a word from a word bank into the text. yes: choice none
<astl-flash-cards>
block
Cards to learn from, turned over one by one. no: nothing to answer none
<astl-gap>
inline
The student types a word or a number. yes: text, number inline (default), resizable, boxes
<astl-hotspot>
block
The student picks the right places on a picture. yes: flag none
<astl-image-drop>
block
The student puts labels on the zones of a picture. yes: choice none
<astl-image-label>
block
The student writes a name for each pin on a picture. yes: text none
<astl-long-answer>
block
An answer in the student's own words, marked by the teacher. no: its answers (open) are stored for the teacher none
<astl-mark-words>
block, rich content
The student highlights or crosses out words in a text. yes: flag highlight (default), strike
<astl-match>
block
The student matches rows with columns or joins lines. yes: choice grid (default), lines
<astl-memory>
block
The student turns two cards at a time and finds the pairs. yes: choice none
<astl-order>
block
The student puts items in the right order. yes: number vertical (default), horizontal
<astl-select>
inline
The student picks one answer inside the text. yes: choice dropdown (default), search, buttons
<astl-true-false>
block
The student marks each statement true or false. yes: choice none
<astl-video>
block
A video file, or a YouTube or Vimeo video. no: nothing to answer none
<astl-word-bank>
block
Words the student puts into the gaps of the text. no: nothing to answer none
<astl-word-search>
block
Hidden words in a grid of letters. yes: text none

Inline components sit inside text; block components stand between paragraphs, and those with rich content wrap paragraphs, lists and pictures of their own. Variants change the presentation only, never the grading. Where each element may sit: Content format.

To add one: Write your own component.