Socket
Socket
Sign inDemoInstall

@angular/material

Package Overview
Dependencies
10
Maintainers
2
Versions
494
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @angular/material

Angular Material


Version published
Weekly downloads
1.4M
decreased by-1.34%
Maintainers
2
Install size
18.7 MB
Created
Weekly downloads
 

Package description

What is @angular/material?

The @angular/material package is a UI component library for Angular applications that implements Google's Material Design. It provides a wide range of reusable UI components that are designed to be efficient, accessible, and visually appealing. These components help developers build cohesive, attractive, and functional web applications with less effort.

What are @angular/material's main functionalities?

Form Controls

Form controls are essential for collecting input from the user. @angular/material provides various form controls like input fields, checkboxes, radio buttons, and select dropdowns. The code sample demonstrates how to import and use the MatInputModule for text inputs.

import {MatInputModule} from '@angular/material/input';

@NgModule({
  imports: [MatInputModule]
})
export class MyModule {}

Navigation

Navigation components help users move through the application. This includes menus, side navigation, and toolbars. The code sample shows how to import the MatToolbarModule to use a Material Design toolbar in your application.

import {MatToolbarModule} from '@angular/material/toolbar';

@NgModule({
  imports: [MatToolbarModule]
})
export class MyModule {}

Layout

Layout components assist in structuring the view of an application. @angular/material offers grid lists, cards, and tabs to help organize content. The code sample illustrates the use of MatGridListModule for creating grid layouts.

import {MatGridListModule} from '@angular/material/grid-list';

@NgModule({
  imports: [MatGridListModule]
})
export class MyModule {}

Buttons & Indicators

Buttons and indicators are used for actions and status feedback. This category includes buttons, progress bars, and spinner indicators. The code sample demonstrates importing MatButtonModule to use Material Design buttons.

import {MatButtonModule} from '@angular/material/button';

@NgModule({
  imports: [MatButtonModule]
})
export class MyModule {}

Other packages similar to @angular/material

Changelog

Source

12.1.3 "ruby-racecar" (2021-07-21)

material

| | | | ---------- | --------------------- | | bug fix | input: show focus indication for readonly inputs (#22847) (afa943101f3757a66b76e8475da9468b49295123), closes #22783 | | bug fix | radio: hidden circle visible on some zoom levels (#23154) (c26264ff4dff9417808236105e648f36a4e7200f), closes #22036 | | bug fix | slider: Style should only be applied when slider is focused. (#23184) (ecac3b5c21cc51985f5dc8c2aebece192f9ad7e0) |

cdk-experimental

| | | | ---------- | --------------------- | | bug fix | dialog: focus restoration not working inside shadow dom (#23194) (93459129096b142925bb42306253497bbf10fc35) |

material-experimental

| | | | ---------- | --------------------- | | bug fix | mdc-menu: increase specificity of menu panel styles (#23178) (881b0137cabfa4e70586f97fb1b08c182a654f5d) | | bug fix | mdc-select: resolve a couple of visual issues in high contrast mode (#23007) (d112acbc484ce40fcc29f410d3c9ba4d1d3b79c2) | | bug fix | mdc-table: apply 500 font weight to headers (#23169) (0884cc9ed4c10edd16d8e850f97c87ab28423ea1) | | bug fix | mdc-table: match legacy examples (#23159) (aa470effbde88b0110f2143e01e8b808e1de1d02) | | bug fix | multiple: inconsistent item text truncation when used together with MDC list (#23138) (48739eb0962188a1adbb3ac9bef6b00d44f6c2a8) |

Readme

Source

Angular Material

The sources for this package are in the main Angular Material repo. Please file issues and pull requests against that repo.

License: MIT

Keywords

FAQs

Last updated on 21 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc