Image

Display image content.

General

The basic Image usage.

Preview
See code

Skeleton

Image will show skeleton animation after width and height props are set.

Preview
See code

Browser

Add a browser style wrapper to the image.

Preview
See code

Browser Invert

You can apply a color invert with the invert prop.

Preview
See code

Compose

Show Image in Display component.

Preview
See code

Reduce the possibility of page rendering by setting height

SVG

Render svg strings directly

Preview
See code

APIs

Image.Props

AttributeDescriptionTypeAccepted valuesDefault
srcimage srcstring--
disableSkeletondisable skeleton animation when loadingboolean-false
disableAutoResizedisable zooming when width is too smallboolean-false
maxDelay(ms)max duration of animationnumber-3000
...native propsImgHTMLAttributes'alt', 'className', ...-

Image.Browser.Props

AttributeDescriptionTypeAccepted valuesDefault
titleshow text title (when "url" is unset)string--
urlshow url on browser address inputstring--
showFullLinkshow full urlboolean-false
invertinvert colorsboolean-false
anchorPropsprops of element aAnchorHTMLAttributes-{}
...native propsHTMLAttributes'id', 'className', ...-
Edit this page on GitHub

Previous

Icons

Next

Input

MADE & DESIGNED WITHBY BRUNO ANDRADE
docs background gradient blue
docs background gradient violet