Logo van Glassmorphism

Glassmorphism

Community
pedronauck
glassmorphism

Maak of verfijn glass UI met toegankelijke, effen alternatieven. Geschikt voor matglasoppervlakken en Liquid Glass; niet voor andere UI of 3D-glasweergave.

Overzicht

Uitgeverpedronauck
Repositoryskills
Skillnaamglassmorphism
Sterren
635
Forks
89
Meegeleverde bestanden
11
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 11

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door pedronauck op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Glassmorphism in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/pedronauck/skills/tree/main/skills/mine/glassmorphism
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pedronauck/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/mine/glassmorphism .claude/skills/glassmorphism
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Glassmorphism in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Glassmorphism automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Glassmorphism niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Glassmorphism

Build a material whose translucency reads as a lit pane of glass while text stays legible and controls stay usable. Premium glass comes from a backdrop that carries light, a thin light fill, one locked light direction expressed through rim, highlight and shadow, and a stabilized plate under dense content. It never comes from raising blur or opacity.

Establish the material's job

Read the brief and the existing interface for platform, surface roles, reading density, who owns the backdrop, themes, and target devices. Preserve the project's components, typography, tokens and interaction conventions. Infer routine choices; this skill adds no approval step or planning artifact.

Separate three layers before styling: environment behind the interface, content people read or manipulate, chrome that navigates or controls it. Glass needs a reason to reveal the environment. Over flat color the blur has nothing to sample and the surface becomes a gray box; use a tinted solid there, or compose a backdrop with a luminance ramp when the brief allows one.

SurfaceStarting decisionChange it when
Floating toolbar, dock, tab bar, compact media or map controlGlass capsule; icons on the material, selected state as a denser chipUncontrolled imagery or device cost defeats legibility
Glanceable widget (weather, metric, now playing)Glass card with large light numerals and short labels; ink chosen by backdrop luminanceCopy grows past a few short lines: add a plate or go solid
Popover, sheet, command palette, settings panelGlass shell with a stabilized plate under fields, rows and codeSustained reading: solid panel
Table, editor, long text, chart labels, formsSolid reading plane; optional glass around itOnly after measuring the composite behind the text
Primary action, errors, important statusStable foreground/background pairing and recognizable statesA native platform control already supplies verified material
Blocking modal backdropDimming scrimA measured, purposeful effect justifies more rendering

Load only the branch needed

Resolve paths from this skill directory. References are self-contained; the research vault is optional.

NeedRead
Name the target look, judge a result, pick tokens, fix flat/muddy/plastic glass, author in FigmaArt direction and materials; the quality bar is the reference board
Implement web glass, integrate with Tailwind/React/shadcn, diagnose missing blur, clipping, stackingWeb engineering; adapt glass.css
Put text or controls on glass, accept arbitrary backdrops, measure contrast, honor preferencesAccessibility and validation
Add lens refraction, chromatic fringe, morphing, or target native Liquid Glass, visionOS, Fluent, Material, ExpoAdvanced effects and platforms, only the matching section
Trace a rule to its source or extend the skillEvidence and provenance; the coverage catalog is bookkeeping, not runtime reading

material-lab.html with its stylesheet is a runnable reference: seven backdrops including a stress board, three thickness presets, light angle, fill and blur multipliers, refraction, grain, solid mode, a live contrast estimate and a token readout. It demonstrates the material; adapt it into the target stack rather than copying the page.

