Previews

No matching results.

x
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<div style="display: flex; align-items: flex-start; gap: 2rem;">
<div style="width: 120px;">
<div class="midwest-device-frame device-iphone orientation-portrait color-black has-shadow is-responsive">
<div class="midwest-device-frame-body">
<div class="midwest-device-frame-screen">
<img src="https://picsum.photos/seed/mw-r1/600/1300" alt="" class="midwest-device-frame-image" loading="lazy">
<span class="midwest-device-frame-island" aria-hidden="true"></span>
<span class="midwest-device-frame-home-indicator" aria-hidden="true"></span>
</div>
<span class="midwest-device-frame-btn btn-silence" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-volume-up" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-volume-down" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-power" aria-hidden="true"></span>
</div>
</div>
</div>
<div style="width: 200px;">
<div class="midwest-device-frame device-iphone orientation-portrait color-black has-shadow is-responsive">
<div class="midwest-device-frame-body">
<div class="midwest-device-frame-screen">
<img src="https://picsum.photos/seed/mw-r2/600/1300" alt="" class="midwest-device-frame-image" loading="lazy">
<span class="midwest-device-frame-island" aria-hidden="true"></span>
<span class="midwest-device-frame-home-indicator" aria-hidden="true"></span>
</div>
<span class="midwest-device-frame-btn btn-silence" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-volume-up" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-volume-down" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-power" aria-hidden="true"></span>
</div>
</div>
</div>
<div style="flex: 1; max-width: 320px;">
<div class="midwest-device-frame device-iphone orientation-portrait color-black has-shadow is-responsive">
<div class="midwest-device-frame-body">
<div class="midwest-device-frame-screen">
<img src="https://picsum.photos/seed/mw-r3/600/1300" alt="" class="midwest-device-frame-image" loading="lazy">
<span class="midwest-device-frame-island" aria-hidden="true"></span>
<span class="midwest-device-frame-home-indicator" aria-hidden="true"></span>
</div>
<span class="midwest-device-frame-btn btn-silence" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-volume-up" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-volume-down" aria-hidden="true"></span>
<span class="midwest-device-frame-btn btn-power" aria-hidden="true"></span>
</div>
</div>
</div>
</div>
1
2
3
4
5
6
7
8
9
10
11
<div style="display: flex; align-items: flex-start; gap: 2rem;">
<div style="width: 120px;">
<%= midwest_device_frame(device: :iphone, responsive: true, src: "https://picsum.photos/seed/mw-r1/600/1300") %>
</div>
<div style="width: 200px;">
<%= midwest_device_frame(device: :iphone, responsive: true, src: "https://picsum.photos/seed/mw-r2/600/1300") %>
</div>
<div style="flex: 1; max-width: 320px;">
<%= midwest_device_frame(device: :iphone, responsive: true, src: "https://picsum.photos/seed/mw-r3/600/1300") %>
</div>
</div>

No assets to display.
Add a .js or .css file alongside the component to see it here.

Accessibility

Figma embed for Device Frame/responsive

Annotate a preview to embed its Figma design here:

@figma "https://figma.com/..."