# Create an Interactive Switch with Progressive Blur and Gradients - Hana | Everything You Need To Know - Spline Academy (https://spline.design/academy/tutorials/create-an-interactive-switch-with-progressive-blur-and-gradients)

> In this tutorial, we'll show you how to create an interactive switch made 100% in Hana using progressive blur + gradients, and a mouse hover event for the…

1. [Academy](https://spline.design/academy)
2. [Courses](https://spline.design/academy/collections)
3. [Hana | Everything You Need To Know](https://spline.design/academy/collections/hana-everything-you-need-to-know)
4. Create an Interactive Switch with Progressive Blur and Gradients

# Create an Interactive Switch with Progressive Blur and Gradients

Lesson 8 of 15HanaBeginner4 min

In this tutorial, we'll show you how to create an interactive switch made 100% in Hana using progressive blur + gradients, and a mouse hover event for the interaction. It's an interesting design that can be used in a variety of projects, and we'll walk you through each step.

Remix this demo here: <https://app.spline.design/ui/f7cc3864-707e-492a-8148-0e1ea37be1d3>

## What you’ll learn

1. [0:00Intro](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=0s)
2. [0:15Creating the base shape](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=15s)
3. [0:39Adding a gradient](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=39s)
4. [1:04Adding a layer blur effect](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=64s)
5. [1:46Creating triggers](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=106s)
6. [1:57Adding the mouse hover event + transitions](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=117s)
7. [2:24Creating the white stroke + adding states](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=144s)
8. [3:07Setting transitions for the stroke](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=187s)
9. [3:35Ending](https://www.youtube.com/watch?v=a-fKAlKbuP4&t=215s)

## Related resources

- [Progressive SwitchTemplate](https://app.spline.design/academy/tutorials/create-an-interactive-switch-with-progressive-blur-and-gradients?redirect-duplicate-template-uuid=e28be289-db51-434b-8bc6-772f993823a8&is-2d-file=true)
- [Effects in HanaDocument](https://docs.spline.design/hana-a-canvas-for-interactivity/effects-in-hana)
- [Interactivity in HanaDocument](https://docs.spline.design/hana-a-canvas-for-interactivity/interactivity-in-hana)

## Overview

- Hana
- 4 min
- Beginner

## Up next

[Design Smooth Interactive Icons in Hana7 minBeginner](https://spline.design/academy/collections/hana-everything-you-need-to-know/design-smooth-interactive-icons-in-hana)[Continue](https://spline.design/academy/collections/hana-everything-you-need-to-know/design-smooth-interactive-icons-in-hana)

[Spline](https://spline.design/)

The 3D and 2D editor for teams and their agents. Ship to the web, iOS and Android.

#### Ask AI about Spline

#### Products

- [3D Design](https://spline.design/3d-design)
- [Hana](https://spline.design/hana)
- [Omma](https://omma.build)
- [AI 3D Generation](https://spline.design/ai-generate)
- [Spline MCP](https://spline.design/mcp)
- [Pricing](https://spline.design/pricing)
- [Enterprise](https://spline.design/enterprise)

#### Runtimes

- [Web](https://spline.design/web)
- [iOS](https://spline.design/ios)
- [Android](https://spline.design/android)

#### Apps

- [Download](https://spline.design/download)
- [Spline Mirror](https://spline.design/spline-mirror)
- [Download Spline Mirror](https://spline.design/download-mirror)

#### Learn

- [Docs](https://docs.spline.design/)
- [Academy](https://spline.design/academy)
- [Spline API](https://www.npmjs.com/package/@splinetool/runtime)
- [Solutions](https://spline.design/solutions)

#### Community

- [Spline Community](https://community.spline.design)
- [Blog](https://spline.design/blog)
- [Changelog](https://spline.design/changelog)
- [Education](https://spline.design/education)
- [Contra](https://spline.design/contra)
- [Affiliate](https://spline.design/affiliate)

#### Company

- [Customers](https://spline.design/customers)
- [Careers](https://www.ycombinator.com/companies/spline/jobs)
- [Security](https://spline.design/security)

#### Legal

- [Terms & Conditions](https://spline.design/terms)
- [Privacy](https://spline.design/privacy)

#### Contact

- [help@spline.design](mailto:help@spline.design)
- [jobs@spline.design](mailto:jobs@spline.design)

© 2026 - Spline, Inc.
