Setting Headings
Overview
Headings are visual separators that help organize settings into logical groups in the Fig web UI. They provide visual separation with customizable text labels, indentation, and colors to make settings easier to navigate and understand.
Automatic Headings (Recommended)
Fig automatically creates headings based on your [Category] attributes. This is the recommended approach as it requires no additional configuration and keeps your code clean. Manual heading attributes are only needed for special cases.

Headings shown above settings

Headings when settings are collapsed
Automatic Heading Creation
By default, Fig automatically generates headings based on the [Category] attribute on your settings. This is the easiest and most maintainable way to organize your settings.
Basic Automatic Headings
public class ApplicationSettings : SettingsBase
{
[Category("Application Configuration")]
[Setting("Application Name")]
public string AppName { get; set; } = "MyApp";
[Category("Application Configuration")]
[Setting("Version")]
public string Version { get; set; } = "1.0.0";
[Category("Database Settings", "#0066CC")]
[Setting("Connection String")]
public string ConnectionString { get; set; } = "";
[Category("Database Settings", "#0066CC")]
[Setting("Timeout")]
public int Timeout { get; set; } = 30;
}
This will automatically create:
- An "Application Configuration" heading above
AppName - A blue "Database Settings" heading above
ConnectionString