@xyflow/xy-ui
TypeScript icon, indicating that this package has built-in type declarations

0.0.11 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @xyflow/xy-ui

Weekly Downloads

6

Version

0.0.11

License

MIT

Unpacked Size

77 kB

Total Files

44

Last publish

Collaborators

  • peterkogo
  • webk1d