Show properties
id
id (string): Unique id for a component
src
src (string): Source URL or Path of the image
alt
alt (string): Alternative text for the image
width
width (integer | string): Width of the image
height
height (integer | string): Height of the image
import zero_true as zt sample_image = zt.Image( id = 'sample_image', # Unique id for a component src = '', # Source URL or Path of the image alt = '', # Alternative text for the image width = '100%', # Width of the image height = '100%', # Height of the image )