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
<div class="midwest-social-preview-card midwest-social-preview-instagram"> <div class="midwest-social-preview-header"><span class="midwest-social-preview-wordmark">Instagram</span></div> <div class="midwest-social-preview-profile"> <div class="midwest-social-preview-profile-left"> <div class="midwest-social-preview-avatar"> <img src="https://i.pravatar.cc/100?u=jane" alt="janesmith"> </div> <div class="midwest-social-preview-name"> <h1>janesmith</h1> </div> </div> <div class="midwest-social-preview-profile-right"> <div class="midwest-icon midwest-social-preview-ellipsis"> <div class="midwest-icon-inner"> <svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" role="img" aria-label="Ellipsis horizontal"><title>Ellipsis horizontal</title> <circle cx="256" cy="256" r="48"></circle><circle cx="416" cy="256" r="48"></circle><circle cx="96" cy="256" r="48"></circle></svg> </div> </div> </div> </div> <div class="midwest-social-preview-instagram-images"> <img src="https://picsum.photos/seed/ig1/450/450" alt=""> <img src="https://picsum.photos/seed/ig2/450/450" alt=""> <img src="https://picsum.photos/seed/ig3/450/450" alt=""> </div> <div class="midwest-social-preview-instagram-caption"> <p><strong>janesmith</strong> New design system components dropping soon! Stay tuned for the full release. #design #components #ui</p> </div></div>1
2
3
4
5
6
7
8
9
10
11
<%= midwest_social_preview_instagram( name: "Jane Smith", handle: "janesmith", content_text: "New design system components dropping soon! Stay tuned for the full release. #design #components #ui", avatar_url: "https://i.pravatar.cc/100?u=jane", images: [ "https://picsum.photos/seed/ig1/450/450", "https://picsum.photos/seed/ig2/450/450", "https://picsum.photos/seed/ig3/450/450" ]) %>Instagram-styled post preview with the Instagram wordmark on its gradient header, horizontal scroll images, and inline caption.
No params configured.
No assets to display.
Add a .js or .css file alongside the component to see it here.
Figma embed for Social Preview/instagram
Annotate a preview to embed its Figma design here:
@figma "https://figma.com/..."