Skip to content

Shape โ€‹

...

Browser support โ€‹

...

Parameters โ€‹

The CSS component uses a <div> tag.

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

NameTypeDescription
z-shapestring

The main parameter has two components following the pattern: <shape><?:flip> where:

  • shape: Value of the shape to display. Possible values are 1, 2, 3, 4, 5, 6, 7
  • flip: Optional parameter to flip the shape.

Playground โ€‹

Customization โ€‹

HTML Examples โ€‹

Imports
html
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/base.css" />
<link rel="stylesheet" href="/0.3.6/@zurich/css-components/Shape.css" />
Code
html
<div z-shape="3"></div>
<div z-shape="4"></div>
<div z-shape="5"></div>