Getting started
Learn how to easily start using Materialize and integrate it into your project.
Use
Via NPM
This requires NodeJs and npm on your device. Enter the following Command in your terminal to install the latest release. The package contains all the source files and can be extended. Recommended when you want to build custom visualizations and use it as framework in backend or frontend.
npm install @materializecss/materialize
Via CDN
Integrate Materialize directly in your website with the CDN. You can find all the versions of Materialize Contents at jsDelivr. Recommended when you don't have a package manager or for quick experiments.
Copied!
content_copy
Download
Materialize comes in two different forms. You can select which version you want depending on your preference and expertise. To start using Materialize, all you have to do is download one of the options below.
This is the standard version that comes with both the minified and unminified CSS and JavaScript files. This option requires little to no setup. Use this if you are unfamiliar with Sass.
Support our work
Thank you for downloading. We hope you find Materialize useful in your next project. We would appreciate if you help us spread the word about Materialize by giving us a star or support our work.
Setup
Project Structure
After downloading, extract the files into the directory where your website is located. Your directory will look something like this.
You'll notice that there are two sets of the files. The
min means that the file is
"compressed" to reduce load times. These minified files are
usually used in production while it is better to use the
unminified files during development.
MyWebsite/
|--css/
| |--materialize.css
|
|--fonts/
| |--roboto/
|
|--js/
| |--materialize.js
|
|--index.html
HTML Setup
Next you just have to make sure you link the files properly in your webpage. Generally it is wise to import javascript files at the end of the body to reduce page load time. Follow the example below on how to import Materialize into your webpage.
Copied!
content_copy
Examples
We have created some starter templates so you can easily start designing your website with minimal setup up time. Browse through our collection and download your best fit.
Starter Template
This is the simplest starter page with a Header, Call-to-Action, and Icon Features.
Demo search Downloadfile_downloadParallax Template
This is the simplest starter page with a Header, Call-to-Action, and Icon Features.
Demosearch Downloadfile_download