Primary focus: gif source + frame sizing.
The YAML below is the exact full frontmatter used by this page. Copy it to reproduce the same result.
---
layout: home
hero:
name: "Image Type"
text: "GIF"
tagline: "GIF uses the same frame contract and media fit controls."
image:
type: gif
gif:
src: "https://media.giphy.com/media/13HgwGsXF0aiGY/giphy.gif"
autoplay: true
loop: true
fit: cover
frame:
shape: rounded
width: 360px
height: 280px
radius: 24px
actions:
- theme: brand
text: "Video Frame"
link: /en-US/hero/matrix/imageTypes/videoFrame
---| Key | All Config |
|---|---|
hero.image.type + subtype object | |
hero.image.width/height/fit/position | |
hero.image.background.enabled | |
hero.image.frame.* |
This page focuses on media rendering modes and frame shaping for hero visual slot.
Primary contract area: hero media slot (hero.image).
| Topic | Guidance |
|---|---|
| Type switch | type: image|video|gif|model3d |
| Subtype payload | match payload key with selected type |
| Framing | hero.image.frame controls shape, border, shadow, clip-path |