Card
NewA flexible surface for content, previews and related actions.
Basic
Use header and subHeader for a quick title and subtitle, then place any content inside.
Bring project details, notes and resources together in one clear view. Cards adapt to their container and let your content set the pace.
Header, templates & actions
Compose a cover, custom title, subtitle and footer. Buttons retain their normal behavior.
A shared home for your team's ideas. Keep the brief, visual direction and next steps close at hand.
Save the project to add it to your collection.
Cards in a grid
Set the layout on the parent. Footer actions align at the bottom of equal-height cards.
Discover inputs, buttons and building blocks for your next application.
Combine cards with accordions to organize richer pages. Customize colors and spacing with CSS variables.
Usage and API
Import AvCard and the slot directives you need: AvCardHeader, AvCardTitle, AvCardSubtitle and AvCardFooter from avero-ui.
<av-card header="Project overview" subHeader="Design workspace">
<ng-template avCardHeader>
<img src="project-cover.jpg" alt="Project preview" />
</ng-template>
<p>Your project details go here.</p>
<ng-template avCardFooter>
<button avButton (click)="save()">Save project</button>
</ng-template>
</av-card>