Skip to content

SmilingZ - Web Component

The SmilingZ component can be used imported from:

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.

Playground

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example