Documentation

Get started with Doc UI Kit's components, fully detailed documentation and responsive design.

Introduction

About

Docs UI Kit is beautiful Open Source Bootstrap 4 UI Kit under MIT license. The UI Kit comes with a lot of beautiful complete pages and includes reusable and customizable UI Blocks.

Docs UI Kit is maintained by Htmlstream team. Do not miss any updates and announcements, stay tuned on our social pages:


What’s Included

The download package includes .zip folder, please unzip the compressed folder and you’ll find the following directories and files including all raw source files:

          
            docs-ui-kit/
            ├── assets/
            │   ├── css/
            │   │   ├── styles.css
            │   │   ├── styles.min.css
            │   ├── img/
            │   │   ├── ...
            │   ├── img-temp/
            │   │   ├── ...
            │   ├── include/
            │   │   ├── scss/
            │   │   │   ├── ...
            │   ├── js/
            │   │   ├── main.js
            │   │   ├── ...
            │   ├── vendor/
            │   │   ├── bootstrap/
            │   │   ├── ...
            ├── README.md
            ├── package.json
            ├── gulpfile.js
            ├── index.html
          
        

Note!

Please open pages via localhost for better experiance. Some libraries might not work properly with pages viewed via the file:// protocol like when opening a local HTML file. You may check out MAMP Webserver . It's free and available for both MacOS and Windows.


Getting Started

After unziping the download package into your folder, please open a command line and follow below detailed step by step examples.

A brief overview of the steps to your first task:

  1. Install Node.js and Gulp
  2. Install NPM modules package.json.
  3. Run Gulp
1

Install Node.js and Gulp

Installing Node.js

If you do not have Node installed already, you can get it by downloading the package installer from Node's website. Please download the stable version of Node.js (LTS) NOT the latest.

Installing Gulp

You need to have Node.js (Node) installed onto your computer before you can install Gulp. When you're done with installing Node, you can install Gulp by using the following command in the command line:

Please note, first Gulp should be installed globally and for that reason -g command is used.

            
              npm install gulp-cli -g
            
          

Important!

Note: If you are using MacOS please use sudo keyword in the command because they need administrator rights to install Gulp globally.

2

Install NPM modules package.json

Installing NPM modules

First, change the command line path into your project folder. if you have not done this before, you may check the following article to quick start http://www.digitalcitizen.life/command-prompt-how-use-basic-commands

Once the path of your workflow is changed to Docs UI Kit folder, you may run package.json file by using the following command:

            
              npm install
            
          

This time, we're installing Gulp with its all dependency plugins like gulp-sass and others. It might take a few minutes, depends on your internet connection.

3

Run Gulp

Now we have an integrated workflow, try it out run:

            
              gulp
            
          

Now you can try making some changes to assets/include/scss/styles.scss and save it.

Important!

if you are updating any variables, please make sure to save _custom.bootstrap.variables.scss file. It must be refreshed when any varialbes is udated as we updated core Bootstrap codes through SASS to avoid code duplications. The file is located in the following path: assets/include/scss/vendors/bootstrap/..


OR simply re-run Gulp and all changes will be automatically up to date.


Starter Template

Start with this basic HTML starter template, or modify any included layout pages. Be sure to have your pages set up with the latest design and development standards. That means using an HTML5 doctype and including a viewport meta tag for proper responsive behaviors. Put it all together and your pages should look like this:

          
            <!doctype html>
            <html lang="en">
              <head>
                <title>Hello World!</title>

                <!-- Meta -->
                <meta charset="utf-8">
                <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

                <!-- Favicon -->
                <link rel="shortcut icon" href="favicon.ico" type="image/x-icon">

                <!-- Web Fonts -->
                <link href="//fonts.googleapis.com/css?family=Playfair+Display:400,700%7COpen+Sans:300,400,600,700" rel="stylesheet">

                <!-- Bootstrap CSS -->
                <link rel="stylesheet" type="text/css" href="assets/vendors/bootstrap/css/bootstrap.css">

                <!-- Theme Styles -->
                <link rel="stylesheet" type="text/css" href="assets/css/styles.css">
              </head>

              <body>
                <h1>Hello World!!</h1>

                <!-- JAVASCRIPTS (Load javascripts at bottom, this will reduce page load time) -->
                <!-- Global Vendor -->
                <script src="assets/vendors/jquery.min.js"></script>
                <script src="assets/vendors/jquery.migrate.min.js"></script>
                <script src="assets/vendors/popper.min.js"></script>
                <script src="assets/vendors/bootstrap/js/bootstrap.min.js"></script>

                <!-- Theme Settings and Calls -->
                <script src="assets/js/main.js"></script>
                <!-- END JAVASCRIPTS -->
              </body>
            </html>
          
        

Base UI

Colors

We've updated Bootstrap’s default colors to brighter and trendy color variations in order to improve the contrast and design.

  • #107ef4 .bg-primary
    .text-primary
  • #f9fafc .bg-secondary
    .text-secondary
  • #00c9a7 .bg-success
    .text-success
  • #de4437 .bg-danger
    .text-danger
  • #ffc107 .bg-warning
    .text-warning
  • #00dffc .bg-info
    .text-info
  • #1e2022 .bg-dark
    .text-dark
  • #000000 .bg-black
    .text-black
  • #f5faff .bg-light
    .text-light
  • #fff .bg-white
    .text-white

Typography

Bootstrap sets basic global display, typography, and link styles. Learn more about options of Boostrap Typography here. When more control is needed, check out the textual utility classes.

Headings

Heading 1

h1. Docs UI Kit heading New


Heading 2

h2. Docs UI Kit heading New


Heading 3

h3. Docs UI Kit heading New


Heading 4

h4. Docs UI Kit heading New


Heading 5
h5. Docs UI Kit heading New

Heading 6
h6. Docs UI Kit heading New

Google Fonts

Aa

Roboto

Light

AaBbCcDd


Regular

AaBbCcDd

Bold

AaBbCcDd


Numbers (Light)

0123456789

Aa

Roboto

Light

AaBbCcDd


Regular

AaBbCcDd

Bold

AaBbCcDd


Numbers (Light)

0123456789


Lead

This is Lead text and vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor. Duis mollis, simple and easy for any content and other random text content is here est non commodo luctus.

Others

Credits

First, let us take this opportunity to thank all the creative minds for their great products and hard work. All used third party libraries are located in assets/vendor/.. and image sources in assets/img-temp/..

Fonts & Images


License

Docs UI Kit is Open Source project and licensed under MIT for better Web.