---
title: "Ferro Toggle"
description: "A dark mode switch drawn as ferrofluid in WebGL 2, shipped as a single 64 KB HTML file with no libraries, no build step and nothing loaded externally."
canonical: "https://vibing.inc/library/ferro-toggle-vg-2759"
category: "Backgrounds, Effects & CSS Oddities"
subcategory: "Animated components"
license: "MIT"
author: "@argofowl"
source: "https://argofowl.github.io/ferro-toggle/"
---

# Ferro Toggle
A dark mode switch drawn as ferrofluid in WebGL 2, shipped as a single 64 KB HTML file with no libraries, no build step and nothing loaded externally.
## Facts
- Source: https://argofowl.github.io/ferro-toggle/
- Category: Backgrounds, Effects & CSS Oddities / Animated components
- Author: @argofowl
- Licence: MIT
- Tags: webgl, toggle, ferrofluid, dark-mode, single-file
## Why it's a gem
A toggle with real physical liquid feel you can read end to end in one file.
---
Listed in The Vibeary: https://vibing.inc/library/ferro-toggle-vg-2759 · JSON: https://vibing.inc/api/public/library/gems/ferro-toggle-vg-2759