Image
Renders an image.
Usage
Code
import { createSystem } from 'frog/ui'
 
const { Image } = createSystem()
 
function Example() {
  return <Image src="/frog.png" />
}Image Properties
borderRadius
Sets the border radius of the image.
Also, works with border{Bottom|Top}{Bottom|Left|Right|Top}Radius.
Code
<Image
  borderRadius="012346810121416182022242628303234363840424446485256606472809612816019222425648"
  src="/frog.png"
/>
 height
Sets the height of the image.
Code
<Image
  height="100%012346810121416182022242628303234363840424446485256606472809612816019222425648"
  src="/frog.png"
/>
 objectFit
Sets the object fit of the image.
Code
<Image
  height="96"
  objectFit="nonecontaincovercover"
  src="/frog.png"
  width="48"
/>
 src
The URL of the image to display.
Code
<Image
  src="/frog.png"
/>
 width
Sets the width of the image.
Code
<Image
  width="100%012346810121416182022242628303234363840424446485256606472809612816019222425648"
  src="/frog.png"
/>