Libraries

s&box libraries

goo

xaz.goo

a c# ui library for s&box. build hud and menu panels in pure c#, no .razor required.

About

goo

goo is a full-featured s&box UI framework in C#. structure, style, and behavior in one language.

think about it like this: if markup and stylesheets did the whole job, there'd be no JavaScript. goo exists to consolidate layout, behavior, and styling into one language with a simplified syntax.
what's in it?

blobs: 10 blob types Container, Text, Image, Sector, Arc, Polygon, ScenePanel, SvgPanel, WebPanel, TextEntry
reconciliation: diffs your UI tree against the last UI tree, applies minimum changes
styles: init-only properties on blobs matching the engine's api
animations: dampers, tweening, easing, timeline, animator
drag and drop: built in code just for you
style tokens: Goo.Tokens for reusable values
shapes: static factories for composite shapes like rings and discs
panel transform: transform, translate, rotate, scale
cells: stateful layout nodes
zero-alloc: children are pooled, 0-byte animation updates, describes a fresh tree each time

can you read good? here are the docs:

csharpgooguilibraryrazorsucksui

More by xazware

01
Razor Designer thumbnail
Razor Designer xaz.razordesigner

Drag and Drop UI editor for Razor

designdesignereditorgrainsrazor
+0 24h
14favorites
15upvotes
80%Wilson score
02
Hit Shapes thumbnail
Hit Shapes xaz.hit_shapes

non-rectangular UI regions in s&box

csscustomhithitboxrazor
+0 24h
1favorites
1upvotes
21%Wilson score