DEV Community

Marco Maxim
Marco Maxim

Posted on

How to create a Google Font Picker in Angular 18

I have built an Angular 18 font picker without requiring Google Developer API keys. The approach involves creating an array of font names and dynamically loading the corresponding styles.

I am seeking ways to enhance this method and would greatly appreciate any suggestions. You can find the complete code and tutorial here or on GitHub. I will be actively monitoring this topic for feedback.

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

πŸ‘‹ Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay