Replies: 2 comments
-
you need to have installed the necessary Carbon packages. Also your SCSS import seems to be not correct for Carbon. For Carbon React components, use the following import in your globals.scss:
Also make sure you import the required components in your sigIn.tsx file. |
Beta Was this translation helpful? Give feedback.
-
@sheeehy That's the legacy approach from v10 and earlier. For v11 when using the React components via @hydroper Can you reproduce this on https://stackblitz.com/ ? Here's a template using Next.js: https://stackblitz.com/github/carbon-design-system/carbon/tree/main/examples/nextjs |
Beta Was this translation helpful? Give feedback.
-
I've created a new Next.js application right now (automatic installation) and added this to the top of my
app/globals.scss
:I get this with a few components:
sigIn.tsx
I've asked here also: https://stackoverflow.com/q/77074024/19692949
Beta Was this translation helpful? Give feedback.
All reactions