Skip to main content
100%

Components styling - sample template

✓ Published0🌍 Public
Aandrei-antal
Last edited Jan 25, 2018
Created on Jan 9, 2018

This example demonstrates how to display movie information cards using Angular Material components within a template-driven layout. It shows a movie card containing a title, release year, genre, poster image, and plot summary arranged in a responsive two-column row. The code uses Angular Material’s `mat-card`, `mat-card-header`, `mat-card-title`, `mat-card-subtitle`, and `mat-card-content` APIs, along with the Angular Flex Layout directive `fxLayout` and `fxFlex` for responsive spacing. Data binding via `{{title}}`, `{{year}}`, `{{genre}}`, `{{poster}}`, and `{{plot}}` suggests the card is populated from a movie object, though the underlying data source is not shown.

AI-generated description

Similar vizzes