Skip to content

Figure - CSS Component

The Figure component can be used imported from:

Playground

Construction

The CSS component uses a <figure> tag with the z-figure HTML custom attribute.

z-figure

The z-figure parameter is the main parameter used to render the modal component. Make sure you use the <figcaption> tag to set the caption of the figure.

Image
Content of the figure

Browser support

Detected engine:  

  • Chromium

  • Webkit

  • Gecko

HTML Examples

CodeSandbox example