Components

Image

Displays a responsive image with alternative text.

tsx
import Image from '@precursor/image';

Example

Daniel
tsx
import Image from '@precursor/image';

export default function Example() {
    return <Image src="/precursor/docs/preview.jpg" alt="Daniel" />;
}

Props

Image props
PropTypeDefaultNotes
srcRequiredstring——
altstring——