How to replace cross icon in close button with custom text

It would be great if the Close Button had the option for text rather than only the default X. For example it would be nice if we could use the text/word Dismiss or Close.

3 Likes

Hi @James_Cole welcome to community :clap:

This should be possible with this Custom CSS workaround.

[class*="close-button__CloseButtonContainer-sc"]::before{
  content: "CLOSE" !important;
  color: #000;
  font-size: 12px !important;
}
3 Likes

Thank you, Sina. :slight_smile:

2 Likes