All Projects → tiaguinho → Material Community Components

tiaguinho / Material Community Components

Licence: mit
🐼 Angular Material Components created from the community

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to Material Community Components

Dejajs Components
Angular components
Stars: ✭ 37 (-86.79%)
Mutual labels:  material, angular-components
Components
Component infrastructure and Material Design components for Angular
Stars: ✭ 22,372 (+7890%)
Mutual labels:  material, angular-components
Material
A lightweight Material Design library for Angular based on Google's Material Components for the Web.
Stars: ✭ 143 (-48.93%)
Mutual labels:  material, angular-components
Ngx Auth Firebaseui
Angular Material UI component for firebase authentication
Stars: ✭ 518 (+85%)
Mutual labels:  material, angular-components
Alyle Ui
Minimal Design, a set of components for Angular 9+
Stars: ✭ 234 (-16.43%)
Mutual labels:  material, angular-components
Thanks
🙌 Give thanks to the open source maintainers you depend on! ✨
Stars: ✭ 2,753 (+883.21%)
Mutual labels:  community
Shapeofview
Give a custom shape to any android view, Material Design 2 ready
Stars: ✭ 2,977 (+963.21%)
Mutual labels:  material
Django Vue.js Blog
django-vue.js-blog
Stars: ✭ 256 (-8.57%)
Mutual labels:  material
Materiallettericon
Material first letter icon like lollipop contacts icon. Letter(s) on a shape drawn on canvas.
Stars: ✭ 255 (-8.93%)
Mutual labels:  material
Material Table
Datatable for React based on material-ui's table with additional features
Stars: ✭ 3,198 (+1042.14%)
Mutual labels:  material
Githubfollows
A demo project based on MVVM architecture and material design & animations.
Stars: ✭ 272 (-2.86%)
Mutual labels:  material
Noice
A native Android app to relax, improve focus and boost productivity with minimal background noise.
Stars: ✭ 264 (-5.71%)
Mutual labels:  material
Create React App Material Typescript Redux
A ready to use boilerplate for starting big react projects
Stars: ✭ 257 (-8.21%)
Mutual labels:  material
Vscode Palenight Theme
✨ An elegant and juicy material-inspired theme for Visual Studio Code.
Stars: ✭ 263 (-6.07%)
Mutual labels:  material
Card settings
A flutter package for building card based forms.
Stars: ✭ 256 (-8.57%)
Mutual labels:  material
Md Date Time Picker
An implementation of Material Design Picker components in vanilla CSS, JS, and HTML
Stars: ✭ 272 (-2.86%)
Mutual labels:  material
Karrot Frontend
Web application for organization of foodsaving groups worldwide - frontend code and central location for feature planning. For server-side code, go to https://github.com/yunity/karrot-backend
Stars: ✭ 256 (-8.57%)
Mutual labels:  community
Expectanim
Describe your animation and run !
Stars: ✭ 2,787 (+895.36%)
Mutual labels:  material
Colorpicker
jQuery UI widget for color picking (similar to the one in Microsoft Office 2010).
Stars: ✭ 271 (-3.21%)
Mutual labels:  colorpicker
Sequent
A simple continuous animation library for Android UI.
Stars: ✭ 263 (-6.07%)
Mutual labels:  material

Material Community Components

Angular Material components that are not implemented in official package.

npm version Travis CI Coverage Status patreon

The idea of the Material Community Components is to provide components that aren't available in the Angular Material2 yet.

All the components are created using Angular, Material 2 and CDK. Since version 7.1.0 only Angular 9+ is supported.

The color-picker component has an additional peer-dependency to @thebespokepixel/es-tinycolor to help with color calculations.

Check out our documentation & live demo

Components

All the components have the prefix mcc followed by the package name.

Component Package Screenshot
Color Picker mcc-color-picker alt text
Scrollspy mcc-scrollspy alt text
Speed Dial mcc-speed-dial alt text
Timer Picker mcc-timer-picker alt text

If you miss any component, please follow the CONTRIBUTION GUIDELINE to open an issue or file your idea here.

Install

step: 1

We use some components from Angular Material. To be able to use this components, you have to install the @angular/animations. If you follow all the steps in Material Guide, you already have this step done.

    npm install --save @angular/animations

Note: @angular/animations uses the WebAnimation API that isn't supported by all browsers yet. If you want to support Material component animations in these browsers, you'll have to include a polyfill.

import {BrowserAnimationsModule} from '@angular/platform-browser/animations';

@NgModule({
  ...
  imports: [BrowserAnimationsModule],
  ...
})
export class PizzaPartyAppModule { }

If you don't want to add another dependency to your project, you can use the NoopAnimationsModule.

import {NoopAnimationsModule} from '@angular/platform-browser/animations';

@NgModule({
  ...
  imports: [NoopAnimationsModule],
  ...
})
export class PizzaPartyAppModule { }

step: 2

Install material community components package:

    npm install material-community-components

or

  yarn add material-community-components

Theming

To use the same theme of Angular Material add the following code to your style.scss.

@import '[email protected]/material/theming';
@import '~material-community-components/theming';

@include mat-core();

// Define the palettes for your theme using the Material Design palettes available in palette.scss
// (imported above). For each palette, you can optionally specify a default, lighter, and darker
// hue. Available color palettes: https://material.io/design/color/
$demo-primary: mat-palette($mat-green);
$demo-accent: mat-palette($mat-pink, A200, A100, A400);

// The warn palette is optional (defaults to red).
$demo-warn: mat-palette($mat-red);

// Create the theme object (a Sass map containing all of the palettes).
$demo-theme: mat-light-theme($demo-primary, $demo-accent, $demo-warn);

// build angular material theme
@include angular-material-theme($demo-theme);

// pass angular material theme to material community components
@include mcc-theme($demo-theme);

Right now only timer-picker and speed-dial do support the theme (see ISSUE-172).

Upgrading from 7.x.x

Since version 9.0.0 the lib only provides secondary entry-points for import. To migrate change your imports like that:

Before:

import { MccColorPickerModule} from 'material-community-components';
import { MccTimerPickerModule} from 'material-community-components';
import { MccSpeedDialModule} from 'material-community-components';
import { MccScrollspyModule} from 'material-community-components';

After:

import { MccColorPickerModule} from 'material-community-components/color-picker';
import { MccTimerPickerModule} from 'material-community-components/timer-picker';
import { MccSpeedDialModule} from 'material-community-components/speed-dial';
import { MccScrollspyModule} from 'material-community-components/scrollspy';

How to use

For more examples, you can see our demo folder or read the documentation

License

The MIT License (MIT) Copyright (c) 2018

Sponsors

alt text

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].