Using your Design System on Next.js 12 and later
Since Next.js 12 , Native ES Modules are supported.
- Add your Design System package as a dependency of your app.
importthe modules your need in your code.
If you are using an older version of Next.js, please see Using your Design System on Next.js 11 and earlier .