Open in app

Sign in

Write

Sign in

Dharmen Shah
Dharmen Shah

76 Followers

Home

About

23 hours ago

Course Announcement: Creating Angular Components with Material Components Web

🤔 Ever wondered how to create Material Design component that is not provided by material.angular.io ? Worry not, we have got your back with new course 📢 Announcing… Creating Angular Components with Material Components Web This course is useful when there is no official Angular component available for Material Design, but you want to have it in…

Angular

1 min read

Course Announcement: Creating Angular Components with Material Components Web
Course Announcement: Creating Angular Components with Material Components Web
Angular

1 min read


Published in

JavaScript in Plain English

·Nov 25

How to Handle Browser Storage in Angular SSR?

In this quick tutorial, we will learn best way to handle browser storage with Angular SSR Server-side applications may not have access to certain browser APIs and features. They are unable to utilize browser-specific global objects such as window, document, navigator, or location, and certain HTMLElement properties. Typically, code that…

Angular

3 min read

How to Handle Browser Storage in Angular SSR?
How to Handle Browser Storage in Angular SSR?
Angular

3 min read


Published in

JavaScript in Plain English

·Nov 24

Practical Guide for Loading SVG Icons with Angular Material

In this guide, we will learn how to use SVG icons with mat-icon. We will look at all the methods provided by MatIconRegistry and how to practically use each. mat-icon makes it easier to use vector-based icons in your app. This directive supports both icon fonts and SVG icons, but…

Angular

5 min read

Practical Guide for Loading SVG Icons with Angular Material
Practical Guide for Loading SVG Icons with Angular Material
Angular

5 min read


Published in

Stackademic

·Nov 22

Create a Size Variant for Angular Material Button

In this quick tutorial, we will learn how to create a smaller variant of Angular Material Button. How to change size To make size changes work accurately, we need to handle the size of all inner components (like ripple, label, touch area, etc.) respectfully for a mat-button in our example. Angular Material library provides…

Angular

3 min read

Create a Size Variant for Angular Material Button
Create a Size Variant for Angular Material Button
Angular

3 min read


Nov 21

Course Announcement: A complete theming guide to Angular Material Components

📢 It’s finally here! 🚀 A complete theming guide to Angular Material Components ✅ Typography, mixins, density, component’s themes, dark theme — covering everything What’s included? You will learn everything needed to incorporate and modify Angular Material Components theme, to be precise, below is what we will do: Start with setting up the project Create a custom theme Modify typography Create…

Angular

1 min read

Course Announcement: A complete theming guide to Angular Material Components
Course Announcement: A complete theming guide to Angular Material Components
Angular

1 min read


Published in

Stackademic

·Sep 24

Toggle Dark Theme in Angular Material

Need to toggle between dark and light theme in Angular Material? We have got your back… Read this article to know how! In one of our previous articles, we saw how to lazy load a dark theme. If you haven’t already, please check it first: Save some bytes when using multiple themes in angular material components Let’s say you have a theme file called dark.scss like below.shhdharmen.medium.com Now, to load the “dark-theme.css”…

Angular

2 min read

Toggle Dark Theme in Angular Material
Toggle Dark Theme in Angular Material
Angular

2 min read


Published in

Stackademic

·Sep 18

Modify Colors of Angular Material Button

Struggling with changing colors of angular material buttons? Not anymore! Read on… Let’s assume that you have added Angular Material in your project and selected a pre-built theme to use. We will create a custom-theme, which should get applied only when it’s inside .custom-theme class. @use "@angular/material" as mat; $custom-primary: mat.define-palette(mat.$pink-palette…

Angular

2 min read

Modify Colors of Angular Material Button
Modify Colors of Angular Material Button
Angular

2 min read


Published in

Stackademic

·Sep 17

Save Some Bytes When Using Multiple Themes in Angular Material Components

Let’s say you have a theme file called dark.scss like below. // src/styles/themes/dark.scss @use "sass:map"; @use "@angular/material" as mat; @use "../typography/config" as typography; @use "../components"; $my-app-dark-primary: mat.define-palette(mat.$blue-grey-palette); $my-app-dark-accent: mat.define-palette(mat.$amber-palette, A200, A100, A400); $my-app-dark-warn: mat.define-palette(mat.$deep-orange-palette); $my-app-dark-theme: mat.define-dark-theme( ( color: ( primary: $my-app-dark-primary, accent: $my-app-dark-accent…

Angular

2 min read

Save Some Bytes When Using Multiple Themes in Angular Material Components
Save Some Bytes When Using Multiple Themes in Angular Material Components
Angular

2 min read


Published in

JavaScript in Plain English

·Jul 25

Creating a custom form field control group using Angular Material

In this guide, we will learn that it is possible to create custom form field controls group that can be used inside <mat-form-field>. Introduction In one of my last tutorial, we learned how to create a completely reusable forms Angular. In this guide we’ll learn how to create a custom form…

Angular

11 min read

Creating a custom form field control group using Angular Material
Creating a custom form field control group using Angular Material
Angular

11 min read


Published in

JavaScript in Plain English

·Aug 30, 2022

How to Create Nested and Reusable Forms

An in-depth tutorial on creating nested and reusable forms & achieving complete reliability by using the composite ControlValueAccessor. — In this tutorial, you will learn how to create and use form-groups. And we will also learn how to achieve complete reliability by using the composite ControlValueAccessor. Introduction In web applications, we can have large forms, like account registration forms, profile creation forms, credit card forms, address forms, etc. These large…

Angular

11 min read

InDepth Guide for Creating Nested and Reusable Forms
InDepth Guide for Creating Nested and Reusable Forms
Angular

11 min read

Dharmen Shah

Dharmen Shah

76 Followers

Developer @ solvative.com, Blogs @ http://blog.shhdharmen.me, Open source @ http://github.com/shhdharmen, Writer @ indepth.dev

Following
  • fatfish

    fatfish

  • Nir Eyal

    Nir Eyal

  • Barack Obama

    Barack Obama

  • Kesi Parker

    Kesi Parker

  • Amazon Fire TV

    Amazon Fire TV

See all (81)

Help

Status

About

Careers

Blog

Privacy

Terms

Text to speech

Teams