Skip to content

Google fonts integration #2287

Discussion options

You must be logged in to vote

Usually you'd just add a <link /> element to your html. Since you import a certain font name there, you can then use it as follows:

<ChakraProvider theme={extendTheme({
  fonts: {
    body: /* font name here */
  }
})}>

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jamietallingbell
Comment options

You must be logged in to vote
0 replies
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