spline
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "spline" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-55d62373cb6eebda77360aa82085949a59ef22467de543c46984c3e90147d944. Verify the upstream source and version against https://github.com/TerminalSkills/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Spline 3D design tool: Spline is a browser-based 3D design tool that lets designers create interactive 3D scenes for the web without coding. Used to build 3D landing pages, product showcases, animated illustrations, and interactive experiences using a visual editor for modeling, materials, animation, physics effects, and mouse/scroll interactions; supports exporting to React, plain JavaScript, or embeddable iframes.
Introduction source: third_party · TerminalSkills · 1.0.0 Reference
SkillPi interpretation
- Testing
- Not tested
Browse files
Frontmatter
name: spline
description: >-
You are an expert in Spline, the browser-based 3D design tool that lets
designers create interactive 3D scenes and export them to websites without
writing code. You help teams build 3D landing pages, product showcases,
animated illustrations, and interactive experiences — with Spline's visual
editor for modeling, materials, animations, physics, and mouse/scroll
interactions, plus export to React, vanilla JS, or embeddable iframe.
license: Apache-2.0
compatibility: ''
metadata:
author: terminal-skills
version: 1.0.0
category: 3D & Creative
tags:
- 3d
- design-tool
- no-code
- interactive
- web
- collaborationSpline — 3D Design Tool for the Web
You are an expert in Spline, the browser-based 3D design tool that lets designers create interactive 3D scenes and export them to websites without writing code. You help teams build 3D landing pages, product showcases, animated illustrations, and interactive experiences — with Spline's visual editor for modeling, materials, animations, physics, and mouse/scroll interactions, plus export to React, vanilla JS, or embeddable iframe.
Core Capabilities
React Integration
// Install: npm install @splinetool/react-spline
import Spline from "@splinetool/react-spline";
import type { Application } from "@splinetool/runtime";
import { useRef } from "react";
export function Hero3D() {
const splineRef = useRef<Application>();
function onLoad(spline: Application) {
splineRef.current = spline;
// Find objects by name (set in Spline editor)
const cube = spline.findObjectByName("HeroCube");
if (cube) {
cube.position.y = 2; // Programmatic control
}
}
// Respond to Spline events
function onMouseDown(e: any) {
if (e.target.name === "BuyButton") {
window.location.href = "/checkout";
}
}
return (
<Spline
scene="https://prod.spline.design/abc123/scene.splinecode"
onLoad={onLoad}
onMouseDown={onMouseDown}
style={{ width: "100%", height: "100vh" }}
/>
);
}
Vanilla JS / Iframe
<!-- Embed via iframe (simplest) -->
<iframe
src="https://my.spline.design/abc123/"
frameborder="0"
width="100%"
height="600"
style="border: none;"
></iframe>
<!-- Or via runtime for more control -->
<canvas id="canvas3d"></canvas>
<script type="module">
import { Application } from "@splinetool/runtime";
const canvas = document.getElementById("canvas3d");
const app = new Application(canvas);
await app.load("https://prod.spline.design/abc123/scene.splinecode");
// Listen for events from Spline
app.addEventListener("mouseDown", (e) => {
console.log("Clicked:", e.target.name);
});
</script>
Design Workflow
## Spline Editor Features
### Modeling
- Parametric shapes (box, sphere, torus, text, path extrusion)
- Boolean operations (union, subtract, intersect)
- Edit mode for vertex/edge manipulation
- Import .OBJ, .GLTF, .FBX models
### Materials & Lighting
- PBR materials with realtime preview
- Glass, metal, plastic, fabric presets
- Matcap and gradient materials
- HDR environments, point/spot/directional lights
### Interactions (no code!)
- Mouse hover/click events per object
- Scroll-triggered animations
- State transitions (hover state, active state)
- Physics (gravity, collision, spring)
- Variables and conditions for logic
### Animation
- Keyframe timeline with easing curves
- Follow-path animation
- Spring physics animation
- Auto-rotate, float, bounce presets
- Sequence multiple animations
### Collaboration
- Real-time multiplayer editing (like Figma)
- Version history
- Comments and annotations
- Team libraries for reusable components
Installation
# React
npm install @splinetool/react-spline @splinetool/runtime
# Vanilla JS
npm install @splinetool/runtime
# Editor: https://spline.design (browser-based, free tier available)
Best Practices
- Design in Spline, control in code — Build the 3D scene visually, export to React, add business logic with
findObjectByName - Interactions in Spline — Use Spline's built-in events for hover/click effects; no code needed for basic interactions
- Optimize file size — Reduce polygon count in Spline; remove invisible objects; use lower texture resolution for web
- Lazy load — Spline scenes can be 2-5MB; load them lazily below the fold or after initial page render
- Events bridge — Use
onMouseDown,onMouseHoverprops to connect Spline interactions to React state/routing - Fallback for slow connections — Show a static image or loading animation while the Spline scene loads
- Combine with R3F — Use Spline for designer-created scenes, R3F for code-driven 3D in the same project
- Team workflow — Designers edit in Spline, publish URL updates live; no developer deploy needed for visual changes
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Spline 是浏览器端无代码 3D 设计工具,支持建模、材质、动画、物理与交互设计
- 可导出为 React、原生 JS 或 iframe,适用于 3D 落地页、产品展示等高频创意场景
- 提供完整设计-开发协作流程,设计师可在 Spline 中迭代,开发者通过代码控制逻辑
Highlights
- description 清晰定位为 Spline 专家,覆盖核心能力与典型使用场景
- 触发词完整,边界清晰,无与其他 Skill 重叠风险
Highlights
- 文档结构完整,含核心能力、代码示例、设计工作流、安装与最佳实践
- 提供 React 与 Vanilla JS 两种集成方式的端到端示例,frontmatter 完整
Areas to improve
-
未显式处理 Spline 场景加载失败或超时异常 Reported severity: Minor
代码示例中未包含网络错误、scene URL 失效等异常处理逻辑
Recommendation: 建议在 React 组件中添加 error boundary 或在 onLoad 回调中检查加载状态,提供 fallback UI
Highlights
- 工具来源明确(@splinetool 官方 npm 包),参数使用正确
- 覆盖鼠标事件、对象查找等核心交互逻辑,事件桥接机制清晰
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 34, 140, 143
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- my.spline.design
- prod.spline.design
- spline.design
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.