If I use fontawesome in karax app, eamply:
tdiv(class = "control has-icons-left"):
input(required = "", `type` = "text",
class = "input",
placeholder = "uživatelské jméno"
):
proc onkeyup(event: Event; node: VNode) =
login = node.value
span(class = "icon is-small is-left"):
italic(class = "fa fa-envelope")
I use fontawesome on this forum (which uses Karax) and it works fine (for example here).
It's possible that something changed between fontawesome versions or karax versions. Do try removing your whole input(required = "", `type = "text", class = "input", placeholder = "uživatelské jméno" )` block though, you've got a bunch of things there that might be causing problems like the unicode placeholder and the type.
Otherwise you can also try using the fontawesome version that I'm using: https://github.com/nim-lang/nimforum/blob/5714ad0c6aafcd7b95a433d97f7b4069d5cc791b/public/karax.html#L12