What about Small Caps?

Elements supports

  • Uppercase
  • Lowercase
  • Capitalize

why not also Small Caps ?

No big deal, because you can use the class [font-variant-caps:small-caps] but for the sake of completeness?

Small Caps are very nice for headlines.

Great suggestion, we should probably include that. I’ll add it to the list!

Good news. This should be in the next release!

Very good :+1:

Added with version 1.6.0

Thanks

Now I finally know what Small Caps are. ^^

But I also noticed that a new option called Whitespace has been added to the Text component.

Can someone briefly explain what the different options do?

white-space: normal

  • Collapses multiple spaces into one.
  • Collapses newlines.
  • Allows wrapping.
  • This is the default browser behavior.

white-space: nowrap

  • Collapses spaces.
  • Collapses newlines.
  • Prevents wrapping (text stays on one line).

white-space: pre

  • Preserves spaces exactly as typed.
  • Preserves newlines.
  • Does not wrap (long lines overflow).
  • Behaves like the tag.

white-space: pre-wrap

  • Preserves spaces.
  • Preserves newlines.
  • Allows wrapping.
  • Useful when you want formatting preserved but still fit container width.

white-space: pre-line

  • Collapses spaces.
  • Preserves newlines.
  • Allows wrapping.
  • Good when line breaks matter but extra spacing should not.

white-space: break-spaces

  • Preserves spaces.
  • Preserves newlines.
  • Allows wrapping.
  • Spaces can cause line breaks (they become wrap opportunities).
  • Trailing spaces are kept and do not collapse.
  • Useful for chat UIs or copy/paste content where exact spacing matters.

Thanks for that, @doobox.

Interesting feature… I could actually see myself needing this from time to time.

this the most useful in my opinion

Ideal for buttons etc.

of course!

z

Hi @ben

could you please add Small Caps into Typography Settings?

And strikethrough.

adding it to the Typography is a bit more work as that’s in the Theme Studio, but definitely something we could do. I’ll add this to our Typography updates ticket :slight_smile: