Skip to content

Tile - Web Component

react_native

The Tile component can be used imported from:

				import { ZvTile } from '@zurich/web-components/vue/tile';
			

Playground

Loading...

Parameters

...

Events

This component has events. Check the documentation about how to use the events.

NamePayloadDescription

Parameters use

content

The content attribute is used to set the content of the article card or simply using the default slot.

The header attribute is used to set the header of the article card.

We can also use the header slot:

Image

image-src

The image-src parameter is used to define the image URL to be displayed inside article card.

You can also use the images from the Zurich media images. Make sure you specify correctly the name of the image you want to display.

We can also use the image slot:

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example