-
Notifications
You must be signed in to change notification settings - Fork 10
Modules
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 are the more abstract UI modules which serve no set purpose or function.
- Accordions
- Alert-Bars
- Blockquotes
- Buttons
- Carousels
- Forms
- Headings
- Images
- Lists
- Modals
- Progress-Bars
- Tables
- Tabs
- Tooltips
- Wells
Objects are the larger and more specific modules which generally serve a set function.
- Billboard
- Breadcrumb
- Dropdown
- Footer
- Google-Map
- Header
- Logo
- Navigation
- Preloader
- Scroll-Top
- Search
- Side-Nav
- Overlay
Utilities are everything else; modules which serve to ehance and compliment the other modules.