Tap And Play icon
tap_and_play: a legacy Material Icons icon. Copy its <mat-icon> code for Angular Material.
tap_and_play is only in the legacy Material Icons font, which Google no longer updates. To keep using it, load the legacy font and set fontSet="material-icons".
<mat-icon fontSet="material-icons">tap_and_play</mat-icon>import { MatIconModule } from '@angular/material/icon';
@Component({
imports: [MatIconModule],
// …
})The fontSet attribute is only needed if material-icons is not your app's default font set (see Setup).
Tap And Play icon variants
material-iconsmaterial-icons-outlinedmaterial-icons-roundmaterial-icons-sharpmaterial-icons-two-toneExamples in Angular Material
Common places to use tap_and_play, with the template code. Previews are drawn to match Angular Material's Material 3 components.
Icon button
<button mat-icon-button aria-label="Tap And Play">
<mat-icon fontSet="material-icons">tap_and_play</mat-icon>
</button>Button with icon
<button mat-flat-button>
<mat-icon fontSet="material-icons">tap_and_play</mat-icon>
Tap And Play
</button>Floating action button
<button mat-fab aria-label="Tap And Play">
<mat-icon fontSet="material-icons">tap_and_play</mat-icon>
</button>List item
<mat-list>
<mat-list-item>
<mat-icon fontSet="material-icons" matListItemIcon>tap_and_play</mat-icon>
<span matListItemTitle>Tap And Play</span>
</mat-list-item>
</mat-list>Toolbar
<mat-toolbar>
<span>My App</span>
<span class="spacer"></span>
<button mat-icon-button aria-label="Tap And Play">
<mat-icon fontSet="material-icons">tap_and_play</mat-icon>
</button>
</mat-toolbar>Form field prefix
<mat-form-field appearance="outline">
<mat-label>Tap And Play</mat-label>
<mat-icon fontSet="material-icons" matPrefix>tap_and_play</mat-icon>
<input matInput />
</mat-form-field>How to customize the Tap And Play icon in Angular Material
Use the controls at the top of this page to preview tap_and_play at any size and color, then copy the code. Here is what each setting does in your own Angular app.
Change the Tap And Play icon size
<mat-icon> is fixed at 24 × 24 px, so set width and height along with font-size or the Tap And Play glyph will overflow its box.
<mat-icon fontSet="material-icons" class="tap-and-play-icon">tap_and_play</mat-icon>
.tap-and-play-icon {
font-size: 40px;
width: 40px;
height: 40px;
}Change the Tap And Play icon color
The icon is a font glyph, so it takes the CSS text color. Set color on the <mat-icon> or on a parent, or use a theme variable to follow light and dark mode.
.tap-and-play-icon {
color: #1a73e8;
/* or follow your Material 3 theme */
color: var(--mat-sys-primary);
}Tap And Play icon FAQ
- How do I change the color of the Tap And Play icon in Angular Material?
- Give the <mat-icon> a class and set the CSS color property, for example .tap-and-play-icon { color: #1a73e8; }. The tap_and_play icon is a font glyph, so any text color works, including theme variables such as var(--mat-sys-primary).
- How do I make the Tap And Play icon bigger?
- Set font-size, width and height together, for example font-size: 40px; width: 40px; height: 40px;. <mat-icon> has a fixed 24px box, so changing font-size alone makes the icon overflow.
About this icon
- Name
- tap_and_play
- Icon set
- Legacy Material Icons only
- Also found by
- android, os wifi, ios, tablet, to
- Legacy codepoint
- U+E62B
- Licence
- Apache License 2.0, free for commercial use (Google Fonts)