angular_components 1.0.3 copy "angular_components: ^1.0.3" to clipboard
angular_components: ^1.0.3 copied to clipboard

discontinuedreplaced by: ngcomponents

The official Material Design components for AngularDart. Used at Google in production apps.

Material design components for AngularDart.

The AngularDart Components Gallery contains live examples and documentation.

This productive and stable set of widgets, contributed to by hundreds of Googlers, make debugging and deploying your app easier. Strict latency and testing policies make these widgets an excellent fit for projects using the Angular package.

Required Fonts #

Add the following font downloads to the head element of your page:

  • Roboto Font (example)

    <link
      rel="stylesheet"
      type="text/css"
      href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700">
    
    copied to clipboard
  • Material Icon Font (example)

    <link
      rel="stylesheet"
      type="text/css"
      href="https://fonts.googleapis.com/icon?family=Material+Icons">
    
    copied to clipboard

Custom component styles #

The styles of these components can be customized in your project with a component's provided Sass mixins.

  1. Add a dev dependency on the sass_builder package to your pubspec.yaml:
dev_dependencies:
  sass_builder: ^2.0.0 # update for the latest version
copied to clipboard
  1. Now you can import styles and mixins from this package via dart style package imports in your Sass files.

In your .scss files:

@import 'package:angular_components/css/material/material';

.blue {
  color: $mat-blue;
}
copied to clipboard
26
likes
30
points
2.3k
downloads

Publisher

verified publisherangulardart.dev

Weekly Downloads

2024.09.11 - 2025.03.26

The official Material Design components for AngularDart. Used at Google in production apps.

Repository (GitHub)

License

BSD-3-Clause (license)

Dependencies

angular, angular_forms, async, build, build_config, built_collection, collection, fixnum, intl, js, logging, meta, observable, protobuf, quiver, sass_builder

More

Packages that depend on angular_components