ui icon indicating copy to clipboard operation
ui copied to clipboard

[bug]: Can't use Geist Sans font when using the new "Create a Project" page

Open Fritzzin opened this issue 1 month ago • 1 comments

Describe the bug

When you pick a theme that uses the Geist font, the url only has "Geist".

If I try to open the URL in the browser, I can see a message saying: {"error":"Invalid enum value. Expected 'geist-sans' | 'inter' | 'noto-sans' | 'nunito-sans' | 'figtree' | 'roboto' | 'raleway' | 'dm-sans' | 'public-sans' | 'outfit' | 'jetbrains-mono', received 'geist'"}

By changing the parameter font= in the url to geist-sans, it was fixed and I was able to create the project.

Affected component/components

Website's "New Project" page for creating templates

How to reproduce

  1. Open the main website https://ui.shadcn.com/
  2. Click in "+ New Project"
  3. Change the Preset to "Vega / Lucide / Geist Sans"
  4. Click in "Create a Project"
  5. Copy the command and try running on a terminal

Codesandbox/StackBlitz link

No response

Logs


System Info

System: Ubuntu 24-04 LTS (Running in WSL)
Node: 24.12.0
Npm: 11.6.2
Firefox: 146.0

Before submitting

  • [x] I've made research efforts and searched the documentation
  • [ ] I've searched for existing issues

Fritzzin avatar Dec 14 '25 14:12 Fritzzin

Hey @Fritzzin , I just opened a PR to fix this: #9070.

dhruv-mu avatar Dec 14 '25 16:12 dhruv-mu