Implement a coherent material

  1. Compose the backdrop and the ink. Photos, wallpapers and gradients with a luminance ramp make glass; keep exposed environment around every surface. Choose the ink by the luminance behind the surface, and measure: white ink on a thin light tint only over dark scenes (relative luminance below ~.1); white ink on a smoked neutral tint (--glass-tint: 56 50 58 at .66) over mid and pastel scenes; dark ink on white frost (.62) over pale and near-white scenes (above ~.6). White on a light tint over a pastel photo renders below 2:1; the lab switches modes per backdrop and shows the estimate. Apple's material makes this switch automatically; on the web you decide it per scene.
  2. Lock one light direction and express it five ways. --glass-light drives the 1px rim gradient (bright on the lit edge, dim opposite), the 1px inset highlight and its shadowed twin, the sheen falloff, and the elevation shadow. Highlights on every edge, or a broad white wash, read as plastic.
  3. Tune thin, then thicken only where reading needs it. Start from the presets (clear .07/6px, regular .16/14px, frosted .34/26px with saturate(1.4–1.7) brightness(1.05)), then add a .glass-plate under dense text instead of raising the whole surface's alpha. Capsules for controls, 24–30px radii for cards, concentric inner radii.
  4. Protect content and interaction. Filter the surface, never the label subtree; keep rim and sheen pseudo-elements non-interactive; change fill alpha, not element opacity. States are structural: hover raises fill and rim, press compresses shadow, disabled loses rim and sheen, focus is a crisp ring above the stack. Preserve native semantics, hit targets and dismissal.
  5. Ship the solid twin first. Declare the opaque fill/ink pair, then enhance inside @supports. Provide an application-level solid mode; honor reduced transparency, forced colors, reduced motion and print explicitly.
  6. Add refraction only where the bend reads as thickness. Small controls (buttons, knobs, pills) can use a geometry-derived displacement map through backdrop-filter: url(); it renders only in Chromium and must degrade to frost. Cards stay frosted.

Keep the number, area and overlap of live backdrop filters low: one to three glass surfaces per view, the navigation layer counting as one, at most one transient sheet above it. Glass is the chrome layer, not the content layer; never put glass on glass (use tinted plates inside a shell), never animate blur, never filter the full viewport by default. Do not mix Apple's regular and clear tiers on one screen; larger surfaces read thicker than small controls.

Validate the requested result

Run the actual interface with the project's checks and inspect representative states in a browser or native simulator. Scope to what changed: a CSS-only material change needs UI checks, not a new suite that freezes styling.

  • Visual: the material is recognizable at intended size; rim, highlight and shadow agree on one light direction; hierarchy survives light/dark and quiet/busy backdrops, including a hotspot and a high-contrast shape behind text; nothing collapses into full-screen blur on mobile.
  • Functional: keyboard focus and pointer work on every control; menus, loading, error and disabled states stay understandable; decoration does not intercept input or clip focus.
  • Accessible: measure ink against the rendered composite behind the letters (hide the text, sample the region, take the worst percentile), on the worst permitted backdrop. In the lab the adapted modes measure 5.7:1 to 15:1 at the median for titles and 4.8:1 to 9.9:1 for secondary text; white ink on a light tint over the same pastel photo measured 1.7:1, which is why the mode switches. Verify solid, forced-colors, reduced-motion and 320px reflow states.
  • Rendering: exercise real scroll, resize, overlays and motion on target engines; compare with filters disabled when cost is uncertain. Feature detection proves syntax, not fidelity.

Fix failures in the owning layer: add a plate or change ink for contrast, remove filtered area for cost, repair ancestor compositing for missing blur. Do not add blur, z-index or translateZ(0) as a fix.

Deliver the artifact, state the checks performed, and disclose untested engines, devices and experimental effects. The research supports design and engineering guidance, not measured usability gains.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Glassmorphism?

Maak of verfijn glass UI met toegankelijke, effen alternatieven. Geschikt voor matglasoppervlakken en Liquid Glass; niet voor andere UI of 3D-glasweergave.

Waarom Glassmorphism gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Glassmorphism bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Glassmorphism in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/pedronauck/skills/tree/main/skills/mine/glassmorphism. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Glassmorphism gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Glassmorphism gebruiken?

Zoveel als je wilt. Je kunt Glassmorphism gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Glassmorphism gratis?

Deze skill is door pedronauck op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