Skip to content

USWDS - Feature: Support responsive images in Hero #5275

@mejiaj

Description

@mejiaj

Is your feature request related to a problem? Please describe.

Allow heroes to have multiple images set with the option of using responsive images.

Describe the solution you'd like

  1. Hero can have multiple images set
  2. Hero allows for a sm/lg/2x image

Describe alternatives you've considered

Using responsive inline images and CSS object-fit property.

Additional context

To override users currently have to set the theme setting and override manually with CSS.

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions