Skip to content
Discussion options

You must be logged in to vote

That's an interesting question, didn't encounter this one yet!

I had a quick look and I think next/font doesn't currently support dynamically loading fonts e.g. depending on props. There are however a few workarounds mentioned here if you don't mind loading the font yourself: vercel/next.js#40345.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Demianeen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants