@theredhead — Frontend Library - v1.0.0
    Preparing search index...

    Full-width media block for use inside a card body.

    The image fills the available body width and uses object-fit: cover within its aspect-ratio box.

    <ui-card-body>
    <ui-card-image src="/hero.jpg" alt="Mountain lake" />
    <p>Supporting card content.</p>
    </ui-card-body>
    Index

    Constructors

    Properties

    Constructors

    Properties

    alt: InputSignal<string> = ...

    Alt text forwarded to the native image element.

    ariaLabel: InputSignal<string | undefined> = ...

    Accessible label forwarded to the native image element when needed.

    aspectRatio: InputSignal<string> = ...

    Aspect ratio used to size the image block.

    src: InputSignal<string> = ...

    Image source URL.