ui
ui copied to clipboard
[bug]: Can't use Geist Sans font when using the new "Create a Project" page
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
- Open the main website https://ui.shadcn.com/
- Click in "+ New Project"
- Change the Preset to "Vega / Lucide / Geist Sans"
- Click in "Create a Project"
- 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
Hey @Fritzzin , I just opened a PR to fix this: #9070.