whatsinlab

Vary blur with ease.

13
0
89% credibility
Found Jun 01, 2026 at 13 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Swift
AI Summary

Variablur is a library for iOS and Mac app developers that adds special blur effects to their apps. Instead of a uniform blur across everything, it lets developers create blurs that fade from strong to invisible in specific areas—like a soft edge fade at the bottom of a scrolling list, or a blur that hugs the rounded corners of a card. Developers choose the blur strength, where it appears, and how smoothly it transitions using simple commands built into their app's interface.

How It Works

1
💡 You need a polished blur effect

You're building an app and want that smooth edge fade effect you see in Apple's apps.

2
📦 You add the library to your project

You bring Variablur into your app using the standard way to add shared code.

3
You apply the blur with one simple command

You tell your view to blur and describe where you want the blur to appear.

4
You choose your style
🔽
Edge fade

Blur just one side, like fading content as it scrolls off the bottom

⬆️⬇️
Both sides

Blur top and bottom together, creating a tunnel-like effect

🔄
All around

Blur follows your view's rounded corners perfectly

5
🌊 You shape how the blur fades

You choose a smooth curve so the blur transitions from strong to invisible naturally.

🎉 Your app looks premium

Your content now has that beautiful, professional blur effect that makes users feel like everything is connected and polished.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 13 to 13 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is variablur?

Variablur is a Swift package that brings gradient-style blur effects to SwiftUI. While standard SwiftUI blur applies a uniform blur across your entire view, Variablur lets you blur just the edges, both sides, or the entire perimeter with a smooth transition controlled by easing curves. You describe the effect with three concepts: a blur radius, a variation describing where blur appears, and a curve shaping the fade. The API chains together fluently, so a bottom-edge fade looks like `.blur(18, variation: .bottom(.easeOut, height: 96))`.

The package targets iOS 14 and macOS 11, using Metal and Core Image under the hood to render the actual mask and apply the blur efficiently.

Why is it gaining traction?

Design-heavy apps increasingly need edge fades and material blur effects that feel native, not like blunt rectangles of blur. Variablur solves exactly this: scroll views that fade at the edges, cards with frosted perimeters, overlays that blend into content naturally. The fluent API makes it dead simple to experiment. You get 22 built-in easing curves covering sine, quadratic, cubic, quartic, quintic, exponential, and circular variations, plus support for native SwiftUI UnitCurve on iOS 17 and later. Custom Bezier control points are supported if you need them.

Who should use this?

SwiftUI developers building iOS or macOS apps that need sophisticated blur effects. If you've ever hand-coded a mask image to get an edge fade, this replaces that entirely. Perfect for implementing Apple-style overlays, frosted glass panels, or depth effects in scrollable interfaces.

Verdict

Variablur fills a real gap in the SwiftUI toolkit, and the API is clean and well-documented. However, the credibility score sits at roughly 0.9% with only 13 stars, so treat it as a promising early-stage package. Test coverage looks solid with 19 cases, but evaluate whether the Metal-based rendering aligns with your performance requirements before committing to production use.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.