Svg.svelte

Declarations
#

view source

Svg
#

Svg.svelte view source

data

type SvgData

fill?

Overrides data.fill.

type string | null
optional

size?

Sets both the width and height of the svg. Overridden by the width and height props.

type string
optional

width?

Sets the width of the svg. Overrides size.

type string
optional

height?

Sets the height of the svg. Overrides size.

type string
optional

label?

type string
optional

inline?

Renders the SVG as an inline block with spacing appropriate for text. Defaults to false.

type boolean
optional

shrink?

type boolean
optional

attrs?

type SvelteHTMLElements['svg']
optional

Imported by
#