material2

Component infrastructure and Material Design components for Angular [Moved to: https://github.com/angular/components] (by angular)

Material2 Alternatives

Similar projects and alternatives to material2

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better material2 alternative or higher similarity.

material2 reviews and mentions

Posts with mentions or reviews of material2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-08.
  • How to open and close Angular mat menu on hover
    1 project | /r/codehunter | 8 Jul 2023
    This question is in reference to this Github issue, with mat-menu which can't be toggled using mouse hover, I am basically trying to replace a bootstrap based horizontal navigation menu with angular material's menu. The only thing keeping me from replicating bootstrap based menu is opening and closing mat-menu on hover.As mentioned in the above Github issue there are some workarounds to achieve what I want, like using, mouseEnter
  • Working example of Angular 2.0 Material MdDialog with Angular 2.0
    2 projects | /r/codehunter | 8 Jun 2023
    Angular 2 Material: https://github.com/angular/material2
  • Trying to install Angular 2 Material from npm - unrecognized token in source text
    1 project | /r/codehunter | 2 Jun 2023
    Update: I found the following issue on A2M GitHub - seems like it might be an issue with PS. https://github.com/angular/material2/issues/297
  • Extend/Override style of reusable angular2 component
    1 project | /r/codehunter | 15 May 2023
    Assuming we want to use a component from some library in angular2 (example from material2). The component annotation looks like this:
  • day incorrect in angular material datepicker
    1 project | /r/codehunter | 8 May 2023
  • Angular2 Material Dialog css, dialog size
    1 project | /r/codehunter | 28 Apr 2023
    Angular2 material team recently released the MDDialog https://github.com/angular/material2/blob/master/src/lib/dialog/README.md
  • Material design component "is not a known element" in Angular2
    1 project | /r/codehunter | 18 Apr 2023
    Angular I have a hybrid Angular1 and Angular2 application. In one of the Angular2 components that I route to, I want to use a Material Design Button. When I insert a button into the template like this foo the application starts crashing with this console message Error: Template parse errors:'md-button' is not a known element:1. If 'md-button' is an Angular component, then verify that it is part of this module.2. If 'md-button' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schemas' of this component to suppress this message. ("Job[ERROR ->]material"): JobComponent@0:12 at TemplateParser.parse (http://localhost:3000/node_modules/@angular/compiler/bundles/compiler.umd.js:8321:21) So, it might sound like it is case 1 in the message, but I have tried the advice given in this answer to add MdButton to the imports property of my NgModule (which already contained MaterialModule.forRoot() as adviced by the documentation) , but if I do, the whole application goes blank without errors in the console. Here is some of the relevant code import { UIRouterModule } from "ui-router-ng2";import { Ng1ToNg2Module, uiRouterNgUpgrade } from "ui-router-ng1-to-ng2";import { MaterialModule, MdButton } from '@angular/material';const upgradeAdapter: UpgradeAdapter = new UpgradeAdapter( forwardRef(() => XamFlowNg2Module));uiRouterNgUpgrade.setUpgradeAdapter(upgradeAdapter);angular.module("xamFlow") .factory("consoleService", upgradeAdapter.downgradeNg2Provider(ConsoleService));/* * Expose our ng1 content to ng2 */upgradeAdapter.upgradeNg1Provider("restService");@NgModule({ declarations: [ JobComponent, ], entryComponents: [ // Components that are routed to must be listed here, otherwise you'll get "No Component Factory" JobComponent, ], imports: [ CommonModule, BrowserModule, FormsModule, HttpModule, Ng1ToNg2Module, MaterialModule.forRoot() ], providers: [ ConsoleService, ImageService ]})class MyModule { }upgradeAdapter.bootstrap(document.body, ["myApp"]); Answer link : https://codehunter.cc/a/angular/material-design-component-is-not-a-known-element-in-angular2
  • Angular 2 Material - How To Center Progress Spinner
    1 project | /r/codehunter | 15 Mar 2023
  • Difference between ng add <package name> vs npm install <package name> in angular 6
    1 project | /r/codehunter | 26 Jan 2023
    As Angular6 has been released, They have added a new command ng add . Can anyone tell me what will be the difference between existing command npm install and ng add
  • How to use .forRoot() within feature modules hierarchy
    1 project | /r/codehunter | 3 Sep 2022
    @NgModule({ imports: [ FeatureModuleA1.forRoot(), FeatureModuleA2.forRoot(), FeatureModuleA.forRoot(), SharedModule.forRoot() ]})class MainModule { } Am I right? Before you answer please take a look at this file:https://github.com/angular/material2/blob/master/src/lib/module.ts
  • A note from our sponsor - WorkOS
    workos.com | 29 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic material2 repo stats
13
22,620
9.9
about 2 years ago

angular/material2 is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of material2 is TypeScript.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com