Skip to content

helix / Swizzle

Type Alias: Swizzle

Swizzle = "x" | "y" | "z" | "xy" | "xz" | "yz" | "xyz"

Defined in: core/values/enums.ts:103

swizzle - an axis combo for align/positioned. The canonical-order subsets of {x, y, z}; the union gives autocomplete and rejects typos ("xzy", "abc") at compile time. Reorderings ("yx") are intentionally excluded - write the axes low-to-high.

Released under the MIT License · Credits