Requirements
Supported React, Next.js, Tailwind and Motion versions.
Versions
| Package | Supported | Notes |
|---|---|---|
react | 18.2+ / 19 | Wancraft itself runs on React 19. |
tailwindcss | v4 | Classes use v4 syntax such as arbitrary CSS variables. v3.4 may work but is not tested. |
motion | 12+ | Imported as motion/react. Only required by components that list it. |
next | 14+ (optional) | No component imports Next.js; they work in Vite, Remix or any React app. |
| TypeScript | 5+ | Sources compile under strict mode. Plain JS projects can strip the types. |
Browsers
Current versions of Chrome, Edge, Firefox and Safari. Effects that depend on newer CSS degrade gracefully: if a feature is missing, the component renders its static state rather than breaking.
No runtime, no provider
There is no Wancraft package, context provider or global stylesheet. Each file is independent.