Modifiers

Modifier keywords follow the component label on the same line, separated by spaces.

button "Save" primary
button "Delete" disabled
input "Email" error
alert "Session expired" warning

Multiple modifiers can be combined:

button "Archive" primary disabled

Full reference

ModifierAccepted byVisual effect
primarybuttonFilled blue background, white label
disabledbutton, input, select, textareaReduced opacity, non-interactive appearance
activenav itemsHighlighted item with blue text and left border accent
errorinput, textarea, alertRed border or red background
warningalertAmber background
infoalertBlue background
horizontalsidebar, navbar, stackForces horizontal item layout
verticalsidebar, navForces vertical item layout (default for these)
centeredfooter, empty_stateCenters content horizontally
smallicon12px icon placeholder box
largeicon24px icon placeholder box

nav item modifiers

The nav component takes a comma-separated list of items. The active modifier applies to individual items, not to the nav component itself:

nav "Dashboard" active, "Users", "Settings"

Only one item should carry active at a time.

Modifier scope

Modifiers are parsed on the same line as the component declaration. They cannot appear on the following line.

button "Save"
primary          ← NOT valid — primary is on a new line
button "Save" primary   ← valid