<uimc-hero-block
headline="Title"
>
<img src="/ui-marcom" alt="" />
</uimc-hero-block>
Attribute | Description | Values | Default |
---|
headline | Text of the big headline | String | – |
subheadline | Text of the sub headline | String | – |
introduction-text | Text below the Hero Block | String | – |
theme | Optionally choose white background color | dark , light | dark |
Slot | Slotted content |
---|
default | The slot is solely intended for an <img> |
Standard hero block
<uimc-hero-block
headline="A Hero Block"
subheadline="Introducing a page with a hero image"
introduction-text="Lorem ipsum, dolor sit amet consectetur adipisicing elit. Et quae eum laboriosam animi modi repellat maiores debitis, necessitatibus deleniti at veniam perferendis ratione a distinctio nisi laborum voluptatem."
>
<img src="/ui-marcom/assets/img/keyvisuals/keyvisual_ld.jpg" alt="" />
</uimc-hero-block>
White hero block
<uimc-hero-block
headline="A Hero Block"
subheadline="Introducing a page with a hero image"
introduction-text="Lorem ipsum, dolor sit amet consectetur adipisicing elit. Et quae eum laboriosam animi modi repellat maiores debitis, necessitatibus deleniti at veniam perferendis ratione a distinctio nisi laborum voluptatem."
theme="light"
>
<img src="/ui-marcom/assets/img/aspect-ratios/di_ct_hero-image-04947279_7.jpg" alt="" />
</uimc-hero-block>