Logo Liquid Glass Frontend

Liquid Glass Frontend

Cộng đồng
ngocanhnckh
liquid-glass-frontend

Use when building a beautiful, distinctive, awwwards-tier web frontend — landing pages, dashboards, web apps, marketing sites — that needs Apple-style liquid-glass surfaces, choreographed motion.dev animations, and creative editorial layouts instead of the generic SaaS look (icon-card rows, centered heroes, default fonts, uniform fade-ins). Covers creative direction and signature interactions, the frost/blur glass material, single-source color tokens with dark+light theming, scroll/stagger/parallax/scroll-scrubbed animation, type-as-hero typography, and asymmetric grid-breaking composition.

Add to TypingMind

Tổng quan

Nhà phát hànhngocanhnckh
Kho mãliquid-glass-frontend-skill
Tên kỹ năngliquid-glass-frontend
Sao
10
Bản fork
1
Tệp đi kèm
10
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 10 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ngocanhnckh công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Liquid Glass Frontend trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ngocanhnckh/liquid-glass-frontend-skill/tree/main
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ngocanhnckh/liquid-glass-frontend-skill.git \
  .claude/skills/liquid-glass-frontend
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Liquid Glass Frontend trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Liquid Glass Frontend ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Liquid Glass Frontend với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Liquid Glass Frontend

Build frontends people remember: real Apple-style frosted glass, motion that feels alive, layouts that break the grid on purpose, and a token system you re-skin in three numbers. This skill is the distilled, production-tested playbook behind a full enterprise app + landing site.

The bar is an Awwwards Site of the Day — not a template. Editorial confidence, a signature interaction, distinctive type, and intentional asymmetric composition. Never the generic SaaS vocabulary of three icon-cards in a row, a centered hero, default fonts, and uniform fade-ins. If what you're building looks like every other landing page, it's not done. references/creative-direction.md is the taste layer — read it.

Announce at start: "I'm using the liquid-glass-frontend skill to design this interface."

The non-negotiables

These are what separate a memorable interface from generic AI output. Hold all of them:

  1. Aim for awwwards-tier, not template-tier. Decide the ONE signature moment someone will screenshot, and over-invest there. Kill the generic component vocabulary (icon-card rows, centered hero, even spacing). See references/creative-direction.md.
  2. Commit to one bold aesthetic direction. Pick an extreme (warm editorial, refined minimal, retro-futuristic, brutalist, luxury) and execute it precisely. Timid middle-ground reads as slop.
  3. Typography is the design. Big, characterful, mixed — italic accents, variable-font axes, mono kickers, oversized numerals. No default fonts (Inter/Roboto/Arial/system-ui as the character face), no purple-on-white gradient. See references/typography-color.md.
  4. Break the grid deliberately, and vary the treatment. Asymmetric bands, overlap, layered depth, dramatic scale contrast, generous negative space. Not rows of equal cards — and not the inverse trap of making every section the same uniform linear list. Sibling items vary in size/proportion/density (bento, staggered cluster); adjacent sections contrast. Never repeat one uniform treatment. See references/layout-composition.md.
  5. Choreograph the motion. A signature interaction (masked text reveal, scroll-scrubbed motion, cursor-reactive aura, color chapters) + orchestrated page-load + scroll reveals — all sharing one easing signature. Not fade-in-up on everything. See references/motion.md and references/creative-direction.md.
  6. Liquid glass means real frost, not transparency. A see-through rgba() box is NOT glass. Glass = heavy backdrop-filter: blur() + saturate() + a specular top edge + a colored aura behind it so the frost has something to refract. See references/liquid-glass.md.
  7. One source of truth for color. The entire palette derives from three RGB triplets. Re-skinning is editing three lines. See references/theming.md.

Workflow

  1. Decide the aesthetic + the signature moment — tone, audience, and the ONE thing someone will screenshot. Write both down in a sentence before any code. (references/creative-direction.md)
  2. Lay the token foundation — drop in assets/globals.css, set the three brand triplets, pick characterful fonts. This makes everything else cohesive by default.
  3. Build the atmosphere first — background gradient mesh / blobs / grain. Glass needs something colorful behind it to read. A glass card on flat #fff is invisible.
  4. Compose editorially — asymmetric bands, type-as-hero, layered depth, dramatic scale contrast. Kill the icon-card-row instinct. (references/layout-composition.md + references/creative-direction.md)
  5. Skin surfaces in glass — .glass-surface for panels, .glass-inset for tiles-on-glass, .glass-menu for popovers, .glass-btn for buttons.
  6. Choreograph motion — build the signature interaction, then page-load stagger, then scroll reveals, then micro-interactions — all on one easing curve. references/motion.md has copy-paste variants.
  7. Add the light theme — the tokens already support it; verify glass still reads (light mode needs thinner, more saturated frost — see the gotcha below).
  8. Run the honesty check — would it place on awwwards, or does it look like every SaaS page? If the latter, push type/layout/motion harder. (references/creative-direction.md)

