# Spline (react-spline)

> Embed 3D scenes designed in the Spline editor as a React component.

Source: https://tastebase.ehsanulsiam.workers.dev/browse/spline

freepaid

Embed 3D scenes designed in the Spline editor as a React component.

by Spline[GitHub](https://github.com/splinetool/react-spline)[npm](https://npmjs.com/package/@splinetool/react-spline)

[visit](https://spline.design/?utm_source=tastebase&utm_medium=referral&utm_content=detail-page)

[https://spline.design](https://spline.design/?utm_source=tastebase&utm_medium=referral&utm_content=detail-preview)

## Try these

no preview

### [React Three Fiber](https://tastebase.ehsanulsiam.workers.dev/browse/r3f)

React renderer for three.js: build 3D scenes as JSX components with hooks.

no preview

### [three.js](https://tastebase.ehsanulsiam.workers.dev/browse/three)

The standard WebGL and WebGPU 3D engine: scenes, cameras, materials, loaders.

no preview

### [Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

The default animation library for React (formerly Framer Motion): springs, gestures, layout and exit animations.

no preview

### [OGL](https://tastebase.ehsanulsiam.workers.dev/browse/ogl)

Minimal WebGL library (about a tenth of three.js) for custom shader effects.

## Looks that pick it

[Claymorphismfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/claymorphism)[Tactile 3Dfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/tactile-3d)[Y2Kfirst pick](https://tastebase.ehsanulsiam.workers.dev/looks/y2k)

## For your agent

##### Install

`npm i @splinetool/react-spline @splinetool/runtime`

**Free + paid.** [from $12/seat/mo yearly, $15 monthly](https://spline.design/pricing?utm_source=tastebase&utm_medium=referral&utm_content=detail-page): Spline editor: the free plan watermarks web exports; the runtime is free

##### Use it for

- a designer-made interactive 3D hero object with hover and click states
- marketing pages where the 3D scene changes often and should not need code edits

##### Skip it when

- performance-critical pages or mobile-first audiences: the runtime is heavy, use r3f with a small GLB
- you need fine control from React state: use r3f
- a decorative gradient: use paper-shaders

##### What's inside9 free

- Spline component
- @splinetool/react-spline/next (SSR blurred placeholder)
- Read and modify objects (findObjectByName, findObjectById)
- Spline events (onSplineMouseDown, onSplineMouseHover, onSplineScroll...)
- emitEvent / emitEventReverse
- setZoom
- Lazy loading
- renderOnDemand
- htmlContentMode

##### Facts

**Frameworks**
react, vue, svelte, solid, angular, vanilla

**Styling**
unstyled

**Weight**
large

**Accessibility**
weak

**Maturity**
stable

**License**
MIT (wrapper)

**Price**
Free core, from $12/seat/mo yearly, $15 monthly for more

##### Pairs with

[Motion](https://tastebase.ehsanulsiam.workers.dev/browse/motion)

##### Alternatives

[React Three Fiber](https://tastebase.ehsanulsiam.workers.dev/browse/r3f)[three.js](https://tastebase.ehsanulsiam.workers.dev/browse/three)

[Compare Spline (react-spline) with its alternatives](https://tastebase.ehsanulsiam.workers.dev/alternatives/spline-alternatives)

```
import Spline from '@splinetool/react-spline'

<Spline scene="https://prod.spline.design/6Wq1Q7YGyM-iab9i/scene.splinecode" />
```

https://my.spline.design/splinereactlogocopycopy-eaa074bf6b2cc82d870c96e262a625ae/

Loading website

[Visit](https://spline.design/?utm_source=tastebase&utm_medium=referral&utm_content=floating-pill)
