The Image
component renders an img
element with basic styling to stop it from overflowing its parent element or expanding beyond its natural size and distorting.
<Imagesrc="https://atomlearning.co.uk/images/key-img.png"alt="An Atom Learning user riding a pencil rocket"/>
API Reference
Prop | Type | Default | Required |
---|---|---|---|
fluid | boolean | - | - |
as | JSX.IntrinsicElements | - | - |
css | CSSProperties | - | - |