How to Create Realistic Glass Buttons in Figma (Step-by-Step Tutorial)
Original carousel by @uiux.build
Glass buttons are one of the most requested UI effects in Figma, and with the platform's built-in Glass effect, creating them is faster than ever. This tutorial walks through every step from a blank frame to a polished, realistic glass button you can drop into any design.

Step 1: Create Two Frames

Start by creating two square frames, each 180 x 180 pixels. Duplicate the first frame so you have two identical frames side by side. Enable "Clip content" on both.
Why two frames? The left frame becomes your base layer (the colored gradient underneath), and the right frame is where your glass effect lives. This separation gives you control over each layer independently and makes adjustments easier later.
Step 2: Build Your Base Gradient

Fill the first frame with a linear gradient. The carousel from @uiux.build uses a purple gradient (#8A5CFF at 100% opacity) as the base. Apply a corner radius to soften the edges and give it a button-like shape.
This base is what shows through the glass. The color you choose here determines the overall tone of your glass button. Purple gives a cool, premium feel. Blue feels calm and trustworthy. Orange feels warm and energetic. Pick a color that matches your brand or the context where the button will live.
Your base is now ready. Time for the glass.
Step 3: Apply the Glass Effect

This is where the magic happens. In Figma, add the Glass effect from the Effects panel. The default settings are a starting point, but the specific values from this tutorial are:
- Refraction: 82%
- Depth: 48%
- Frost: 60%
- Dispersion: 42%
- Tint: 20%
Here is what each setting does:
- Refraction controls how much the glass bends light. Higher values make the glass look thicker and more distorted.
- Depth determines how far the effect extends into the surface. Higher depth means more visible glass thickness.
- Frost adds a frosted quality. Higher frost means more opacity and less transparency. The carousel suggests increasing frost for a more solid look.
- Dispersion spreads the light. Lower dispersion creates a cleaner, more uniform glass. Higher dispersion creates more color separation at the edges.
- Tint adds a color cast to the glass. Keep this low for a neutral look, or increase it to match your brand color.
Pro tip from the carousel: Glass looks best with a soft background behind it. Place your glass button over a gradient or image, not a flat solid color.
Step 4: Make It Realistic

The difference between a good glass effect and a convincing one is in the small details. Add an inner shadow to create the impression of thickness at the edges. The carousel uses:
- Inner shadow: X=0, Y=16, Blur=40, Spread=0
- Color: #7E61FF at 30% opacity
Then add a soft highlight on the top edge to simulate light catching the glass surface. Reduce the layer opacity to keep it subtle.
A layer blur of 20 on the highlight edge softens it further, making it feel like natural light rather than a hard-edged effect.
The key insight here is subtlety. Each of these adjustments is small on its own. Together, they add up to a glass surface that reads as real material rather than a digital filter. As the carousel notes: "Small details make glass look premium."
Step 5: Final Polish

The last step is testing your glass button on different backgrounds. Glass reacts to whatever is behind it. The same glass button looks different on blue, purple, warm, or natural backgrounds.
Duplicate your glass component and place it on several different surface types:
- Blue: Cool and calm
- Purple: Soft and dreamy
- Warm tones: Vibrant and energetic
- Natural tones: Fresh and organic
This step matters because glass buttons almost never live on a single background. They appear on cards, headers, hero sections, and overlays. If your glass effect only looks good on one background, it will break the design wherever it appears elsewhere.
Pro tip: Glass effect looks different on every background. Use this to create depth and beautiful contrast rather than fighting it.
Summary: The Full Workflow
- Create two 180x180 frames with Clip content enabled
- Fill the base frame with a linear gradient and add corner radius
- Apply the Glass effect (Refraction 82%, Depth 48%, Frost 60%, Dispersion 42%, Tint 20%)
- Add inner shadow and soft highlight for realistic edge detail
- Test on multiple backgrounds to ensure the effect holds up everywhere
The entire process takes about 10 minutes once you know the settings. The result is a glass button that looks intentional, premium, and consistent across your design system.
For more Figma tutorials and design resources, check out the Figma Community where you can find glass button component files and editable versions of effects like these.
Want to build your own design tool or app? Build with Base44 and ship production apps with AI, no code required.
Original carousel by @uiux.build. View the original Instagram post here.
Where designers learn, create, and get discovered. newform.community
Find Your Stack
Discover the perfect design tools for your workflow.
Take the 60-second quizNewForm Studio
Turn your designs into professional mockups instantly.
Open StudioMore from NewForm

Social Media Design Trends 2026: What Is Actually Working Now
The social media design trends shaping 2026: intentional minimalism, material texture, and content that earns attention instead of demanding it. A visual guide to what works.
5 min read · Sep 23, 2026

Wireframe vs Final Design: What Actually Changes (Visual Breakdown)
See the full transformation from wireframe to final UI design. What changes, what stays, and why the gap between structure and polish is where the real design work happens.
5 min read · Sep 23, 2026
