Troubleshooting

PreviousNext

Troubleshooting Trident UI components.

Why are my components not styled?

Make sure your project is configured correctly for shadcn/ui in Tailwind 4 - this means having a globals.css file that imports Tailwind and includes the shadcn/ui base styles.

Then import the Trident Theme using the shadcn CLI:

npx shadcn@latest add https://develop.trident-ui.pro.clubmed/r/tailwind-config.json

The component imports fail with “module not found”

Check the file exists. If it does, make sure your tsconfig.json has a proper paths alias for @/ i.e.

{
  "compilerOptions": {
    "paths": {
      "@/*": ["./*"]
    }
  }
}

Still stuck?

If all else fails, feel free to open an issue on GitHub.