Skip to content
Edmund edited this page Mar 24, 2020 · 1 revision

A module is a UI element which can be comprised of a .scss file, .js file and .json file, which can be imported into themes and configured by a theme.json file. Modules can have modifier variants as well as child components which can also have modifiers.

All available modlues are located within the assets/modules/ directory. One-Nexus splits the modules up into the following categories:

  • Elements
  • Objects
  • Utilities

Elements

Elements are the more abstract UI modules which serve no set purpose or function.

Objects

Objects are the larger and more specific modules which generally serve a set function.

Utilities

Utilities are everything else; modules which serve to ehance and compliment the other modules.

Clone this wiki locally