Image
TheImage component displays external images with support for sizing presets, border radius, and object fit modes.
Usage
Props
Source URL of the image.
Alternative text for accessibility.
Size preset (
xs, sm, md, lg, xl) or numeric pixel value. Affects both width and height unless overridden.Specific width.
Specific height.
Border radius. Presets:
none, sm, md, lg, xl, full.Object fit mode:
cover, contain, fill.Removes border radius and margin, useful for card headers.

