{"id":19641746,"url":"https://github.com/layzeedk/ngx-material-components","last_synced_at":"2026-05-13T11:34:37.584Z","repository":{"id":113719586,"uuid":"135863382","full_name":"LayZeeDK/ngx-material-components","owner":"LayZeeDK","description":"[WIP] Material Components for Angular","archived":false,"fork":false,"pushed_at":"2018-06-19T08:41:35.000Z","size":236,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-23T06:41:31.539Z","etag":null,"topics":["angular","angular-components","components","material","material-components","material-components-web","material-design","mdc-web"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LayZeeDK.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-03T01:08:30.000Z","updated_at":"2018-08-01T05:33:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2242b57-458c-42fd-9b83-9052c0ab18d8","html_url":"https://github.com/LayZeeDK/ngx-material-components","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"ac943f1c7c1cb53ca8b9d4ee764b178f6f6fe0d1"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fngx-material-components","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fngx-material-components/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fngx-material-components/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LayZeeDK%2Fngx-material-components/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LayZeeDK","download_url":"https://codeload.github.com/LayZeeDK/ngx-material-components/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947660,"owners_count":19883031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","angular-components","components","material","material-components","material-components-web","material-design","mdc-web"],"created_at":"2024-11-11T14:10:16.713Z","updated_at":"2026-05-13T11:34:37.541Z","avatar_url":"https://github.com/LayZeeDK.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Components for Angular (ngx-material-components)\n\nMaterial Components for Angular web apps.\n\nAngular Components implementing [*Material Components for the Web*](https://material.io/develop/web) Adapters.\n\n## Installation\n\nInstall using NPM CLI\n```\nnpm install --save ngx-material-components\n```\n\nor using Yarn CLI\n```\nyarn add ngx-material-components\n```\n\n## Checkbox\n\n### Sass imports\n```scss\n// styles.scss\n@import \"~@material/ripple/mdc-ripple\";\n@import \"~@material/checkbox/mdc-checkbox\";\n@import \"~@material/form-field/mdc-form-field\"; // Optional - for example below\n```\n\n### Angular Module import\n\n```typescript\n// my-feature.module.ts\nimport { NgModule } from '@angular/core';\nimport { MdcCheckboxModule } from 'ngx-material-components';\n\n@NgModule({\n  imports: [\n    MdcCheckboxModule,\n  ],\n})\nexport class MyFeatureModule {}\n```\n\n### Template usage\n\n```html\n\u003c!-- my-feature.component.html --\u003e\n\u003cdiv class=\"mdc-form-field\"\u003e\n  \u003cmdc-checkbox\n    [checked]=\"true\"\n    controlId=\"my-checkbox\"\n    [disabled]=\"false\"\n    [indeterminate]=\"false\"\n    name=\"post-name\"\n    value=\"post-value\"\n    (checkedChange)=\"onCheckedChange($event)\"\u003e\u003c/mdc-checkbox\u003e\n\n  \u003clabel for=\"my-checkbox\"\u003e\n    My checkbox\n  \u003c/label\u003e\n\u003c/div\u003e\n```\n\n### Component usage\n\n#### Component template\n\n```html\n\u003c!-- my-feature.component.html --\u003e\n\u003cdiv class=\"mdc-form-field\"\u003e\n  \u003cmdc-checkbox\n    [(checked)]=\"checked\"\n    controlId=\"my-checkbox\"\n    [disabled]=\"false\"\n    [indeterminate]=\"false\"\n    name=\"post-name\"\n    value=\"post-value\"\"\u003e\u003c/mdc-checkbox\u003e\n\n  \u003clabel for=\"my-checkbox\"\u003e\n    My checkbox\n  \u003c/label\u003e\n\u003c/div\u003e\n\n```\n\n#### Component model\n\n```typescript\n// my-feature.component.ts\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'app-my-feature',\n  templateUrl: './my-feature.component.html',\n})\nexport class MyFeatureComponent {\n  checked: boolean = false;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayzeedk%2Fngx-material-components","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayzeedk%2Fngx-material-components","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayzeedk%2Fngx-material-components/lists"}