More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    Liquid Glass Buttons

    2

    This skill tells your agent how to make those cool fancy solid glass buttons that refract whatever's below it.

    Free

    11 uses5.0 (1 review)
    Liquid Glass Buttons

    Liquid Glass Buttons

    Example session with this skill installed

    Create a React component for a liquid glass button with the 'rim' effect for a pricing page.

    • Read your context and instructions
    • Compiled the liquid glass buttons
    • Generated the UI component

    I have generated the LiquidGlassButton component configured for the rim effect, including the necessary arc-length parameterization and specular orbit logic.

    Liquid Glass Pricing CTA

    // Usage: <LiquidGlassButton effect="rim" size="lg">Upgrade Plan</LiquidGlassButton>
    
    import React from 'react';
    import { LiquidGlassButton } from './LiquidGlassButton';
    import { GlassLensDefs } from './GlassLensDefs';
    
    export default function PricingSection() {
      return (
        <div className="bg-[#050505] p-20 flex justify-center">
          {/* Required for refractive optics */}
          <GlassLensDefs />
          
          <LiquidGlassButton 
            effect="rim" 
            size="lg" 
            shape="pill"
            onClick={() => console.log('Checkout')}
          >
            Get Professional Access
          </LiquidGlassButton>
        </div>
      );
    }
    

    Next steps

    1. Ensure GlassLensDefs.tsx is mounted at your application's root to enable the cd-lens-default SVG filter.
    2. Add the .glass-chassis-primary and .cd-lens-glass styles to your global CSS file.
    3. Use the effect="rim" prop specifically for primary CTAs to maintain high text legibility while keeping the spectral orbit.

    GlassLensDefs.tsx

    TSX · React component

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    The problem

    Standard "glassmorphism" buttons rely on simple blurs and white gradients, resulting in a milky, plastic appearance. They lack the physical weight and optical accuracy of high-end refractive glass interfaces.

    What it does

    • Generates clear refractive optical glass using SVG feDisplacementMap filters that physically bend background light.
    • Implements a 4-way anisotropic inset specular bevel system for realistic machined-edge lighting.
    • Runs a self-sleeping Canvas 2D liquid-light engine with value-noise fBm and wave packets.
    • Features two distinct lighting modes: 'iridescent' molten ribbons and 'rim' orbiting specular highlights.
    • Includes pointer gravitational lag and antipode easing to prevent highlight snapping.

    Frameworks & tools

    React, Next.js, Tailwind CSS, SVG Filters, and HTML5 Canvas 2D API.

    Why this beats prompting it yourself

    Prompting often yields generic CSS glass effects that ignore the complex physics of refraction and fluid simulation. This skill provides the precise mathematical constants for incommensurate shear and arc-length parameterization required to prevent visual artifacts like "pearl beading" or canvas clipping.

    Use cases

    • Building high-fidelity cyberpunk or futuristic UI components.
    • Creating luxury call-to-action buttons that respond to cursor movement with fluid physics.
    • Implementing high-performance animated UI elements that consume zero GPU cycles when idle.

    Known limitations

    Requires SVG filter support for full refractive effects. Canvas sizing must be handled via JavaScript to avoid padding-box resolution bugs inherent to CSS.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Branding & Design.

    Requires mounting a global SVG filter definition in the DOM root. Canvas sizing must be managed via ResizeObserver to prevent border-box alignment issues.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    5.0
    1 review
    5
    1
    4
    0
    3
    0
    2
    0
    1
    0

    This skill has been used 11 times.

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Permissions

    No special permissions declared or detected

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    While standard CSS glass looks like plastic, this skill uses advanced SVG displacement maps and fluid physics to create true optical refraction and liquid-light animations that react to user interaction.

    This skill is designed for developers working within React and Next.js environments who want to integrate high-fidelity UI components using Tailwind CSS and the HTML5 Canvas API.

    You will receive the complete logic for the liquid-light engine, the SVG filter configurations for refraction, and the implementation details for the anisotropic specular bevel system.

    The liquid-light engine features a self-sleeping mechanism that halts all calculations when the animation is not in view or active, ensuring zero GPU/CPU drain when idle.

    Yes, the skill includes logic for pointer gravitational lag and antipode easing, which allows the light highlights to follow the cursor with a natural, fluid weight rather than snapping instantly.

    To ensure the refraction and liquid effects render perfectly, your project must support SVG filters and JavaScript-based canvas sizing to avoid common CSS resolution bugs.

    New in Branding & Design

    Free