Skip to content

Image stage - Web Component

The ImageStage component can be used imported from:

Playground

Parameters

...

Events

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

NamePayloadDescription

Slots

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

NameTagsDescription
defaultspanContent of the stage
headerspanHeader of the stage
actionsspanActions of the stage

Parameters use

content

The content attribute is inject the main quote or using the default slot:

Stage content

The header parameter is a string that defines the stage header or using the header slot.

Content goes here
Welcome to ZDS Content goes here

shape

Content goes here

Or using a slotted z-shape. No need to set the :flip, it's automatically handled.

Content goes here

config

The config parameter is a string that defines the stage configuration. You can configure the alignment and the padding of the stage content.

left

The left modifier is used to align the stage content to the left.

Content goes here
slim

The slim modifier is used to reduce the padding of the stage content.

Content goes here

Image

image-src

The image-src parameter is a string that defines the stage image source for the safe-space.

Content goes here

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.

Content goes here

We can also use the picture slot, even with GIF images:

Content goes here Content goes here

Actions

You can use the actions slot to add some extra interactive elements:

Lorem ipsum Click me

Flags

...

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example