E103
Error
Syntax and structure
E103 — A flag, case, part, event or slot the component does not have
What a component takes comes from one registry for the built-ins and from the declaration for your own; a word that resolves to nothing there does nothing on screen, so it is refused.
What the compiler said
error[E103]: Button has no flag or enum case `huge` --> src/App.wf:3:19 | 3 | Button("Save").huge | ^^^^^ = help: Its flags are .bounce, .button, .collapse, .danger, .disabled, .dropInside, .expand, .fadeIn, .fadeOut, .fast, .full, .info, .lg, .loading, .md, .normal, .outlined, .pill, .primary, .pulse, .reset, .rounded, .scaleIn, .scaleOut, .secondary, .shake, .slideDown, .slideLeft, .slideRight, .slideUp, .slow, .sm, .spin, .submit, .success, .trapFocus, .warning = docs: https://webfluent.monzeromer.dev/errors/E103
The fix
Broken
page P(path: "/", title: "T", description: "D") {
Heading("Save").h1
Button("Save").huge
}
Fixed
page P(path: "/", title: "T", description: "D") {
Heading("Save").h1
Button("Save").lg
}
Use one the message lists — it names every flag, case, event or slot the component takes.
Each example is a whole program: it is all of src/App.wf in a project with no other .wf file (trying an example).
lints cannot lower it: it would ship a broken page.