How to add custom fonts to website made using v0

Hi community! I have made a website using v0 which is hosted on vercel . I want to add custom fonts designed for it which is not available on Google fonts. I had tried to download the zip folder from v0 and upload to GitHub repo and add custom fonts files on app/fonts and then deploy on vercel by connecting it. When I ask v0 to import that font it added the code but then I am unable to deploy it says v0 don’t support /local fonts. How I can use my custom fonts . Kindly help

1 Like

Did you know about these other v0 resources? A human should be here soon to help, but the answer may already be available even faster in one of these other posts.

This guide is a great place to start.

And these recordings can give you a look at v0 features and strategies in action: Topics tagged v0

Hi @rockson61, welcome to the Vercel Community!

To add the custom fonts to your v0 projects: you can upload the font files directly to your v0 chat and ask v0 to use these custom font files. Can you try and let me know if that works?

@anshumanb thanks for the steps. I’ll try today and let you know!

1 Like

@anshumanb I have .woff2 file format fonts for website which is most suitable format at this time for website but as you said to upload directly in v0. V0 shows this error “File type not allowed”. Kindly help asap.. additionally I have one more problem that is I have configured headless WordPress cms for nextjs websit with v0 but sitemap isn’t have all the posts and Google search console don’t accept sitemap. Waiting for your response

Hi @rockson61, I see. I’ll forward the filetype issue to our v0 team. In the meantime, if you are familiar with web development, I’d recommend you to use the Add to codebase button to pull the project to your local machine, add the fonts, and deploy directly to Vercel.

About the sitemap, I think it depends on how you are generating the sitemap. Can you share the v0 chat’s public link so I can take a look?

But then I have to edit the site with v0.. I have tried what you told but I want this in v0 as I’m not that much in nextjs . For public access for sitemap generation can I personal dm you?

1 Like

Hi @rockson61, I understand. I’ll take it up with the v0 team.

Yes, sure send me a dm. It’s a good idea for sensitive information.

@anshumanb How can I dm?

1 Like

Hi @rockson61, I just sent you a DM.