nuǝW pǝuoᴉʇᴉsoԀ ʎlǝʌᴉʇɐƃǝN

    This package has been deprecated

    Author message:

    WARNING: This project has been renamed to @trimbleinc/modus-bootstrap. Install using @trimbleinc/modus-bootstrap instead.


    1.0.0 • Public • Published

    Project Modus Framework

    The Project Modus Framework was developed as a common platform for all of Trimble MAPS web applications, with the additional goal of sharing with other groups within Trimble. It leverages the Trimble brand as well as some of the work done by other groups, specifically Project Origin by the SketchUp team.


    Project Modus is built upon and extends the Bootstrap 4 code framework. It is a responsive framework for web and mobile uses. You can use the CSS files as is, or integrate the SASS files into your own application if you wish to modify it further.


    The Modus Framework can be used as is from our public CDN:

    <link rel="stylesheet" href="" />

    If you want to also use the Modus Framework layout (top nav, left nav, and content area) you will need to add these additional references:

    <link rel="stylesheet" href="" />
    <script src=""></script>

    You do not (and should not) include additional references to Bootstrap CSS other than their Javascript links for component functions.  If you are using Angular, React, or other framework you should use an appropriate Bootstrap library.

    <script src="" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>

    Install with NPM

    Install Project Modus in your Node.js powered apps with our NPM package:

    $ npm install --save-dev @trimbleinc/modus-framework

    The compiled CSS files will be found in the ./node_modules/@trimbleinc/modus-framework/dist directory.

    Customize using SASS

    The SASS files will be found in the /scss directory.


    Build CSS, run dev server, and watch for changes

    npm run dev

    Sample page found at http://localhost:3030/

    Build Package

    Builds the CSS files to /dist

    npm run build

    File structure

    Whenever possible, avoid modifying Modus or Bootstrap core files.

    For Sass, that means creating your own stylesheet that imports Modus and Bootstrap so you can modify and extend it. Assuming you’re using a package manager like npm, you’ll have a file structure that looks like this:

    ├── scss
    │   └── custom.scss
    └── node_modules/
        ├── bootstrap
        │   ├── js
        │   └── scss
        └── @trimblemaps
                └── scss


    In your custom.scss, you’ll import Modus and Bootstrap’s source Sass files. With that setup in place, you can begin to modify any of the Sass variables and maps in your custom.scss.

    You can also start to add parts of Bootstrap under the // Optional section as needed. We suggest using the full import stack from our bootstrap.scss file as your starting point.

    The main file to focus on is the _theme.scss file (and/or _theme-dark.scss if you want a dark look).

    You should copy this file from /node_modules/@trimbleinc/modus-framework/scss/components to your own SASS directory and import your copy instead of the Project Modus version in your main SASS file.

    This example shows you how you should structure your main file. The order in which files are imported matters.

      // Bootstrap functions
      @import "../node_modules/bootstrap/scss/functions";
      // Modus functions
      @import "../node_modules/@trimbleinc/modus-framework/scss/components/functions";
      // **** YOUR CUSTOM THEME GOES HERE ****
      @import "your_custom_sass_directory/your_copy_of_modus_theme_file";
      // Modus variables
      @import "../node_modules/@trimbleinc/modus-framework/scss/components/variables";
      // OPTIONAL - use your own variables:
      // @import "your_custom_sass_directory/copy_of_modus_variables_file";
      // Bootstrap variables
      @import "../node_modules/bootstrap/scss/variables";
      @import "../node_modules/bootstrap/scss/mixins";
      // Modus mixins
      @import "../node_modules/@trimbleinc/modus-framework/scss/components/mixins";
      // Bootstrap components (you can leave some of these out if you don't need them)
      @import "../node_modules/bootstrap/scss/reboot";
      @import "../node_modules/bootstrap/scss/type";
      @import "../node_modules/bootstrap/scss/images";
      @import "../node_modules/bootstrap/scss/code";
      @import "../node_modules/bootstrap/scss/grid";
      @import "../node_modules/bootstrap/scss/tables";
      @import "../node_modules/bootstrap/scss/forms";
      @import "../node_modules/bootstrap/scss/buttons";
      @import "../node_modules/bootstrap/scss/transitions";
      @import "../node_modules/bootstrap/scss/dropdown";
      @import "../node_modules/bootstrap/scss/button-group";
      @import "../node_modules/bootstrap/scss/input-group";
      @import "../node_modules/bootstrap/scss/custom-forms";
      @import "../node_modules/bootstrap/scss/nav";
      @import "../node_modules/bootstrap/scss/navbar";
      @import "../node_modules/bootstrap/scss/card";
      @import "../node_modules/bootstrap/scss/breadcrumb";
      @import "../node_modules/bootstrap/scss/pagination";
      @import "../node_modules/bootstrap/scss/badge";
      @import "../node_modules/bootstrap/scss/jumbotron";
      @import "../node_modules/bootstrap/scss/alert";
      @import "../node_modules/bootstrap/scss/progress";
      @import "../node_modules/bootstrap/scss/media";
      @import "../node_modules/bootstrap/scss/list-group";
      @import "../node_modules/bootstrap/scss/close";
      @import "../node_modules/bootstrap/scss/toasts";
      @import "../node_modules/bootstrap/scss/modal";
      @import "../node_modules/bootstrap/scss/tooltip";
      @import "../node_modules/bootstrap/scss/popover";
      @import "../node_modules/bootstrap/scss/carousel";
      @import "../node_modules/bootstrap/scss/spinners";
      @import "../node_modules/bootstrap/scss/utilities";
      @import "../node_modules/bootstrap/scss/print";
      // Modus components
      @import "../node_modules/@trimbleinc/modus-framework/scss/components/controls";
      @import "../node_modules/@trimbleinc/modus-framework/scss/components/base";
      @import "your_custom_sass_directory/your_project_specific_sass_files";




    npm i @trimbleinc/modus-framework

    DownloadsWeekly Downloads






    Unpacked Size

    2.5 MB

    Total Files


    Last publish


    • nspringer
    • msankaran1
    • christianoliff
    • edeleon
    • brichards-alk