Slosh Button
buttonProEin Button aus Milchglas mit echter Flachwasser-Physik im Inneren: Ziehen mit dem Mauszeiger, Hover und Klicks bringen das Wasser zum Schwappen und Spritzen, brechende Wellenkämme versprühen Tropfen, und die Simulation ruht, sobald alles still ist.
Pro kann noch nicht gekauft werden. Die Seite öffnet, sobald die Zahlung bereit ist.
Vorschau
Live-Demo. Das Theme schaltet die Demo selbst um.
Code
Der Code ist gesperrt
Slosh Button gehört zu Manniche UI Pro. Ein Schlüssel öffnet den Quellcode aller 60 Effekte.
Bald verfügbar49 € · Einführungspreis bis einschließlich 31. Dezember 2026. Danach 79 €.
- Einmalzahlung
- Ein Entwickler
- Der Schlüssel kommt sofort per E-Mail
- Keine Umsatzsteuer (§ 19 UStG)
Hast du einen Schlüssel? Hol den Code mit der CLI oder per MCP.
Der Schlüssel liegt in MANNICHE_PRO_KEY, nie im Code oder in der Adresse. So richtest du ihn ein
npx shadcn@latest add @manniche-pro/slosh-buttonclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
SloshButtonProps
| Prop | Typ | Standard | Was sie tut |
|---|---|---|---|
waterColor | string | 'var(--primary)' | Water colour. Any CSS colour, including var(--x). Defaults to the theme's --primary; re-read when the theme changes. |
fill | number | 0.3 | How full the glass is at rest, from 0.05 (a puddle) to 0.9 (nearly full). |
waterOpacity | number | 0.85 | Water opacity, from 0.2 to 1. |
tint | string | 'color-mix(in oklab, currentColor 6%, transparent)' | Glass tint: the fill behind the water. Any CSS colour or var(). Defaults to a faint wash of the text colour. |
frost | number | 0.5 | How frosted the glass looks, from 0 (clear) to 1 (milky). It adds a soft white sheen over the water. |
blur | number | 10 | Background blur behind the glass, in CSS pixels. 0 turns it off. |
borderColor | string | 'color-mix(in oklab, currentColor 18%, transparent)' | Border colour. Any CSS colour or var(). Defaults to a hairline of the text colour. |
borderWidth | number | 1 | Border width in CSS pixels. |
shadow | string | '0 10px 30px -12px color-mix(in oklab, currentColor 35%, transparent)' | Box shadow of the glass. Any CSS box-shadow value. |
pressScale | number | 0.97 | Scale while pressed, from 0.9 to 1. 1 turns the press feedback off. |
splash | number | 1 | How strongly the pointer and clicks disturb the water. 1 is natural, 0 makes it inert. |
spray | number | 1 | How readily crests tear off droplets. 0 turns the spray off, 1 is natural, 2 is stormy. |
viscosity | number | 0.4 | How quickly waves die down, from 0 (water that keeps sloshing) to 1 (syrup). |
meniscus | number | 3 | Height in px of the little climb the water makes against the glass walls. 0 gives a flat edge. |
ref | Ref<HTMLButtonElement> | – | Ref to the real <button>. |
Nimmt auch alle Props von Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'>.
A11y
Noch keine Hinweise zur Barrierefreiheit.
Die Hinweise kommen mit dem Quellcode, wenn Pro öffnet.