Skip to content
ToolShedby Wasim Shaikh
All Angular Material icons

Directions Car Filled icon

directions_car_filled: a legacy Material Icons icon, replaced by directions_car in Material Symbols. Copy its <mat-icon> code for Angular Material.

directions_car_filled is only in the legacy Material Icons font, which Google no longer updates. In Material Symbols use directions_car: it shows the outline by default and fills in with the FILL axis.

Style
Size
Colour
Template
<mat-icon fontSet="material-icons">directions_car_filled</mat-icon>
Component
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).

Directions Car Filled icon variants

Filledmaterial-icons
Outlinedmaterial-icons-outlined
Roundmaterial-icons-round
Sharpmaterial-icons-sharp
Two Tonematerial-icons-two-tone

Examples in Angular Material

Common places to use directions_car_filled, with the template code. Previews are drawn to match Angular Material's Material 3 components.

Icon button

<button mat-icon-button aria-label="Directions Car Filled">
  <mat-icon fontSet="material-icons">directions_car_filled</mat-icon>
</button>

Button with icon

Directions Car Filled
<button mat-flat-button>
  <mat-icon fontSet="material-icons">directions_car_filled</mat-icon>
  Directions Car Filled
</button>

Floating action button

<button mat-fab aria-label="Directions Car Filled">
  <mat-icon fontSet="material-icons">directions_car_filled</mat-icon>
</button>

List item

Directions Car Filled
<mat-list>
  <mat-list-item>
    <mat-icon fontSet="material-icons" matListItemIcon>directions_car_filled</mat-icon>
    <span matListItemTitle>Directions Car Filled</span>
  </mat-list-item>
</mat-list>

Toolbar

My App
<mat-toolbar>
  <span>My App</span>
  <span class="spacer"></span>
  <button mat-icon-button aria-label="Directions Car Filled">
    <mat-icon fontSet="material-icons">directions_car_filled</mat-icon>
  </button>
</mat-toolbar>

Form field prefix

Directions Car Filled
<mat-form-field appearance="outline">
  <mat-label>Directions Car Filled</mat-label>
  <mat-icon fontSet="material-icons" matPrefix>directions_car_filled</mat-icon>
  <input matInput />
</mat-form-field>

How to customize the Directions Car Filled icon in Angular Material

Use the controls at the top of this page to preview directions_car_filled at any size and color, then copy the code. Here is what each setting does in your own Angular app.

Change the Directions Car Filled icon size

<mat-icon> is fixed at 24 × 24 px, so set width and height along with font-size or the Directions Car Filled glyph will overflow its box.

<mat-icon fontSet="material-icons" class="directions-car-filled-icon">directions_car_filled</mat-icon>

.directions-car-filled-icon {
  font-size: 40px;
  width: 40px;
  height: 40px;
}

Change the Directions Car Filled 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.

.directions-car-filled-icon {
  color: #1a73e8;
  /* or follow your Material 3 theme */
  color: var(--mat-sys-primary);
}

Directions Car Filled icon FAQ

How do I change the color of the Directions Car Filled icon in Angular Material?
Give the <mat-icon> a class and set the CSS color property, for example .directions-car-filled-icon { color: #1a73e8; }. The directions_car_filled icon is a font glyph, so any text color works, including theme variables such as var(--mat-sys-primary).
How do I make the Directions Car Filled 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
directions_car_filled
Icon set
Legacy Material Icons only
Also found by
automobile, cars, maps, public, transportation, vehicle
Legacy codepoint
U+EFF7
Licence
Apache License 2.0, free for commercial use (Google Fonts)

Similar icons