+ All Categories
Home > Technology > An Introduction Into Using Angular’s Material Design

An Introduction Into Using Angular’s Material Design

Date post: 12-Apr-2017
Category:
Upload: tracy-lee
View: 104 times
Download: 0 times
Share this document with a friend
29
@ladyleet “Nothing is as important as passion.” —Jon Bon Jovi
Transcript
Page 1: An Introduction Into Using Angular’s Material Design

@ladyleet

“Nothing is as important as passion.”

—Jon Bon Jovi

Page 2: An Introduction Into Using Angular’s Material Design

@ladyleet

Twitter: @ladyleetCo-Founder: This DotPreviously: DishcrawlOrganizer: Ng-CruisePodcaster: Modern WebBlog: medium.com/@ladyleetGoogle Developer Expert: AngularSpeaker:NgPoland, AngularUp, AngularConnect, DevFestNL, Silicon Valley Code Camp, ReactNLConf, LondonJS, AngularZone, UtahJS, GEMConf, The Ember Show, TriangleJS, RTP AngularJS, Angular Berlin, EmberJS SF, Triangle EmberJSTracy Lee

Page 3: An Introduction Into Using Angular’s Material Design

Intro to Angular Material (2)

@ladyleet

Page 4: An Introduction Into Using Angular’s Material Design

@ladyleet

What is ngular Material?

Page 5: An Introduction Into Using Angular’s Material Design

@ladyleet

What We’ll Learn Today

Components & StylingTips: Getting Started

Building with Angular MaterialDeploying Angular Apps to Firebase

Page 6: An Introduction Into Using Angular’s Material Design

Angular Material 2.0.0-beta.2Angular 4.0.0.rc-2

Angular-CLI 1.0.0-rc.1

@ladyleet

Versions

Page 7: An Introduction Into Using Angular’s Material Design

@ladyleet

Components & StylingComponentsLayoutNavigationForm ControlsPopups & ModalsButtons, Indicators & Icons

StylingMaterial Design ColorsDefault ThemesCustom Themes

Page 8: An Introduction Into Using Angular’s Material Design

Available Components (22)

Layout• List• Grid list• Card• Tabs

Popups & Modals• Dialog• Tooltip• Snackbar

Form Controls• Checkbox• Input• Radio Button• Select• Slider• Slide Toggle

Navigation• Menu• Sidenav• Toolbar

Buttons, Indicators & Icons• Button types• Button toggle• Chips• Icon• Progress Spinner• Progress bar

@ladyleet

Page 9: An Introduction Into Using Angular’s Material Design

Material Styling

Material Design ColorsDefault ThemesCustom Themes

@ladyleet

Page 10: An Introduction Into Using Angular’s Material Design

MaterialPalette.com

@ladyleet

Page 11: An Introduction Into Using Angular’s Material Design

Pre-Built Themes

/node_modules/@angular/material/core/theming/prebuilt

@ladyleet

Page 12: An Introduction Into Using Angular’s Material Design

Custom ThemesCheck guides at material.angular.io

@ladyleet

Page 13: An Introduction Into Using Angular’s Material Design

Building WithMaterial Components

@ladyleet

Page 14: An Introduction Into Using Angular’s Material Design

Building a Pun App@ladyleet

Angular Material

Page 15: An Introduction Into Using Angular’s Material Design

Create new app with angular-cli

ng new name-of-app$ cd name-of-app

Install Angular Material (2)

$ npm install -S @angular/material

Getting Started

@ladyleet

Page 16: An Introduction Into Using Angular’s Material Design

Import MaterialModule

import { MaterialModule } from ‘@angular/material’;

Add to imports array

MaterialModule.forRoot()

@ladyleet

MaterialModule

Page 17: An Introduction Into Using Angular’s Material Design

@ladyleet

Font, Icons & Themes

Page 18: An Introduction Into Using Angular’s Material Design

@ladyleet

Custom CSS

Page 19: An Introduction Into Using Angular’s Material Design

@ladyleet

Component Demonstration- toolbar (md-toolbar, md-toolbar-row)- sidenav (md-sidenav-container, md-sidenav)- icon (md-icon)- button (md-button)

- grid list (md-grid-list, md-grid-tile)- chips (md-chip-list, md-chip)

- tooltip (mdTooltip)- dialog (md-dialog-title, md-dialog-content, md-dialog-actions, md-dialog-close)- raised button (md-raised-button)

- card (cats) (md-card, md-card-title, md-card-content)- md list (banana) (md-list, md-list-item)- tabs (cow) (md-tab-group, md-tab)- snackbar

Page 20: An Introduction Into Using Angular’s Material Design

Changing Themes is Easy

/node_modules/@angular/material/core/theming/prebuilt

@ladyleet

Page 21: An Introduction Into Using Angular’s Material Design

Deploying to Firebasehttps://jdays-e68f8.firebaseapp.com/

Page 22: An Introduction Into Using Angular’s Material Design

In Progresshttps://github.com/angular/material2

@ladyleet

Page 23: An Introduction Into Using Angular’s Material Design

In Progresshttps://github.com/angular/material2

@ladyleet

Page 24: An Introduction Into Using Angular’s Material Design

Flex Layouthttp://github.com/angular/flex-layout

https://tburleson-layouts-demos.firebaseapp.com/#/docs

@ladyleet

Page 25: An Introduction Into Using Angular’s Material Design

Angular Flex Layout

https://tburleson-layouts-demos.firebaseapp.com/#/docs

Page 26: An Introduction Into Using Angular’s Material Design

@ladyleet

What You Learned Today

Components & StylingTips: Getting Started

Building with Angular MaterialDeploying Angular Apps to Firebase

Page 27: An Introduction Into Using Angular’s Material Design

@ladyleet

https://jdays-e68f8.firebaseapp.com/

Page 28: An Introduction Into Using Angular’s Material Design

@ladyleet

Twitter @ladyleet

Github @ladyleet

Medium @ladyleet

www.ladyleet.com

www.thisdot.co

Tracy Lee

Page 29: An Introduction Into Using Angular’s Material Design

ngcruise.com - May 29th! - Miami - Caribbean


Recommended