Foundations
Colour, type, spacing, radius, elevation and icons.
No page matches
↑ ↓ to move · Enter to open · Esc to close
The reference for building Moodle plugins that look and behave the same on every supported release. Each component, with all its variants, is drawn with the real CSS of each Moodle LTS and measured from it.
Everything on this site answers to these three controls. Change them and the examples change with them.
Every section, from the foundations to whole pages.
Colour, type, spacing, radius, elevation and icons.
Every Bootstrap component with all its variants and states.
Forms, modals, navigation and the rest of what Moodle draws.
What our plugins add: lists, filters, steps, version compare.
Whole pages assembled from the components.
Adapt a plugin, write a theme, review a screen.
Six rules that decide every screen of every plugin.
Buttons, fields, forms and dialogs are Bootstrap and Moodle components. A plugin never redraws them, so a theme restyles every plugin at once.
We add only what Moodle has no component for: the chrome of a list, tinted badges, steps, choice cards and empty states.
The same classes work on Bootstrap 4 (Moodle 4.x) and Bootstrap 5 (Moodle 5.x). Each page shows where a name differs.
Sizes, spacing, radius, type and colours are read from the real CSS of the version you pick, so they cannot drift from the code.
Contrast, focus, keyboard and labels are part of every component, not an afterthought.
Documented in English and Spanish, versioned by Moodle LTS and published as open source.