Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool

In this topic

React
  • Backend vs Frontend: What Runs Where, and Why the Server Is the One You Trust
  • One Request, Two Answers: the Same Post as an HTML Page and as JSON
  • A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx
  • How a Web Page Works: HTML Tags, Elements and Attributes
  • Semantic HTML: header, nav, main, aside and footer as Page Landmarks
  • HTML Forms: Labels, Names, Input Types and Where the Data Goes (GET vs POST)
  • CSS Basics: Selectors, Which Rule Wins, and the Box Model
  • CSS Flexbox vs Grid: A Nav Bar, a Card Row and a Dashboard
  • Responsive CSS: Viewport, Mobile-First Media Queries, clamp() and Dark Mode with Tokens
  • JavaScript for People Who Already Code: Syntax, Modules and Five Surprises
  • JavaScript Arrays the Functional Way: map, filter, reduce, find, sort and Object.entries
  • Async JavaScript: Promises, async/await, fetch and Promise.all
  • JavaScript in the Page: the DOM, querySelector and Events
  • npm, package.json and Vite: What npm install Fetches and How Vite Serves and Builds Your Page
  • TypeScript Essentials: Types Checked, Then Erased (Interfaces, Unions, Generics)
  • Why React, JSX and Components: The Page as a Function of Data
  • React Props and Composition: Data Down, Calls Up, Children in the Slot
  • Routing With React Router: One Page, Many Addresses
  • React Component Tests With Vitest and Testing Library: Test What the User Sees
  • End-to-End Tests for a React App With Playwright: A Full Dress Rehearsal
  • Why AI-Built Websites All Look the Same, and Four Levels That Fix It
  • Visual Hierarchy, Spacing and the 8-Point Grid: Tell the Eye What to Read First
  • Colour, Contrast and Dark Palettes: 60-30-10, Semantic Tokens and Ratios You Can Compute
  • Typography That Sells: Type Scale, Line Length and Free Font Pairings
  • The UI Element Catalogue: Buttons to Toasts, Their Jobs, States and shadcn/ui Names
  • Design Tokens: Primitive and Semantic Tokens, from Figma to CSS to Tailwind
  • Tailwind CSS 4 in React: Utility Classes, Responsive Prefixes, Hover and Dark Mode
  • shadcn/ui in React: Components You Own, Edit and Commit
  • Design Tokens to a Tailwind Theme: Light and Dark Mode with @theme inline
  • Motion in React: Entrance, Hover, Exit and Layout Animations
  • A React Dashboard: Stat Cards, a Recharts Line Chart and a Sortable Table
  • Accessibility in Practice: Dialogs, Menus and the Keyboard in React
  • Reference-Driven Design: Extract a DESIGN.md From a Site You Admire and Build From It
  • Components, Variants and Variables: One Design System in Figma and in CSS
  • Figma MCP Server: Build a React Component From a Frame, Then Write It Back
  • Claude Design: From a Brief to a Clickable Prototype, Then Hand It Off to Claude Code
  • Critiquing AI-Generated UI: Six Checks for Every Screen
  • The AI Design Landscape: Prompt to UI, Prompt to App, and Design to Code
  • Your Brand Rules Folder: One Folder Every AI-Built Page Follows
  • The Best-Practice UI Prompt: Plain Sentences That Beat the Average AI Page
  • UI Ideas From Figma Make, Google Stitch and ChatGPT: One Prompt, Three Designs
  • Google Stitch From a Sketch or Screenshot: Show the Layout, Say What to Keep
  • Stitch to Figma to Code: Turn a Stitch Screen Into Code That Uses Your Tokens
  • Figma Make: Prompt to Prototype With a Four-Part Prompt
  • Upgrade a Dated UI From One Screenshot (or a Reference Image)
  • States and Feedback: Make Every Click Get an Answer
  • A Design-Loop Skill: Claude Screenshots, Scores and Fixes Its Own UI
  • Copy Without the AI Tells: A Copy Pass on a Landing Page
  • Running a Next.js Admin Starter Kit: Route Groups, Theme Tokens and npm run dev
  • Remotion Basics: A Video as One Composition Object, Frames, Sequences and the Player
  • Spline: Put a 3D Scene on a Landing Page Without Writing 3D Code
  • Framer: A Launch Page Without Code, From a Free Animated Template
  • Three.js: What It Can Do on Real Sites, and How to Let Your AI Agent Use It
  • Animated Component Libraries (Magic UI, Aceternity UI): Copy-In Motion and When It Becomes Noise
  • WebGPU and Three.js Shaders in TSL: A Living Gradient, 4,500 Particles and a Hover Ripple
  • Deploy Many Vite Demos as One Static Site: A Gallery Page, One Build Command and import.meta.env.BASE_URL
  • React State, Events, Lists and Conditional Rendering: Follow One Click
  • React useEffect: When It Runs, What Cleanup Is For, and When You Don't Need One
  • Lifting State Up, Refs and React DevTools: Put State Where It Is Needed
  • Forms and Actions in React 19: Controlled Inputs, Form Actions, useActionState and useFormStatus
  • React Context and Custom Hooks: Share One Value, Reuse the Logic
  • Finishing a Remotion Video Editor: Timeline Sync, Track Order, Trims and Fades, and the Server MP4 Render
  • A 3D Product Page in React and Three.js: Scroll Becomes a Number, One Camera Shot per Panel, One Choice Drives Everything
  • A Personal 3D Portfolio Room in React Three Fiber: Hover Glow, Click to Open, Pointer Drift and a Contact Form to FastAPI
  • Server State With TanStack Query: One Key, One Request, One Cache
  • Mutations and Optimistic Updates in TanStack Query: Change Data, Then Tell the Cache
  • Generate TypeScript Types, Query Hooks and Zod From an OpenAPI Spec With Orval
  • A Mock Backend in the Browser With Mock Service Worker, Generated From the Spec
  • A React Client for a FastAPI API: The CORS Wall, CORSMiddleware and the Vite Proxy
  • Forms With React Hook Form and Zod: The API's Rules in the Browser, the Server's Errors Under the Field
  • JWT Auth in a React Client With a FastAPI Backend: Log In, Carry the Token, Let the Server Decide
  • Supabase as a Backend: Postgres, Instant APIs, Row Level Security and the Two Keys
  • Email Login With Supabase in Next.js: Three Clients, Server Actions, the Callback Route and Middleware
  • Google Sign-In With Supabase in Next.js: Which Address Goes Where
  • hCaptcha on a Supabase Login Page: Site Key in the Browser, Secret in Supabase
  1. Blog
  2. /
  3. React
  4. /
  5. Fundamentals

