Skip to content

SmilingZ - Web Component โ€‹

The SmilingZ component can be used imported from:

Playground โ€‹

Parameters โ€‹

The Web component uses the <z-smiling-z> tag:

By default, all the parameters are optional or can be set in different, except for the ones marked as required

The parametrization of the component can be done with the following custom HTML params:

NameTypeDescriptionSlotA11y

Parameters use โ€‹

The z-smiling-z does not have any parameters. The default color depends on the theme.

Both the color and the size of the z-smiling-z can be customized using the --z-smiling-z--fill and --z-smiling-z--size CSS custom properties respectively.

Browser support โ€‹

Detected engine: ย 

  • Chromium

  • Webkit

  • Gecko

HTML Examples โ€‹

CodeSandbox example โ€‹