Tech baseline

  • Next.js (App Router) + React + TypeScript — but the CSS system is framework-agnostic; the glass utilities are plain CSS.
  • Tailwind CSS v4 — @theme for tokens, @utility/plain classes for the glass material. (v3 works too; put the utilities in a @layer.)
  • motion (motion/react, formerly framer-motion) — the animation engine. import { motion, useScroll, useTransform } from "motion/react".
  • Fonts via next/font/google (or @fontsource). Pick characterful — examples in references/typography-color.md.

The five glass utilities (what to reach for)

ClassUse forHas backdrop-filter?
.glass-surfaceLarge panels: sidebars, nav bars, hero cardsYes — heavy frost
.glass-surface-softFloating elevated panels needing more depthYes — heaviest
.glass-menuDropdowns / popovers over busy contentYes, but ~94% opaque so text stays readable
.glass-insetTiles, chips, list items inside a glass panelNo — see the #1 gotcha
.glass-inset-hoverHover state for tabs/buttons/menu itemsNo — sheen lift, not a color swap
.glass-btn (+--clay/--ink)ButtonsYes

Top gotchas (learned the hard way)

  • Never nest backdrop-filter inside backdrop-filter. It breaks compositing — the inner frost renders garbage or nothing. A glass panel frosts the background once; everything inside it uses .glass-inset (a translucent tint + top sheen, no filter of its own).
  • Glass is invisible without a colored backdrop. Put a gradient mesh / blob / aura behind glass surfaces. On a flat solid color there is nothing to refract and it looks like a plain semi-transparent box. The --aura token controls this.
  • Light mode needs the opposite tuning from instinct. White panels hide the frost. In light theme, use a thinner panel mix (~30% instead of 42%) and higher saturate() (210%+) so the pastel aura reads through. The provided CSS already does this — keep the override.
  • Popovers get trapped behind content. An ancestor with backdrop-filter creates a stacking context that traps z-index. Render dropdowns/modals at the shell root with position: fixed and a high z, not nested where they're declared.
  • Tailwind v4 @theme caches aggressively. After editing tokens, restart the dev server with a clean cache (rm -rf .next) — HMR won't always pick up @theme changes.

Reference files (load when you need depth)

  • references/creative-direction.md — read first. The awwwards-tier taste layer: the signature-moment rule, the generic-vocabulary kill list, type-as-hero, signature interaction patterns, the honesty check.
  • references/liquid-glass.md — the full material system, every utility explained, layering rules, the colored-aura technique.
  • references/motion.md — page-load orchestration, scroll reveals, stagger, parallax, animated gradients, the house easing curve.
  • references/theming.md — three-triplet palette, derived tokens, dark/light surface tokens, opacity composition.
  • references/typography-color.md — font pairing that isn't slop, choosing a palette, the "avoid generic AI aesthetics" rules.
  • references/layout-composition.md — asymmetric bands, overlap, grain, geometric line-art, spacing rhythm.

Drop-in assets

  • assets/globals.css — the complete stylesheet: brand tokens, glass utilities, theming, atmosphere. Copy it, set three triplets, go.
  • assets/examples/GlassCard.tsx — a frosted card with aura.
  • assets/examples/RevealSection.tsx — scroll-triggered staggered reveal.
  • assets/examples/HeroBand.tsx — asymmetric two-column hero with page-load orchestration + scroll parallax.

Remember: match implementation effort to the vision. Maximalist directions need elaborate motion and layered effects; refined-minimal directions need restraint and obsessive spacing. Elegance is executing a clear vision fully — not turning every knob to 11.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Liquid Glass Frontend làm được gì?

Use when building a beautiful, distinctive, awwwards-tier web frontend — landing pages, dashboards, web apps, marketing sites — that needs Apple-style liquid-glass surfaces, choreographed motion.dev animations, and creative editorial layouts instead of the generic SaaS look (icon-card rows, centered heroes, default fonts, uniform fade-ins). Covers creative direction and signature interactions, the frost/blur glass material, single-source color tokens with dark+light theming, scroll/stagger/parallax/scroll-scrubbed animation, type-as-hero typography, and asymmetric grid-breaking composition.

Vì sao nên dùng Liquid Glass Frontend trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Liquid Glass Frontend là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Liquid Glass Frontend trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ngocanhnckh/liquid-glass-frontend-skill/tree/main. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Liquid Glass Frontend?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Liquid Glass Frontend với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Liquid Glass Frontend với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Liquid Glass Frontend có miễn phí không?

Có. Kỹ năng này được ngocanhnckh phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