Skip to content
tcpsystemsui

Theme

Colour scheme
Accent
Density
Radius
Esc

Image

A sized image with required dimensions, lazy loading, and an optional fallback when src is empty.

beta

API

Import
import Image from '@tcpsystems/ui/foundation/Image';
PropTypeDefault
srcstringnone
altstringnone
widthnumbernone
heightnumbernone
loading?'lazy' | 'eager''lazy'
Snippet
fallback
HookKind
.tcp-imageRoot class