@xyflow/xy-ui
v0.0.11
Published
![xyflow](https://github.com/xyflow/web/assets/2857535/36a86114-e925-4669-a2dd-d0ae35cce76d)
Downloads
10
Readme
@xyflow/xy-ui
This package is used internally at xyflow.com, reactflow.dev and svelteflow.dev for UI components.
Usage with Nextjs and Tailwind
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:
...
transpilePackages: ['@xyflow/xy-ui']
...
You also need to adjust tailwind.config.js
, so that tailwind handles the class names used in this package:
content: {
...
'node_modules/@xyflow/xy-ui/components/**/*.{js,ts,jsx,tsx,mdx}',
}