Actions
Buttons and button-like triggers that start an action.
Angular · Material Design 3
29 components built strictly to the Material Design 3 specification — not a wrapper around Angular Material. Every example below is live and re-themeable, and ships with copy-paste code and a link to its in-repo M3 spec.
Add the package to an Angular 21+ app.
npm install @ngguide/ui One brand color generates the whole M3 token set — every --md-sys-* role, light and dark. mode: 'auto' follows the OS. This is all the theming the components need.
// app.config.ts
import { provideM3Theme } from '@ngguide/ui/theme';
export const appConfig: ApplicationConfig = {
providers: [
// One brand seed -> the full M3 dynamic-color token set.
provideM3Theme({
sourceColor: '#6750A4', // your brand color
variant: 'tonal-spot',
contrast: 'standard',
mode: 'auto', // 'light' | 'dark' | 'auto'
}),
],
};Each component is its own entry point — import only what you use.
import { ButtonComponent } from '@ngguide/ui/button';
@Component({
selector: 'app-root',
imports: [ButtonComponent],
template: `<button gui-button variant="filled">Get started</button>`,
})
export class AppComponent {} Icons use the Material Symbols font — load it once in your global styles. Need to re-theme at runtime (brand switch, dark toggle)? Inject M3ThemeService and call setTheme().
Buttons and button-like triggers that start an action.
Status, feedback and helper surfaces.
Surfaces that group or contain other content.
Controls for choosing values and options.
Text entry and date/time pickers.
Primitives the rest of the kit is built on.