Petal Glass Free for Aperveil 1.0 WebGPU shader

A softer shape for light.

A frosted, petal-shaped glass effect for React. Adjust its position, rim and iridescence, choose a color look, and export the WebGPU component.

Part of the Free collection for Aperveil 1.0. Public live preview and Color Looks are open. Free Export Kits do not require an account. Purchasing is not available yet.

Free for Aperveil 1.0React exportRaw WGSL

Inside Petal Glass.

Petal Glass builds a procedural petal form with a frosted surface, a lit rim and iridescent color. Petal count, size and X/Y location control the mark's composition.

The petal is generated by the shader. It is not an uploaded logo, an image mask or a botanically accurate flower model.

1.483 ms legacy timing (method not recorded; not a pure GPU measurement). 1440x900 @ dpr 2; Metal driver on macOS Version 26.6.2 (Build 25G83); measured 2026-09-03. This is a recorded headless sample, not a browser FPS or mobile-performance guarantee.

Location

Move the petal mark across the canvas.

Petals

Number of petals.

Size

Size of the mark.

Frost

How strongly the glass is frosted.

Color Looks preserve these settings. Open the editor for all 16 controls.

From preview to your project.

Choose a Look, tune it in the editor, then download the Export Kit. Install the runtime and copy the generated component into your project.

Every control in the editor is a typed prop. Leave a prop out to keep the value you exported; change one and the running shader updates without restarting. Give the surface a size and pass fallback for browsers without WebGPU.

In Next.js, use a client component and give its container an explicit size. Keep headings, links and accessible content in HTML above the decorative canvas.

Part of the Free collection for Aperveil 1.0. Public live preview and Color Looks are open. Free Export Kits do not require an account. Purchasing is not available yet.

Open editor & export
Markdown guide

Usage example — download PetalGlass.tsx from the editor first. This example imports that local file; it is not the shader component itself.

Terminal
npm install ./vendor/aperveil-runtime-0.1.0.tgz ./vendor/aperveil-react-0.1.0.tgz
PetalGlass usage
"use client";

import PetalGlass from "./PetalGlass";

export default function Hero() {
  return (
    <PetalGlass
      className="hero-shader"
      petals={8} background="#1a0f22ff"
      fallback={<div className="hero-shader-fallback" />}
    />
  );
}

// .hero-shader { width: 100%; height: 560px; }

Download and extract the complete Export Kit first. Run its local package command from the ZIP root, then copy the component into your project. Public npm and CLI distribution is coming soon.

Made for a real interface.

Use the glass mark as an accent for a skincare or creative studio introduction. Place the heading beside the form and use a soft, matching page palette.

Petal Glass used behind an example interface
FLEUR / DAILY ESSENTIALSExample composition

A considered daily ritual

A small ritual. A softer day.

Simple gestures, thoughtfully made. An invitation to give a little more attention to the everyday.

Form

Soft edges, an open silhouette.

Feeling

A little space to begin again.

Illustrative layout, not a customer project. The image is a still preview of the selected Look.

An illustrative layout. Your content stays in HTML; the shader sets the atmosphere.

Try this surface in the editor

Before you ship.

What this surface does, where it fits, and where it stops.

All shaders

Make Petal Glass yours.

Open editor