Skip to content

BackgroundImage

GitHub

A versatile component that displays an image with various styles and sizes.

background image

Installation

npm
npx maiton-ui-cli add BackgroundImage

Props

The BackgroundImage component extends div, so you can pass all standard div props.

src

DescriptionThe src of the background image on the frame
Typestring
Defaultundefined

width

DescriptionThe width of the background image on the frame
Typestring
Default955px

height

DescriptionThe height of the background image on the frame
Typestring
Defaultfull

Done