Material Design 3 Components
A showcase of all Material Design 3 web components available for use in this website.
Buttons
Filled Button (Primary CTA)
<md-filled-button>Download App</md-filled-button> Filled Tonal Button (Secondary Action)
<md-filled-tonal-button>Buy me a Coffee</md-filled-tonal-button> Outlined Button
<md-outlined-button>Learn More</md-outlined-button> Text Button (Tertiary)
<md-text-button>View Details</md-text-button> Icon Button
<md-icon-button aria-label="Settings">
<md-icon>settings</md-icon>
</md-icon-button> FAB (Floating Action Button)
<md-fab aria-label="Create new item">
<md-icon slot="icon">add</md-icon>
</md-fab> Cards
Elevated Card
Feature Title
This is an elevated card with a subtle shadow for visual hierarchy.
<md-elevated-card>
<div class="card-content">
<h4>Feature Title</h4>
<p>Card description...</p>
</div>
</md-elevated-card> Filled Card
Feature Title
This is a filled card with a solid background color.
<md-filled-card>
<div class="card-content">
<h4>Feature Title</h4>
<p>Card description...</p>
</div>
</md-filled-card> Outlined Card
Feature Title
This is an outlined card with a border and minimal background.
<md-outlined-card>
<div class="card-content">
<h4>Feature Title</h4>
<p>Card description...</p>
</div>
</md-outlined-card> Text Fields & Forms
Filled Text Field
<md-filled-text-field
label="Name"
type="text"
placeholder="Enter your name"
></md-filled-text-field> Outlined Text Field
<md-outlined-text-field
label="Message"
type="text"
placeholder="Enter your message"
rows="3"
></md-outlined-text-field> Filled Select
<md-filled-select label="Category">
<md-select-option value="general">General Inquiry</md-select-option>
<md-select-option value="support">Support</md-select-option>
</md-filled-select> Checkbox
<md-checkbox></md-checkbox>
<label>I agree to the terms</label> Radio Button
<md-radio name="option"></md-radio>
<label>Option 1</label> Switch
<md-switch></md-switch>
<label>Enable notifications</label> Lists
List with Items
Home
Stopwatch
Support
About
<md-list>
<md-list-item>
<md-icon slot="start">home</md-icon>
<div slot="headline">Home</div>
</md-list-item>
</md-list> Navigation Components
Navigation Bar
<md-navigation-bar>
<md-navigation-tab aria-label="Home" active>
<md-icon slot="active-icon">home</md-icon>
<md-icon slot="inactive-icon">home</md-icon>
<span slot="label">Home</span>
</md-navigation-tab>
</md-navigation-bar> Navigation Drawer
Navigation drawers are typically full-screen. See MobileDrawer.astro for implementation.
<md-navigation-drawer>
<md-list>
<md-list-item>
<md-icon slot="start">home</md-icon>
<div slot="headline">Home</div>
</md-list-item>
</md-list>
</md-navigation-drawer> Dialogs
Dialog
Dialog Title
<md-dialog id="my-dialog">
<div slot="headline">Dialog Title</div>
<form slot="content" method="dialog">
<p>Content here...</p>
</form>
<div slot="actions">
<md-text-button>Cancel</md-text-button>
<md-filled-button>OK</md-filled-button>
</div>
</md-dialog> Progress Indicators
Linear Progress
Loading... (65%)
<md-linear-progress value="0.65"></md-linear-progress> Circular Progress
<md-circular-progress value="0.75"></md-circular-progress> Badges
Badge
<md-filled-button>
Messages
<md-badge slot="badge" value="3"></md-badge>
</md-filled-button> Typography (M3 Tokens)
Type Scale
Display Large
Headline Medium
Title Large
Body Large
Label Large
Material Symbols Outlined Icons
Navigation & Action Icons
Communication & Social Icons
Content & File Icons
Time & Calendar Icons
Finance & Data Icons
UI & Feedback Icons
Device & Hardware Icons
Transportation & Location Icons
This is a curated selection of commonly used Material Symbols Outlined icons. See Google Fonts - Material Symbols for the complete official icon set (currently 1,200+ icons).