zanwei GitHub avatar

liquid-connector-web-component

zanwei

Liquid Connector is a dependency-free Web Component that creates a liquid card-to-prompt interaction using pure SVG path math, without filters, masks, or canvas.

Stars

78

7-day growth

No data

Forks

2

Open issues

0

License

MIT

Last updated

2026-07-17

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It achieves a complex liquid animation solely through SVG path geometry, making it lightweight and performant while providing full accessibility and customization via CSS custom properties.

Who it is for

  • Web developers building custom UI components
  • Designers seeking fluid, card-to-prompt transitions
  • Product teams integrating interactive input widgets
  • Accessibility-focused developers requiring keyboard and reduced-motion support

Use cases

  • Chat interfaces with expandable input cards
  • Search bars that transform into prompt fields
  • Interactive onboarding or confirmation dialogs
  • Modern form inputs with fluid animations

Strengths

  • Zero runtime dependencies and pure SVG path math
  • Includes keyboard navigation, focus management, and prefers-reduced-motion
  • Exposes four CSS custom properties for easy theming
  • Deterministic animation step API for testing and tuning

Considerations

  • Browser-only; cannot be used with server-side rendering
  • Requires modern browser APIs (Custom Elements, Shadow DOM, SVG foreignObject, inert)
  • No legacy browser compatibility layer; targets current browsers only

README quick start

Installation

Description

SVG path-math liquid connector Web Component

Related repositories

Similar projects matched by category, topics, and programming language.

react
Featured
react GitHub avatar

react

React is a JavaScript library for building user interfaces with declarative, component-based, and cross-platform design.

Web DevelopmentFrontend Frameworks
246,741
tandpfun
Featured
tandpfun GitHub avatar

wardrobe

A GPT‑image powered app that extracts individual garment cutouts from photos, organizes them into a digital wardrobe, and generates modeled outfit previews.

JavaScript
1,570
mshumer
Featured
mshumer GitHub avatar

Claude-of-Duty

A browser-based first-person shooter built entirely with procedural generation and orchestrated AI agents, featuring 55k lines of Three.js/WebGL2 code and no art assets.

AI & Machine LearningAI Agents
1,234