Questions tagged [materialize]

An open-sourced, modern, responsive front-end framework based on Material Design

materializecss

Its official website materializecss.com describes it as:

A modern responsive front-end framework based on Material Design.

This is an open-source framework under the MIT license. Its official git repository is hosted on Github.

The framework is maintained by a team of four students from Carnegie Mellon University. For more about them, visit http://materializecss.com/about.html#team.

The site has a beautiful section named Showcase where various websites/apps, which use this as a frontend framework, are listed which caters for other developers with a real-world example and inspiration.

Getting started guide

Getting Started is basically a learning guide - how to easily start using Materialize in one's website.

Inbuilt JavaScript plugins

  1. Collapsible
  2. Dialogs
  3. Dropdown
  4. Media
  5. Modals
  6. Parallax
  7. Pushpin
  8. ScrollFire
  9. ScrollSPy
  10. SideNav
  11. Tabs
  12. Transitions
  13. Waves

How can I compile my Sass

This section is only relevant if you work with the Sass version of Materialize.

First, you need to install Sass in your working directory:

gem install sass

When you have Sass installed on your project and you want to update your output .css file, you need to use the following command:

sass sass/materialize.scss public/style.css

NOTE: the second parameter sass/materialize.scss is the path to your .scss file, and the last parameter sass/style.css is the path to your output folder when the file .css file is located.

If you want to avoid this command every time when you do a change, you can run a watch command:

sass --watch sass/sass:public/stylesheets

NOTE: this command watches all Sass files in the SCSS directory for changes and then update the style file into our public directory.

Social Links

What is Material Design

Created and designed by Google, Material Design is a design language that combines the classic principles of successful design along with innovation and technology. Google's goal is to develop a system of design that allows for a unified user experience across all their products on any platform.

Principles of Material Design

  1. Material is the metaphor - The metaphor of material defines the relationship between space and motion. The idea is that the technology is inspired by paper and ink and is utilized to facilitate creativity and innovation. Surfaces and edges provide familiar visual cues that allow users to quickly understand the technology beyond the physical world.

  2. Bold, graphic, intentional - Elements and components such as grids, typography, color, and imagery are not only visually pleasing, but also create a sense of hierarchy, meaning, and focus. Emphasis on different actions and components create a visual guide for users.

  3. Motion provides meaning - Motion allows the user to draw a parallel between what they see on the screen and in real life. By providing both feedback and familiarity, this allows the user to fully immerse him or herself into unfamiliar technology. Motion contains consistency and continuity in addition to giving users additional subconscious information about objects and transformations.


Related tags

3559 questions
174
votes
25 answers

How to host material icons offline?

My apologies if this is a very simple question, but how do you use google material icons without a ? I would like my app to be able to display the icons even…
Luke Tan
  • 2,048
  • 2
  • 13
  • 21
129
votes
14 answers

Materialize CSS - Select Doesn't Seem to Render

I am currently working with materialize CSS and it seems I've gotten snagged with the select fields. I'm using the example provided from their site but unfortunately it it's rendering in the view whatsoever. I was wondering if someone else might be…
Ryan Rentfro
  • 1,642
  • 3
  • 16
  • 18
56
votes
9 answers

Align material icon with text on Materialize

Recently, i started working on a project that contains a table with some fields, and I want to add some Material Design Icons trough MaterializeCSS on the side of the icons. Look at the image and you might get it : I tried everything, vertical…
MucaP
  • 992
  • 1
  • 10
  • 18
50
votes
16 answers

How to use materialize-css with React?

I have a Meteor/React project, using ES6 modules. I've installed materialize-css using npm, but I'm not sure how to actually use the Materialize classes in my JSX code. What am I supposed to import from materialize-css? Or do I just have to include…
ffxsam
  • 26,428
  • 32
  • 94
  • 144
40
votes
6 answers

Is it possible to integrate MaterializeCss into Bootstrap

I have asked myself (not tested) if it is possible to integrate both bootstrap and materializecss into the same project Since both frameworks are for the same purpose and probably overlapping in some class definitions etc. is it still possible to…
Nickolaus
  • 4,785
  • 4
  • 38
  • 60
33
votes
7 answers

How to dynamically modify
TimmyO18
  • 339
  • 1
  • 3
  • 10

20
votes
1 answer

Materialize CSS sidenav 'options' not defined

I used the following code to for the NavBar found in the materializecss website.
1
2 3
99 100