Skip to content

Glass App Template

A complete liquid-glass product page for a calendar app, where every glass surface shares one tint that adapts to the section under the nav as you scroll.

Canvas 2D0 deps1 file · 42 KB TSXreduced-motion aware

ProGlassmorphismglassneon
Preview

Props

Adaptive tint
1

The source is part of Pro

$27/month or $179 once. See Pro

No runtime dependencies
"use client";

import { useEffect, useId, useRef, useState } from "react";
import type { CSSProperties, FormEvent, MouseEvent as ReactMouseEvent, ReactNode } from "react";

/**
 * GlassAppTemplate — a complete product page in liquid glass, for a calendar
 * app, assembled from the glass kit's pieces on ONE adaptive tint token.
 *
 * Every glass surface on the page (the floating nav, the app window in the
 * hero, the notification, the feature tiles, the call-to-action panel and
 * the footer) mixes in a single colour, --aster-tint. That colour is not
 * fixed: as you scroll, the page reads which section is passing under the
 * nav and hands its colour to the token, so the whole set of glass re-tints
 * together (warm over the sunset hero, cool over the lagoon features, violet
 * over pricing, gold over the citrus close), the way Apple's glass adapts to
 * what sits behind it. Turn `adaptive` off and the token holds your accent
 * instead. A light also follows the pointer across every surface's rim.

  // ---------------------------------------------------------------
  // Full source available with a viberdy Pro subscription.
  // https://viberdy.dev/pricing
  // ---------------------------------------------------------------
}
Details

About this page template

A kit proves itself when its pieces make one page, so this is that page: a product landing page for a calendar app, built entirely from the glass kit. A floating glass nav, a hero whose app window shows a real week of hatched focus blocks, a notification card, a bento of feature tiles, pricing with a short FAQ, a sign-up panel and a footer slab whose links reach every section. What ties it together is one token. Every surface mixes in the same tint, and the page hands that tint to whichever section is passing under the nav, so as you scroll the whole set of glass re-tints together: warm over the sunset hero, cool over the lagoon features, violet over pricing, gold over the citrus close. Every surface is as thick as it is big, a light follows the pointer across each rim, and in Chromium each one bends the crisp folds and rings behind it. It scrolls inside its own container, reflows from phone to desktop with container queries, and needs no images.

Curator’s note

Part of the Glassmorphism kit, drop 3: the page the kit was built for. Pro because it is a full page template assembled from the kit, with a shared adaptive tint system and a lens on every major surface.

Pairs well with

Pro

Aurora Site

templates
Featured
Pro