Skip to main content
🧢 Integrations
Integrating with Webflow

Integrating with Webflow

Webflow integration is currently a beta feature. Please send your feedback to us at help@spline.design (or within the in-app feedback panel) if you have ideas, feature requests, or bug reports.

Add interactive 3D content to your websites without the need to write code with the Webflow Integration called Spline Embed.

You can control many of the interactions of your Spline scene directly within Webflow. This allows the use of Webflow Events (e.g.: click, hover, mouse position, scroll) to manipulate the position, rotation, and scale of the available Spline objects.

To learn more about how to use it follow the steps and tips in this doc.

Exporting from Spline

  1. Open a Spline Scene.

  2. Click on β€œExport” in the top toolbar.

  3. Select β€œSpline Viewer”

  4. Copy the scene link at the top. It should look like this: https://prod.spline.design/HqdfCmOueigtautT/scene.splinecode β†’ feel free to grab this scene to test embedding Webflow.

Adding Spline Scene in Webflow

Inside the Webflow editor, follow these steps to add a Spline Scene:

  1. Click the β€œ+” icon on the left toolbar

  2. Under β€œElements” search for the β€œMedia” section

  3. Click on β€œSpline Scene”

  4. There is a default Spline Scene included in the β€œURL” input field. Paste your own Spline URL (see previous step Exporting from Spline).

  5. Click on β€œShow All Settings” to get access to all the Webflow settings.

To learn more about how to style and size the Spline Scene on your website, check the following docs from Webflow:

  • Style Panel Overview in Webflow

  • Element Settings Panel in Webflow

Controlling the Spline scene from Webflow

Spline Scenes in Webflow is a Beta feature, this walkthrough showcases a simple example, more documentation from Webflow coming soon!

  1. Select β€œβš‘οΈ – Interactions” in the right sidebar top corner.

  2. Create a new trigger (Element trigger or Page trigger), for this exercise select β€œMouse move in viewport” with the β€œ+” icon next to β€œPage trigger”.

  3. Select the trigger.

  4. Add an animation (”+” icon next to Mouse Animations).

  5. Open the animation with the β€œβš™οΈ β€“ cogwheel icon”.

  6. At Mouse X Action click on the β€œ+” icon and select β€œSpline” at the β€œIntegrations” section β†’ This unlocks access to Spline objects.

  7. At 0% select the β€œSpline” object.

  8. At the bottom of the sidebar next to β€œobject” select from the dropdown the object you would like to manipulate β†’ β€œGeometry” in the case of the example in the video.

  9. Set the β€œGeometry” initial position, scale, and rotation, you need to define a value in order to take effect (default values will be ignored from the animation)

  10. Now select the Spline object at 100% and there you should be defined by how much should be the object’s position, rotation, and scale be transformed.

  11. Now preview the experience with the β€œπŸ‘οΈ β€“ preview icon” in the top toolbar.

  12. Done! Moving the mouse over the webpage should animate the Spline object.

Previewing Spline scene in Webflow

In Webflow following options are available to preview your Spline Scene interactions

  • Option 1 β†’ Click on the β€œπŸ‘οΈ β€“ Toggle Preview” icon in the top toolbar

  • Option 2 β†’ Publish the site in Webflow and load the page to see the Spline scene in action.

Update Spline scene in Webflow

1. In Spline

  1. Make an update in the Scene (e.g.: change the color of an object),

  2. Click on Export

  3. Select the Spline Viewer tab

  4. Click on Update β†’ Wait until the updates get pushed

2. In Webflow

In the case of an already published Webflow project, just reload the website that contains the Spline Embed and your most recent Spline update will be visible.

To see the update in the Webflow Editor follow these steps:

  1. Select the Spline Scene.

  2. In the right sidebar select β€œElement Settings”

  3. At the β€œSpline Scene Settings” section click on β€œReload Spline Scene”

  4. Done, the updates are live!

Best practices

  • Scene optimization β†’ Learn to optimize your scene to make sure your scene loads quickly and runs efficiently on all sorts of devices.

  • Various screen sizes β†’ To match your scene with responsive behaviours use the Screen Resize Event and match it with the breakpoints from your Webflow environment.