Spline: Put a 3D Scene on a Landing Page Without Writing 3D Code

Pick the Stackable Glass scene in the Spline Community, remix it, publish it, and put it in the hero of the Orbit landing page: a still picture shows at once, the live 3D fades in on big screens, and phones and reduced-motion visitors keep the still.

Chaand Sheikh

·27 November 2026·Updated 29 November 2026Fundamentals

What you will learn

  • Find a ready-made scene in the Spline Community and remix your own copy
  • Publish a scene and get its public link, knowing what the licence means
  • Embed it with a still image first and the live scene fading in on top
  • Skip the live scene on phones and for visitors who prefer reduced motion

Before you start

  • Basic HTML and CSS
  • A landing page to add a hero visual to

Spline is a tool where you design 3D scenes right in the browser, without writing any 3D code. We'll pick a ready-made scene, make it ours, publish it, and put it on the landing page of Orbit, a sample team project app.

Step 1: find Spline

Go to spline.design. Under Products, 3D Design is the editor itself, where scenes are made. On the right, under runtimes, there's Web: you can embed and export a 3D scene into a website, which is exactly what we want. Under Resources there's Spline Community, where people share scenes and you can remix them.

Step 2: pick a scene

The Community (community.spline.design) has lots of ready-made scenes: rooms, characters, products. Sign in with a free account and pick Stackable Glass, a few glass cards stacked on each other. Simple and clean. Press on the canvas and drag, and the cards turn and tilt as you move the mouse. You can see the glass from every side. This is real 3D, not a picture.

Step 3: remix it

Hover over a scene and you get two small icons; the second is remix. It makes your own copy so you can change it. The editor has three areas:

  • Left: the agent panel, where you describe a change in plain words.
  • Middle: the canvas with the scene.
  • Right: properties, where you change colours and settings by hand.

Typing "make it red" to the agent hits a wall: the AI agent is part of the paid plan, which started at 25 dollars a month when the lecture was recorded. On the free plan you can still change everything by hand on the right. We kept the scene as it is.

Step 4: publish and copy the link

Click Share, open the Publish tab, and give it a title (ours is Stackable Glass). The licence is Creative Commons Attribution: others can view your scene and remix it too, so keep anything private out of it. Click Publish to Community. The scene is published and the link is already copied for you. Save it; that's the link the page uses.

Step 5: put it on the page

