0.0.5 • Published 4 months ago

@xyflow/xy-ui v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

xyflow

@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}',
}