app.component.html
<h2 style="padding-top:25px; padding-bottom:25px;">
Angular Material - How to use Tab
</h2>
<mat-tab-group>
<mat-tab label="First Tab">
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Nam tincidunt elit non molestie rutrum.
Donec blandit risus et sem iaculis aliquam.
</mat-tab>
<mat-tab label="Second Tab">
Cras feugiat pharetra dolor, ac euismod tellus maximus eu.
Etiam dignissim enim vel lacus molestie, in iaculis tellus
ultrices.
</mat-tab>
<mat-tab label="Third Tab">
Integer rhoncus tristique felis ut dignissim.
</mat-tab>
</mat-tab-group>
app.module.ts [import]
import { MatTabsModule } from '@angular/material/tabs'
- angular material - How to change Progress spinner color
- angular material - How to center Progress spinner
- angular material - How to use Card
- angular material - How to use custom label in Tabs
- angular material - How to slow Tabs content transition
- angular material - How to get Tabs selected index
- angular material - How to use Tabs selectedTabChange event
- angular material - How to show Badge in a button
- angular material - How to show Badge with icon
- angular material - Badge position before & below after
- angular material - Open Accordion multiple panels at once
- angular material - How to disable a panel in Accordion
- angular material - How to hide Accordion panels toggle icon
- angular material - How to use Action List
- angular material - Action list with button and icon