Jon Snow
15 Sept, 2023
Nowadays 3d animation is the best choice for developers. many 3d animation libraries are built like three js, anime js and many more but today we talk about spline design.
Spline is an easy-to-use 3D design tool for any designer regardless of their 3D experience. It's simpler to learn than full-featured 3D apps - such as Cinema 4D or Blender because it doesn't bog you down with loads and loads of settings and features.
Best of all, it is browser-based and FREE, so literally anyone can use it no matter what computer you have!
Step - 1 From these examples, you can pick any design you like
Step - 2 Open it
There is an option to export this design.
This design can be exported in multiple ways
The "Public URL" link is usually used to share your scene via a link. While the Embed code is used to embed your scene in other tools like Notion, Webflow, WordPress, Framer, Typedream, etc.
Embed code
<iframe
src="https://my.spline.design/miniroomartcopy-51fb8d8402219e5b621015be7fae806d/"
frameborder="0"
width="100%"
height="100%"
></iframe>
Public url of design
https://my.spline.design/miniroomartcopy-51fb8d8402219e5b621015be7fae806d/
Spline Viewer is a more flexible way of embedding your Spline scenes into your websites.
<spline-viewer>
is a native HTML web component and can be used with most web builders, frameworks, or browsers.
Demos
For interactive demos, check out
Copy embed code
<script
type="module"
src="https://unpkg.com/@splinetool/viewer@0.9.374/build/spline-viewer.js"
></script>
<spline-viewer
url="https://prod.spline.design/S8o9DE-254xyJ0lv/scene.splinecode"
></spline-viewer>
Spline allows you to export the code of your scene as:
You can copy the code, open it as a CodeSandbox project, or download the local files to host it yourself.
import Spline from "@splinetool/react-spline";
export default function App() {
return (
<Spline scene="https://prod.spline.design/S8o9DE-254xyJ0lv/scene.splinecode" />
);
}
You can also export as
https://app.spline.design/community/explore
After remixing the design, you'll be redirected to the Spline editor where you can make changes.
Use the Spline editor's tools and features to customize the design according to your preferences.
Adjust colors, shapes, animations, and other elements to match your website's branding and style.