### Menu Examples (Top Left, Top Right)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Examples of Material Design Lite menus positioned at the top left and top right.
```html
file: top-left.html
demo_file: top-left-demo.html
extra_codepen_css: codepen-top-buttons.css
```
```html
file: top-right.html
demo_file: top-right-demo.html
```
--------------------------------
### Simple List Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
A basic example of a simple list using Material Design Lite.
```html
file: list-item.html
```
--------------------------------
### Expansion Panel Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
A single example of an expansion panel, which allows for collapsible content sections. This is useful for organizing content and saving space.
```html
Expansion Title
This is the content of the expansion panel. It can contain any HTML elements.
```
--------------------------------
### Install Gulp Globally
Source: https://github.com/google/material-design-lite/wiki/Customizing
Install Gulp globally to easily access it for building your customized MDL files. This command is run from your command line.
```bash
npm install -g gulp
```
--------------------------------
### List with Avatars and Actions Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a list with avatars and action buttons using Material Design Lite.
```html
file: action.html
```
--------------------------------
### Menu Examples (Lower Left, Lower Right)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Examples of Material Design Lite menus positioned at the lower left and lower right.
```html
file: lower-left.html
demo_file: lower-left-demo.html
extra_codepen_css: codepen-lower-buttons.css
```
```html
file: lower-right.html
demo_file: lower-right-demo.html
```
--------------------------------
### Simple Text Tooltip Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
A basic example of a tooltip with simple text content.
```html
HTML is related to but different from XML.
eXtensible Markup Language
```
--------------------------------
### Two-Line List Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a two-line list item using Material Design Lite.
```html
file: two-line.html
```
--------------------------------
### Mini Footer Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a mini footer in Material Design Lite.
```html
file: mini-footer.html
full_width: true
```
--------------------------------
### Install Material Design Lite via npm
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_templates/started.html
Install the Material Design Lite library files into your project's node_modules folder using npm.
```bash
npm install material-design-lite --save
```
--------------------------------
### Basic Tooltip Setup: Tooltip Element
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
Create the tooltip element and link it to the target using the 'for' attribute.
```html
HTML
HyperText Markup Language
```
--------------------------------
### Three-Line List Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a three-line list item using Material Design Lite.
```html
file: three-line.html
```
--------------------------------
### Volume Control Slider Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/slider/README.md
A practical example of an MDL slider used for volume control, showcasing the typical implementation with specified range and step.
```html
```
--------------------------------
### Basic Menu Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/menu/README.md
A standard MDL menu with three options. Ensure the parent element is not statically positioned.
```html
Fast
Medium
Slow
```
--------------------------------
### List with Avatars and Controls Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a list with avatars and control elements using Material Design Lite.
```html
file: list-control.html
```
--------------------------------
### Basic Tooltip Setup: Applying MDL Class
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
Add the 'mdl-tooltip' class to the tooltip element to enable MDL styling.
```html
HTML
HyperText Markup Language
```
--------------------------------
### Default Slider and Slider with Starting Value
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Examples of a default Material Design Lite slider and a slider with a specified starting value.
```html
file: slider-default.html
demo_file: slider-default-demo.html
```
```html
file: slider-starting-value.html
```
--------------------------------
### Complete Card Example (No Shadow)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/card/README.md
A complete example of an MDL card with a title, image, supporting text, and an action link. This card does not have a shadow effect.
```html
title Text Goes Here
This text might describe the photo and provide further information, such as where and
when it was taken.
```
--------------------------------
### Install MDL with Bower
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_templates/started.html
Use Bower to install Material Design Lite into your project. This command saves the library to your bower_components folder.
```bash
bower install material-design-lite --save
```
--------------------------------
### Basic Tooltip Setup: Target Element
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
Define the target element for the tooltip using an ID.
```html
HTML
```
--------------------------------
### Responsive Grid Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a responsive grid layout using Material Design Lite.
```html
file: grid.html
demo_file: grid-demo.html
extra_codepen_css: codepen-grid.css
full_width: true
```
--------------------------------
### Basic List Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/list/snippets/list-control.html
A simple list item with an icon. Used for displaying rows of information.
```html
person
Bryan Cranston
```
--------------------------------
### Mega Footer Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a mega footer in Material Design Lite.
```html
file: mega-footer.html
full_width: true
```
--------------------------------
### Raised Button Example (MDL)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/started.md
Demonstrates a raised button with an accent color using Material Design Lite.
```html
```
--------------------------------
### Tooltip Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Provides additional information on hover. Use 'Simple' and 'Large' for basic tooltips, and 'Rich' and 'Multiple lines' for more detailed content.
```html
Tooltip
Larger Tooltip
```
```html
This is a rich tooltip with HTML content.
This tooltip has multiple lines of text.
It can be used for longer explanations.
```
--------------------------------
### Install Icons with npm
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/styles.md
Use npm to install the Material Design Icons package. This command saves the package to your project's dependencies.
```markup
$ npm install material-design-icons --save
```
--------------------------------
### List with Icons
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/list/snippets/icon.html
Example of how to display a list with icons using Material Design Lite. Ensure the icon class is correctly applied.
```html
.demo-list-icon { width: 300px; }
* _person_ Bryan Cranston
* _person_ Aaron Paul
* _person_ Bob Odenkirk
```
--------------------------------
### Basic Footer Structure
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/footer/README.md
Start by creating a footer element with divs for each content section (top, middle, bottom).
```html
```
--------------------------------
### Include MDL Files Installed via Bower
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_templates/started.html
Reference the Material Design Lite files in your HTML after installing it with Bower. The paths will point to the bower_components directory.
```html
```
--------------------------------
### Image and Text Tooltip Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
A tooltip that includes both an image and text content.
```html
HTML is related to but different from XML.
eXtensible Markup Language
```
--------------------------------
### Tab Content Structure
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tabs/README.md
This example demonstrates placing standard HTML content within the designated tab content divs.
```html
```
--------------------------------
### Rich Text Tooltip Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
Demonstrates a tooltip containing HTML markup for rich text formatting.
```html
HTML is related to but different from XML.
eXtensible Markup Language
```
--------------------------------
### Data Table Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Organizes and displays data in a tabular format. Suitable for presenting structured information.
```html
Material
Quantity
Unit cost
Acrylic (Transparent)
25
$2.90
Acrylic (Opaque)
10
$3.10
Styrene
50
$1.00
```
--------------------------------
### Fixed Drawer Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a fixed drawer layout for Material Design Lite.
```html
file: fixed-drawer.html
demo_file: fixed-drawer-demo.html
full_width: true
```
--------------------------------
### Basic Table Structure
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/data-table/README.md
Start by coding a basic HTML table structure with thead and tbody elements.
```html
```
--------------------------------
### Fixed Header Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a fixed header layout for Material Design Lite.
```html
file: fixed-header.html
demo_file: fixed-header-demo.html
full_width: true
```
--------------------------------
### Floating Action Button Example (MDL)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/started.md
Shows a colored Floating Action Button (FAB) in Material Design Lite.
```html
```
--------------------------------
### Multi-line Code Block Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/typography/demo.html
Use the <pre> tag for multi-line code blocks. Each line can be wrapped in a <p> tag.
```html
This is the first line of code
This is the second line of code
```
--------------------------------
### Disabled Menu Item Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/menu/README.md
Demonstrates how to create a disabled menu option using the 'disabled' attribute on a list item.
```html
Medium
```
--------------------------------
### Switch Toggle Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
A visual switch for enabling or disabling options. Use 'Switch on' for the enabled state and 'Switch off' for the disabled state.
```html
```
--------------------------------
### Checkbox Toggle Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Allows users to select one or more options from a set. Use 'Check on' for a pre-selected state and 'Check off' for the default.
```html
```
--------------------------------
### Fixed Header and Drawer Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a layout with both a fixed header and a fixed drawer in Material Design Lite.
```html
file: fixed-header-drawer.html
demo_file: fixed-header-drawer-demo.html
full_width: true
```
--------------------------------
### Clone MDL Repository
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/README.md
Clone the Material Design Lite repository using Git to get the source code.
```bash
git clone https://github.com/google/material-design-lite.git
```
--------------------------------
### Icon Toggle Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Provides a toggle functionality using icons. Use 'Icon on' for the active state and 'Icon off' for the inactive state.
```html
```
--------------------------------
### Radio Button List Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/list/snippets/list-control.html
A list item configured as a radio button. Use for single selection from a group.
```html
Aaron Paul
```
--------------------------------
### Card Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Demonstrates different card layouts, including wide, square, and image-based cards. Cards are used to group related information and actions.
```html
Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```
```html
Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```
```html
Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```
```html
Title
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
```
--------------------------------
### MDL Typography Button Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/typography/README.md
Use the 'mdl-typography--button' class for a button-like text style, rendering at 14px and in all caps.
```html
Medium (All Caps) 14px
```
--------------------------------
### Show a Toast (Snackbar without Action)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/snackbar/README.md
This JavaScript example demonstrates how to display a toast, which is a snackbar without an action button. Only a message is provided in the data object.
```javascript
var notification = document.querySelector('.mdl-js-snackbar');
notification.MaterialSnackbar.showSnackbar(
{
message: 'Image Uploaded'
}
);
```
--------------------------------
### MDL Typography Headline Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/typography/README.md
Use the 'mdl-typography--headline' class for a headline style, rendering at 24px.
```html
Regular 24px
```
--------------------------------
### Card with Image, Caption, and Text (Level-3 Shadow)
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/card/README.md
This example demonstrates an MDL card with a level-3 shadow, displaying an image, a caption, and detailed supporting text.
```html
Auckland Sky Tower, taken March 24th, 2014
The Sky Tower is an observation and telecommunications tower located in Auckland,
New Zealand. It is 328 metres (1,076 ft) tall, making it the tallest man-made structure
in the Southern Hemisphere.
```
--------------------------------
### Badge on Icon and Text
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Examples of how to apply badges to icons and text elements. These snippets demonstrate the basic usage for indicating status or counts.
```html
Icon
```
```html
Icon
```
--------------------------------
### Content Tabs Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of content tabs in Material Design Lite.
```html
file: tabs.html
```
--------------------------------
### Fixed Tabs Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of fixed tabs in Material Design Lite.
```html
file: fixed-tabs.html
demo_file: fixed-tabs-demo.html
full_width: true
```
--------------------------------
### Scrollable Tabs Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of scrollable tabs in Material Design Lite.
```html
file: scrollable-tabs.html
demo_file: scrollable-tabs-demo.html
full_width: true
```
--------------------------------
### Build MDL from Source
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_templates/started.html
Steps to clone the Material Design Lite repository, install dependencies, and build the library using Gulp. This method is for developers who need to build from source.
```bash
# Clone/copy the Material Design lite source code.
git clone https://github.com/google/material-design-lite.git
# Go into the newly created folder containing the source code.
cd material-design-lite
# Install necessary dependencies.
npm install && npm install -g gulp
# Build a production version of the components.
gulp
```
--------------------------------
### Grid Cells with Tablet-Specific Sizing
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/grid/README.md
This example shows three cells, each set to 6 columns by default, which will expand to 8 columns on tablet devices.
```html
CS 6 (8 on tablet)
CS 6 (8 on tablet)
CS 6 (8 on tablet)
```
--------------------------------
### Text Field Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Components for textual input. Includes standard text, numeric, floating labels, multi-line, and expanding text areas.
```html
```
```html
```
```html
```
--------------------------------
### MDL Mega Footer Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/footer/README.md
A complete MDL mega-footer with top, middle (with drop-downs), and bottom sections. Use this for complex site navigation and information.
```html
```
--------------------------------
### Show Dialog Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/dialog/README.md
This snippet demonstrates how to show a modal dialog using its JavaScript API. It requires a button to trigger the dialog and the dialog element itself. Ensure dialog support is available, either natively or via a polyfill.
```javascript
var button = document.querySelector('button');
var dialog = document.querySelector('dialog');
button.addEventListener('click', function() {
dialog.showModal();
/* Or dialog.show(); to show the dialog without a backdrop. */
});
```
--------------------------------
### Basic Chip with Text
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/chip/README.md
Add the text wrapper and the MDL classes to create a basic chip with text.
```html
Chip Text
```
--------------------------------
### Responsive Grid Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/grid/snippets/grid-demo.html
Shows how to create a responsive grid layout using MDL classes for different column spans on various screen sizes.
```html
6 (tablet 8, phone 4)
6 (tablet 8, phone 4)
```
--------------------------------
### Grid Cells with Phone-Specific Sizing
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/grid/README.md
This example features four cells, each set to 2 columns by default, which will expand to 4 columns on phone devices.
```html
CS 2 (4 on phone)
CS 2 (4 on phone)
CS 2 (4 on phone)
CS 2 (4 on phone)
```
--------------------------------
### Inactive Spinner Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/spinner/README.md
An example of an inactive spinner. The absence of the 'is-active' class makes the spinner invisible. This state can be toggled programmatically.
```html
```
--------------------------------
### Install Icons with Bower
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/styles.md
Use Bower to install the Material Design Icons package. This command saves the package to your project's dependencies.
```markup
$ bower install material-design-icons --save
```
--------------------------------
### Simple Dialog with HTML and JavaScript
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/dialog/README.md
This example shows a basic MDL dialog with a title, content, and action buttons. It includes the necessary HTML structure and JavaScript to register the dialog with a polyfill if needed, and to open/close it.
```html
```
--------------------------------
### Slider Starting Value HTML
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/slider/snippets/slider-starting-value-demo.html
Include this snippet to display a slider that starts with a predefined value. Ensure the 'slider-starting-value.html' template is available in your includes directory.
```html
.demo-slider__slider-starting-value .mdl-slider { width: 30vw; max-width: 260px; } {% include "slider-starting-value.html" %}
```
--------------------------------
### Initialize and Size Demos with JavaScript
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/index.html
This JavaScript code initializes Material Design Lite demos by creating navigation links and dynamically sizing iframes based on their content height. It's used for managing the loading and display of demo components.
```javascript
'use strict'; var navList = document.getElementById('main-navigation'); var totalDemosPendingLoading = 0; sizeDemos(); function sizeDemos() { var demos = document.querySelectorAll('.styleguide-demo'); totalDemosPendingLoading = demos.length; for (var i = 0; i < demos.length; i++) { var demoTitle = demos[i].querySelector('h1').textContent; var anchorLink = 'demo-' + i; // Add list item var navAnchor = document.createElement('a'); navAnchor.classList.add('mdl-navigation__link'); navAnchor.href = '#' + anchorLink; navAnchor.appendChild(document.createTextNode(demoTitle)); navList.appendChild(navAnchor); var anchor = document.createElement('a'); anchor.id = anchorLink; demos[i].insertBefore(anchor , demos[i].querySelector('h1')); // Size iframe sizeDemo(demos[i]); } } function sizeDemo(rootDemoElement) { var iframe = rootDemoElement.querySelector('iframe'); if (iframe === null) { totalDemosPendingLoading--; return; } iframe.onload = function() { var contentHeight = iframe.contentDocument.documentElement.scrollHeight; iframe.style.height = contentHeight + 'px'; iframe.classList.add('heightSet'); totalDemosPendingLoading--; if (totalDemosPendingLoading <= 0) { document.body.classList.add('demosLoaded'); } }; }
```
--------------------------------
### Include Downloaded MDL Files
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_templates/started.html
Reference the local Material Design Lite CSS and JavaScript files in your HTML after downloading them. Ensure the paths are correct relative to your project structure.
```html
```
--------------------------------
### Radio Button Group Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/radio/README.md
A complete example of a radio button group used to control a camera's flash setting, demonstrating checked states and the ripple effect.
```html
```
--------------------------------
### Mocha Test Runner Setup and Execution
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/test/index.html
Configures the Mocha test runner with the 'bdd' interface and 'html' reporter. It then sets up Chai's 'expect' and initiates the test run, handling both standard browser execution and mochaPhantomJS.
```javascript
// mocha.ui('bdd');
mocha.setup('bdd');
mocha.reporter('html');
// use chais-implementation of "expect"
expect = chai.expect;
window.addEventListener('load', function () {
if (window.mochaPhantomJS) {
mochaPhantomJS.run();
} else {
mocha.run();
}
});
```
--------------------------------
### Buffering Progress Bar
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a buffering progress bar in Material Design Lite.
```html
file: progress-buffering.html
demo_file: progress-buffering-demo.html
```
--------------------------------
### Basic Grid Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/grid/snippets/grid-demo.html
Demonstrates a simple MDL grid with cells. The grid and cells are styled for visual representation.
```html
4
4
4
6
6
12
```
--------------------------------
### Indeterminate Progress Bar
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of an indeterminate progress bar in Material Design Lite.
```html
file: progress-indeterminate.html
demo_file: progress-indeterminate-demo.html
```
--------------------------------
### Default Progress Bar
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a default progress bar in Material Design Lite.
```html
file: progress-default.html
demo_file: progress-default-demo.html
```
--------------------------------
### Grid with Order
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/grid/snippets/grid-demo.html
Demonstrates how to reorder grid cells using order classes.
```html
Cell 1 (order 2)
Cell 2 (order 1)
```
--------------------------------
### Long Text Tooltip Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tooltip/README.md
Shows a tooltip with long text that automatically wraps.
```html
HTML is related to but different from XML.
XML is an acronym for eXtensible Markup Language
```
--------------------------------
### Waterfall Header Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a waterfall header layout for Material Design Lite.
```html
file: waterfall-header.html
demo_file: waterfall-header-demo.html
full_width: true
```
--------------------------------
### Scrolling Header Layout
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Example of a scrolling header layout for Material Design Lite.
```html
file: scrolling-header.html
demo_file: scrolling-header-demo.html
full_width: true
```
--------------------------------
### Complete MDL Mini Footer Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/footer/README.md
A fully constructed MDL mini-footer with content in both left and right sections. The left section includes a heading and links, while the right section contains social media buttons.
```html
```
--------------------------------
### Build and Test Locally
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/CONTRIBUTING.md
Build the project locally to ensure all tests pass before submitting a pull request.
```shell
gulp
```
--------------------------------
### Chip Examples
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Demonstrates various chip styles, including basic, deletable, button, contact, and deletable contact chips. Chips represent complex entities in small blocks.
```html
Basic Chip
```
```html
Deletable Chip
```
```html
Button Chip
```
```html
Contact Chip
```
```html
Deletable Contact Chip
```
--------------------------------
### MDL Typography Caption Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/typography/README.md
Use the 'mdl-typography--caption' class for a caption style, rendering at 12px.
```html
Regular 12px
```
--------------------------------
### Snackbar Notification Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Displays transient popup notifications. Use for brief messages that do not require user interaction.
```html
Hello, world!
```
--------------------------------
### MDL Typography Title Example
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/typography/README.md
Use the 'mdl-typography--title' class for a title style, rendering at 20px.
```html
Medium 20px
```
--------------------------------
### Create Basic List Container
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/list/README.md
This snippet shows how to create the outer container for an MDL list using the `mdl-list` class.
```html
```
--------------------------------
### Default Spinner and Single Color Spinner
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/docs/_pages/components.md
Examples of a default spinner and a single-color spinner in Material Design Lite.
```html
file: spinner-default.html
```
```html
file: spinner-single-color.html
```
--------------------------------
### Complete MDL Tab Implementation
Source: https://github.com/google/material-design-lite/blob/mdl-1.x/src/tabs/README.md
This is a complete example of an MDL tab component, including the necessary classes for styling and functionality, and the 'is-active' class for the default visible tab.
```html