src
type
stringlabel?
type
stringoptional
size?
Sets both the width and height of the svg. Overridden by the width and height props.
type
stringoptional
width?
Sets the width of the svg. Overrides size.
type
stringoptional
height?
Sets the height of the svg. Overrides size.
type
stringoptional
svg_attrs?
type
SvelteHTMLElements['svg']optional
img_attrs?
type
SvelteHTMLElements['img']optional
attrs?
Shared attributes for both img and svg.
type
Pick<SvelteHTMLElements['div'], 'class' | 'style'>optional