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
<div class="midwest-social-preview-card midwest-social-preview-instagram"> <div class="midwest-social-preview-header"> <div class="midwest-icon "> <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="Logo instagram"><title>Logo instagram</title> <path d="M349.33 69.33a93.62 93.62 0 0193.34 93.34v186.66a93.62 93.62 0 01-93.34 93.34H162.67a93.62 93.62 0 01-93.34-93.34V162.67a93.62 93.62 0 0193.34-93.34h186.66m0-37.33H162.67C90.8 32 32 90.8 32 162.67v186.66C32 421.2 90.8 480 162.67 480h186.66C421.2 480 480 421.2 480 349.33V162.67C480 90.8 421.2 32 349.33 32z"></path><path d="M377.33 162.67a28 28 0 1128-28 27.94 27.94 0 01-28 28zM256 181.33A74.67 74.67 0 11181.33 256 74.75 74.75 0 01256 181.33m0-37.33a112 112 0 10112 112 112 112 0 00-112-112z"></path></svg> </div> </div> </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 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/..."