Loading
Loading
Loading
mobile footer

Build the Interaction Layer Your Website is Missing.

Browse All EffectsBrowse All EffectsBrowse All EffectsUpgrade to ProUpgrade to ProUpgrade to Pro

70+ effects free, forever. No credit card.

© 2026 Hyperiux. All Rights Reserved.

AI Component CatalogueHey AI, Learn About Us
Platform

Vault

  • Documentation
  • Pricing
  • Blog
  • Community
  • NPM
  • MCP

Categories

  • All Effects
  • WebGL
  • Text
  • Backgrounds
  • Buttons
  • Carousels
  • Scroll
  • Components
  • Navigation
  • Cursor
  • Transitions
  • Loaders

Documents

  • Introduction
  • Installation
  • CLI
  • Dependencies
  • License

Legal

  • License Agreement
  • Terms of Service
  • Privacy Policy
  • Refund Policy
Socials
  • Twitter / X
  • LinkedIn
  • GitHub
  • Instagram
Contact Us
  • hello@hyperiux.com
New effects, in your inbox

Every new drop, plus the occasional behind-the-scenes build. No spam. Unsubscribe anytime.

All Effects
Featured ComponentsText AnimationsAnimated BackgroundsAnimated ButtonsCarousel EffectsScroll EffectsCreative ComponentsNavigationsCursor EffectsTransitionsLoadersWebGL & 3D Effects
Templates
IntroductionInstallationCLIDependenciesLicense
PricingBlogGithubNPMMCP Doc
Loading
Home/effects/SVG Brush Transition

SVG Brush Transition

Guide route changes with drawn SVG linework, giving illustrated and editorial sites a crafted transition between pages.

GSAPnext-transition-router
DemoDemoDemo

Tune the Real Props

Stroke Color

SVG brush stroke color.

Overview

SVG Brush Transition turns the cut between routes into a designed moment. A line-drawn mask guides the visitor from one page to the next.

Use SVG Brush Transition on brand sites, portfolios, campaign pages, and editorial journeys where navigation should feel connected. The page job is continuity: the transition should make the change of route feel intentional without making the destination wait for applause.

The production risk is delay. Page transitions become a problem when they pretend to be loading states, trap focus, or run full-screen motion for people who asked for less motion. Mount the transition where route state actually changes, keep it short, restore focus after navigation, and provide an instant fallback.


Usage Code

layout
1import SVGBrushTransition from "@/components/effects/svg-brush-transition";2import type { ReactNode } from "react";3 4interface LayoutProps {5  children: ReactNode;6}7 8export default function Layout({ children }: LayoutProps) {9  return (10    <SVGBrushTransition11      config={{12        enableBlur: false,13        strokeColor: "#82A0FF",14        duration: 1.5,15      }}16    >17      {children}18    </SVGBrushTransition>19  );20}

Example Production Use Case

An illustrated portfolio can use SVG Brush Transition between project pages so each route change feels like part of the visual language. The linework moves briefly and the next page appears. The outcome is continuity: the brand gets a crafted navigation moment without slowing the route.


Best Used For

  • Illustrated brands where drawn linework already belongs to the design system.
  • Portfolio and editorial route changes that should feel crafted but brief.
  • Small navigation trees where the transition supports orientation instead of hiding latency.

Not For

Not for apps, docs, checkout, search, dashboards, or product flows where navigation speed is the feature.

Not for routes where visitors navigate repeatedly and would resent the same flourish every few seconds.


Performance Budget

Keep duration short, avoid artificial route delays, animate SVG properties with restraint, and do not block interactivity after the destination route is ready. A transition that overstays its welcome is just a branded door in the user’s face.


Accessibility and Mobile

Move focus to the destination main region or heading after navigation. Respect reduced-motion preferences with instant navigation or a short fade. On mobile, reduce mask complexity and avoid full-screen linework that delays orientation.


Common Mistakes

  • Using SVG Brush Transition as fake loading delay.
  • Forgetting focus restoration after navigation.
  • Running full-screen motion for reduced-motion users.
  • Making the SVG linework too complex for a route change that should last under a second.

Changelog

Added reduced-motion route fallback with short opacity fades.
Initial release

API Reference

PropTypeDefaultDescription
strokeColorstring#82A0FFSVG brush stroke color.
durationnumber1.5Duration of the SVG brush draw and reveal animations.

Questions, Answered.

When should I use SVG Brush Transition?

Use it when an illustrated, editorial, or campaign site needs a line-drawn route change that feels crafted without delaying navigation.

Where should SVG Brush Transition mount in the App Router?

Mount it in your root layout around {children}, as in the usage code. SVG Brush Transition renders TransitionRouter from next-transition-router itself, so it stays mounted across navigations and no separate provider or template is needed.

How long should SVG Brush Transition last?

By default the brush draws over 1.5s on leave and erases over 1.5s on enter, with a 0.5s overlay fade, about 3s in total. The duration prop (default 1.5, clamped 0.25 to 4) sets each draw, so lower it for a quicker cut.

How should focus work after SVG Brush Transition?

Move focus to the destination main region or heading after navigation completes. The transition should not leave keyboard users stranded on an element from the previous route.

What is the reduced-motion fallback?

With reduced motion enabled, the component skips the brush stroke and fades the page out and back in over 0.2s each.

Can Hyperiux adapt SVG Brush Transition for a real brand system?

Yes. A custom version should define line style, mask behavior, transition timing, focus restoration, mobile fallback, source handoff, and implementation notes for the specific route system.

Request a Custom Animation

Need a custom effect? Tell us what to create.

Related Effects

Explore All EffectsExplore All EffectsExplore All Effects
Block Transition
GSAPnext-transition-router

Block Transition

Transitions

Chess Grid Transition
GSAPnext-transition-router

Chess Grid Transition

Transitions

Page Flip Transition
Pro
GSAPnext-transition-router

Page Flip Transition

Transitions

Radial Slice Transition
Pro
GSAPnext-transition-router

Radial Slice Transition

Transitions