Selection Ring — Color and width of the active swatch indicator
3 Groups Setup
What Are Groups?
Groups allow users to toggle visibility of different 3D objects in your scene. Perfect for showing product variations, accessories, or different views.
Creating Groups in Spline
Groups are detected automatically based on object naming conventions in Spline:
GroupName/OptionName
For example:
Speaker/Stereo — Option "Stereo" in group "Speaker"
Speaker/Mono — Option "Mono" in group "Speaker"
Accessory/Stand — Option "Stand" in group "Accessory"
Accessory/Wall Mount — Option "Wall Mount" in group "Accessory"
💡 Pro Tip
Use descriptive names that will appear in the UI. "Speaker/Bluetooth" is clearer than "Grp1/Opt2".
Display Formats
Each group can be displayed as:
Radio — Only one option visible at a time (default)
Checkbox — Multiple options can be visible simultaneously
Select — Dropdown menu for groups with many options
Pills — Horizontal button-style toggles
Ordering Groups
Drag and drop group cards in the sidebar to reorder them. The order in the editor matches the order in the exported embed.
Styling Radio Options
Customize radio button appearance in Panel & Styling → Radio Options:
Style Preset — Default, Minimal, Accent, Filled, or Outline
Background Colors — Normal, Hover, and Selected states
Border Colors — Normal and Selected states
Text Color — Label text color
Spacing — Border radius and padding
4 Camera Events
Overview
Camera Events let you automatically transition the camera view when users switch between group options. This creates a polished, guided experience.
Setting Up Camera States in Spline
Select your camera in Spline and open the States panel.
Create states for each view you want (e.g., "Front View", "Side View", "Detail").
Position the camera for each state — set position, rotation, and zoom.
Add easing — Configure transition duration and easing in each state.
Attaching Events to Group Objects
In Spline, attach a mouseDown event to each group object that triggers the camera state:
Select the group object (e.g., "Speaker/Stereo").
Add an Event — Choose "Mouse Down" as the trigger.
Set the action — "Change State" on your camera to the appropriate state.
Repeat for each group option.
💡 Pro Tip
When a user clicks a radio option in the embed, Splinekit emits a mouseDown event on the corresponding group object, triggering your camera transition.
Best Practices
Keep transitions under 1 second for snappy interactions
Use "Ease Out" for most transitions — feels natural
Consider the viewer's perspective when positioning camera states
Test on mobile to ensure camera positions work at different aspect ratios
5 Responsive Design
Breakpoint Settings
Open Layout & Responsive to configure settings for each device size:
Desktop — 992px and up
Tablet — 768px to 991px
Mobile — Below 768px
Per-Breakpoint Options
For Tablet and Mobile, you can customize:
Aspect Ratio — Different proportions for smaller screens
Position — Where the swatch panel appears
Swatch Size — Smaller swatches for mobile
Border Radius — Adjust roundness per device
Panel Background — Device-specific panel colors
Quick Responsive Links
In Panel & Styling → Swatches, click the tablet or mobile icons next to Size and Border Radius to jump directly to those breakpoint settings.
Inheritance
Check "Inherit from Desktop" (for Tablet) or "Inherit from Tablet" (for Mobile) to use the larger breakpoint's settings. Uncheck to set custom values.
Separate — Individual code blocks for head, canvas, swatches, and JS.
All-in-One — Single embed with everything inline.
Webflow — Optimized for Webflow projects with specific placement instructions.
Adding to Your Site
Copy the Head Code — Paste into your page's <head> section for OG images.
Copy the Embed Code — Paste where you want the configurator to appear.
Publish — Your interactive configurator is live!
OG Image Sharing
Splinekit generates dynamic Open Graph images for social sharing. When users share their color configuration, the OG image shows their selected colors.
JavaScript API
After the embed loads, you can access the API via window.SPC:
// Set a specific color
window.SPC.setColor('ObjectName', '#ff5500');
// Trigger random colors
window.SPC.surpriseMe();
// Show/hide a group option
window.SPC.setGroupVisibility('Speaker/Stereo', true);
// Show one option, hide others
window.SPC.showExclusiveGroup('Speaker', 'Stereo');
💡 Pro Tip
Listen for the spc:select event on the document to react to color changes in your own code.