We asked the coding agent for it with this prompt (from the project's PROMPT.md):

Add this Spline scene to the hero of the Orbit landing page: <paste the scene link>. Show a still image of the scene first and fade the live scene in once it has loaded. On phones, and when the user prefers reduced motion, show only the still image. Keep the Orbit brand: purple #7C3AED, Segoe UI, rounded cards.

Still picture of the Stackable Glass scene: translucent rounded glass cards stacked one behind another, a teal-to-blue card at the front and pale lavender cards behind it, on a white background.
scene-still.jpg, the picture that shows first, before the live scene loads (and the only thing phones see).

The agent wrote just a few lines. The HTML holds the still picture:

<!-- The 3D scene: a still picture first, the live Spline scene on top once it has loaded. -->
<div class="scene" id="scene">
  <img class="scene-still" src="scene-still.jpg" alt="Stacked glass cards in Orbit purple and teal" width="864" height="590">
</div>

The script adds the live scene only on bigger screens and only when the visitor hasn't asked for reduced motion. I've replaced the real scene address with a placeholder:

// The public Spline scene (Share > Publish). Only loaded on bigger screens,
// and not at all when the visitor asked for reduced motion.
const SCENE_URL = '<your-published-spline-scene-url>';
const big = window.matchMedia('(min-width: 760px)').matches;
const calm = window.matchMedia('(prefers-reduced-motion: reduce)').matches;
if (big && !calm) {
  const frame = document.createElement('iframe');
  frame.src = SCENE_URL;
  frame.title = 'Stackable Glass 3D scene';
  frame.addEventListener('load', () => frame.classList.add('ready'));
  document.getElementById('scene').appendChild(frame);
}

And the CSS stacks the two and fades the iframe in once it has loaded:

/* the 3D scene: still picture underneath, live scene fades in on top */
.scene { position: relative; aspect-ratio: 864 / 590; border-radius: 24px; overflow: hidden; }
.scene-still, .scene iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.scene-still { object-fit: cover; }
.scene iframe { opacity: 0; transition: opacity .8s ease; }
.scene iframe.ready { opacity: 1; }

(Trimmed: the real file also sets the background, border, shadow and a 2-pixel overscan on the iframe.)

Still first, live scene on request page opens still picture shows big and not calm? min-width 760px yes: add iframe fades in on load no: keep the still phone or reduced motion
The page never looks empty, and small screens never pay for the 3D.

On the Orbit page, the still shows first and a moment later the live Stackable Glass scene fades in on top. Press and drag, and the cards turn on our own page, just like in Spline. Scroll down and the rest of the page (how Orbit works, a start-free button) scrolls as normal: the 3D scene is one part of the page. On a phone, only the still picture shows, which keeps the page fast.

Keep 3D simple and light

  • Use one 3D piece per page, so it really stands out.
  • Keep it light, because phones are slower than your laptop.
  • The link is public, so nothing private goes into the scene.

Quick recap

StepWhere
Find a sceneSpline Community
Make it yoursRemix, then edit properties by hand (agent is paid)
Share itShare, Publish, Publish to Community; link copied
Embed itstill img, iframe added by script on big screens, .ready fades it in

Next in this section: Framer, a launch page without code.

Keep going in React · 51 of 75

Previous
Remotion Basics: A Video as One Composition Object, Frames, Sequences and the Player
Next post
Framer: A Launch Page Without Code, From a Free Animated Template
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

The Python Architect Masterclass: Full Stack to AI Engineer

Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)

Related posts

Backend vs Frontend: What Runs Where, and Why the Server Is the One You Trust

Every web app has two halves. The front end runs on the user's device and is trusted with nothing; the back end holds the data, the secrets and the rules. Checked with real requests to a Django blog.

One Request, Two Answers: the Same Post as an HTML Page and as JSON

Ask a Django blog for the same post twice: once as a 12,731-byte HTML page built by a template, once as 2,976 bytes of JSON built by a serializer. Compare the headers, see who builds the page, and why the server still owns every write.

A Blog Design from a Prompt: Downloading Figma Make Code and Reading App.tsx and BlogCard.tsx

Make a blog design from a prompt in Figma Make, download src.zip, unzip it with Python's zipfile module, and read the two files that matter: App.tsx with its selectedPost state and BlogCard.tsx with its props.

How a Web Page Works: HTML Tags, Elements and Attributes

A web page is a text file full of labelled pieces. Learn tags, attributes and nesting with three tiny pages, and see what breaks when an attribute or a closing tag is wrong.

On this page

  • Step 1: find Spline
  • Step 2: pick a scene
  • Step 3: remix it
  • Step 4: publish and copy the link
  • Step 5: put it on the page
  • Keep 3D simple and light
  • Quick recap
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Related course on Udemy

The Python Architect Masterclass: Full Stack to AI Engineer

Python, Django, FastAPI, React, Docker, AWS, LLMs, RAG, agents and MCP, from first steps to AI engineer.View on Udemy ↗: The Python Architect Masterclass: Full Stack to AI Engineer (paid course, opens in a new tab)

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.