⌘K

Icon SunFilledIcon MoonStars
Style Guide

Icon LinkStyle Guide

Icon LinkCapitalization

In Sway, structs, traits, and enums are CapitalCase. Modules, variables, and functions are snake_case, constants are SCREAMING_SNAKE_CASE. The compiler will warn you if your capitalization is ever unidiomatic.