Skip to content

The best drei alternatives

8 tools that do a similar job to drei, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

drei

A library of ready-made helper components and hooks for building 3D scenes with react-three-fiber.

  1. 1

    react-three-fiber

    Open source · MIT · ★ 33.4k

    A React renderer that lets you build Three.js 3D scenes as React components.

    Best for: React developers who want to add 3D scenes to a web app; Developers who already know Three.js and want a component-based structure

  2. 2

    three.js

    Open source · MIT · ★ 117k

    A JavaScript library for drawing and animating 3D scenes in web browsers.

    Best for: Web developers adding interactive 3D graphics to a website; Developers building browser-based visualizations or simple 3D animations

  3. 3

    Zustand

    Open source · MIT · ★ 58.9k

    A small React state-management library built on hooks, with no providers needed.

    Best for: React developers who want simpler shared state than Redux; Apps that need state shared across many components without wrapping them in providers

  4. 4

    TanStack Query

    Open source · MIT · ★ 50.5k

    A library for fetching, caching, and updating data from servers in web apps.

    Best for: Frontend developers building apps that load data from a server; Teams using React, Solid, Svelte, or Vue who want less hand-written loading and caching code

  5. 5

    SWR

    Open source · MIT · ★ 32.5k

    A React hook library for fetching data, with caching and automatic refresh.

    Best for: React developers who fetch data from APIs in components; Projects that want built-in caching and request deduplication

  6. 6

    Mantine

    Open source · MIT · ★ 31.9k

    A React component library with 100+ UI components and 80+ hooks, MIT licensed.

    Best for: React developers building web apps who want many components out of the box; Teams that want dark mode and theming support built in

  7. 7

    TanStack Table

    Open source · MIT · ★ 28.5k

    Headless library for building customizable data tables in TypeScript and JavaScript.

    Best for: Developers building custom data tables in React, Vue, Solid, Svelte or another supported framework; Teams that already have a design system and want a table that matches it

  8. 8

    useHooks

    Open source · MIT · ★ 11.5k

    A set of ready-made React hooks for common UI and browser tasks, built to be safe on the server.

    Best for: React developers who want ready-made hooks for common browser tasks; Teams building apps with React v18.0.0 or newer

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to drei. We don't take payment for placement.