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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<div class="midwest-grid" style="--grid-width: 200px; --grid-gap: 2rem">
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<p>Sup</p>
</section>
</div>
</article>
</div>
1
2
3
4
5
6
7
<%= midwest_grid(width: params[:width] || 200, gap: params[:gap] || 2, padding: params[:padding] || 2, fit: params[:fit] == true, vertical: params[:vertical] == true) do %>
<% 10.times do %>
<%= midwest_card do %>
<p>Sup</p>
<% end %>
<% end %>
<% end %>
Param Description Input

Use auto-fill (fit: true)

Vertical column flow

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

Accessibility

Figma embed for Grid/playground

Annotate a preview to embed its Figma design here:

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