
npm install @xyflow/xy-uiThis package is used internally at xyflow.com, reactflow.dev and svelteflow.dev for UI components.
The UI components are meant to be used within a nextjs app. You need to adjust the next.config.js, so that this package gets transpiled:
``js`
...
transpilePackages: ['@xyflow/xy-ui']
...
You also need to adjust tailwind.config.js, so that tailwind handles the class names used in this package:
`js``
content: {
...
'node_modules/@xyflow/xy-ui/components/*/.{js,ts,jsx,tsx,mdx}',
}