Currently, KaTeX lengths (as in \hskip and \hspace, via #974) are equivalent to kerns, i.e., they don't allow growth via plus or shrinkage via minus.
Supporting fil/fill/filll units in plus at least should be possible using Flexbox. This alone would be pretty useful, enabling implementation of \hfil/\hfill (#164).