I can't add create custom design system

Hi everyone :waving_hand:

I’m trying to make all of my new projects in v0 follow a custom design system.
I already have a registry file with my theme here:
:backhand_index_pointing_right: https://shadcn-ui-registry-starter-bkle.vercel.app/r/theme.json

I’ve tried using both chats.create and chats.init with files and registry, but I couldn’t get v0 to consistently apply my design system to every new project.

      ❌ not working
      const chat = await this.v0SDK.chats.create({
        message,
        projectId,
        responseMode: 'async',
        designSystemId:'https://shadcn-ui-registry-starter-bkle-gnlmtp9zg.vercel.app/r/theme.json',
      });

Question:

  • What’s the correct way to attach a registry file (like theme.json) so every new project automatically uses it?

Any guidance or code examples would be super helpful :folded_hands:

Thanks in advance!

Hey, @mahmouddahdouh-1074!

designSystemId only works with predefined design systems in v0. It doesn’t support loading custom registry files from a URL yet. But thank you for flagging! We’ll share with the team.

Cross-posting this helpful resource: