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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
<div class="midwest-layout size-lg padding-default type-default" style="--layout-grid-gap: 3rem; --layout-sidebar-width: 350px">
<div class="wrapper">
<section class="flex items-center justify-between flex-wrap gap-3">
<div>
<nav class="midwest-breadcrumbs style-inline" aria-label="Breadcrumb">
<ol class="breadcrumbs-list">
<li class="breadcrumb-item">
<a class="midwest-breadcrumb variant-default" href="#">
<span class="midwest-label ">
Analytics
</span>
</a>
</li>
<li class="breadcrumb-separator" aria-hidden="true">
<span class="sep-char" aria-hidden="true">/</span>
</li>
<li class="breadcrumb-item">
<span class="midwest-breadcrumb variant-default current" aria-current="page">
<span class="midwest-label ">
Growth Metrics
</span>
</span>
</li>
</ol>
</nav>
<h2 class="text-2xl font-bold text-theme-12 mt-1">Growth Metrics</h2>
</div>
<div class="flex gap-2 items-center flex-wrap">
<div class="midwest-select midwest-form-group ">
<div class="midwest-form-group__top">
<label class="midwest-label " for="period-faa8">
</label>
</div>
<select id="period-faa8" class=""><option value=""></option>
<option selected="selected" value="Last 6 months">Last 6 months</option>
<option value="Last 12 months">Last 12 months</option>
<option value="This year">This year</option>
<option value="Custom range">Custom range</option></select>
</div>
<a class="midwest-button variant-outline size-small theme-primary" name="button" href="/">
<span class="midwest-button-content">
<div class="midwest-icon " aria-hidden="true">
<div class="midwest-icon-inner">
<svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path d="M376 160H272v153.37l52.69-52.68a16 16 0 0122.62 22.62l-80 80a16 16 0 01-22.62 0l-80-80a16 16 0 0122.62-22.62L240 313.37V160H136a56.06 56.06 0 00-56 56v208a56.06 56.06 0 0056 56h240a56.06 56.06 0 0056-56V216a56.06 56.06 0 00-56-56zM272 48a16 16 0 00-32 0v112h32z"></path></svg>
</div>
</div>
Export CSV</span>
<div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</a>
</div>
</section>
<div class="midwest-grid" style="--grid-width: 200px; --grid-gap: 1rem">
<article data-controller="midwest-card" class="midwest-card midwest-stat theme-green">
<div class="wrap">
<section>
<div class="midwest-icon stat-icon" aria-hidden="true">
<div class="midwest-icon-inner">
<svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M352 144h112v112"></path><path d="M48 368l121.37-121.37a32 32 0 0145.26 0l50.74 50.74a32 32 0 0045.26 0L448 160" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32"></path></svg>
</div>
</div>
<div class="stat-content">
<div class="stat-value">$2.4M</div>
<div class="stat-label">Total revenue</div>
</div>
</section>
<footer>
<div class="stat-meta">
<div class="stat-trend trend-up">
<span class="midwest-badge has-icon size-sm theme-green trend-value">
<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="Arrow up circle"><title>Arrow up circle</title>
<path d="M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208 208-93.13 208-208S370.87 48 256 48zm91.36 212.65a16 16 0 01-22.63.09L272 208.42V342a16 16 0 01-32 0V208.42l-52.73 52.32A16 16 0 11164.73 238l80-79.39a16 16 0 0122.54 0l80 79.39a16 16 0 01.09 22.65z"></path></svg>
</div>
</div>
<span class="value">+22%</span>
</span> <span class="trend-label">vs prior period</span>
</div>
</div>
</footer>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card midwest-stat theme-blue">
<div class="wrap">
<section>
<div class="midwest-icon stat-icon" aria-hidden="true">
<div class="midwest-icon-inner">
<svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path d="M336 256c-20.56 0-40.44-9.18-56-25.84-15.13-16.25-24.37-37.92-26-61-1.74-24.62 5.77-47.26 21.14-63.76S312 80 336 80c23.83 0 45.38 9.06 60.7 25.52 15.47 16.62 23 39.22 21.26 63.63-1.67 23.11-10.9 44.77-26 61C376.44 246.82 356.57 256 336 256zm66-88zM467.83 432H204.18a27.71 27.71 0 01-22-10.67 30.22 30.22 0 01-5.26-25.79c8.42-33.81 29.28-61.85 60.32-81.08C264.79 297.4 299.86 288 336 288c36.85 0 71 9 98.71 26.05 31.11 19.13 52 47.33 60.38 81.55a30.27 30.27 0 01-5.32 25.78A27.68 27.68 0 01467.83 432zM147 260c-35.19 0-66.13-32.72-69-72.93-1.42-20.6 5-39.65 18-53.62 12.86-13.83 31-21.45 51-21.45s38 7.66 50.93 21.57c13.1 14.08 19.5 33.09 18 53.52-2.87 40.2-33.8 72.91-68.93 72.91zM212.66 291.45c-17.59-8.6-40.42-12.9-65.65-12.9-29.46 0-58.07 7.68-80.57 21.62-25.51 15.83-42.67 38.88-49.6 66.71a27.39 27.39 0 004.79 23.36A25.32 25.32 0 0041.72 400h111a8 8 0 007.87-6.57c.11-.63.25-1.26.41-1.88 8.48-34.06 28.35-62.84 57.71-83.82a8 8 0 00-.63-13.39c-1.57-.92-3.37-1.89-5.42-2.89z"></path></svg>
</div>
</div>
<div class="stat-content">
<div class="stat-value">18,420</div>
<div class="stat-label">Active users</div>
</div>
</section>
<footer>
<div class="stat-meta">
<div class="stat-trend trend-up">
<span class="midwest-badge has-icon size-sm theme-green trend-value">
<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="Arrow up circle"><title>Arrow up circle</title>
<path d="M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208 208-93.13 208-208S370.87 48 256 48zm91.36 212.65a16 16 0 01-22.63.09L272 208.42V342a16 16 0 01-32 0V208.42l-52.73 52.32A16 16 0 11164.73 238l80-79.39a16 16 0 0122.54 0l80 79.39a16 16 0 01.09 22.65z"></path></svg>
</div>
</div>
<span class="value">+14%</span>
</span> <span class="trend-label">vs prior period</span>
</div>
</div>
</footer>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card midwest-stat theme-violet">
<div class="wrap">
<section>
<div class="midwest-icon stat-icon" aria-hidden="true">
<div class="midwest-icon-inner">
<svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path d="M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm74.69 252.82c-9.38 11.44-26.4 29.73-65.7 56.41a15.93 15.93 0 01-18 0c-39.3-26.68-56.32-45-65.7-56.41-20-24.37-29.58-49.4-29.3-76.5.31-31.06 25.22-56.33 55.53-56.33 20.4 0 35 10.63 44.1 20.41a6 6 0 008.72 0c9.11-9.78 23.7-20.41 44.1-20.41 30.31 0 55.22 25.27 55.53 56.33.3 27.1-9.29 52.13-29.28 76.5z"></path></svg>
</div>
</div>
<div class="stat-content">
<div class="stat-value">94.2%</div>
<div class="stat-label">Retention rate</div>
</div>
</section>
<footer>
<div class="stat-meta">
<div class="stat-trend trend-up">
<span class="midwest-badge has-icon size-sm theme-green trend-value">
<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="Arrow up circle"><title>Arrow up circle</title>
<path d="M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208 208-93.13 208-208S370.87 48 256 48zm91.36 212.65a16 16 0 01-22.63.09L272 208.42V342a16 16 0 01-32 0V208.42l-52.73 52.32A16 16 0 11164.73 238l80-79.39a16 16 0 0122.54 0l80 79.39a16 16 0 01.09 22.65z"></path></svg>
</div>
</div>
<span class="value">+1.8%</span>
</span> <span class="trend-label">vs prior period</span>
</div>
</div>
</footer>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card midwest-stat theme-orange">
<div class="wrap">
<section>
<div class="midwest-icon stat-icon" aria-hidden="true">
<div class="midwest-icon-inner">
<svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path d="M32 376a56 56 0 0056 56h336a56 56 0 0056-56V222H32zm66-76a30 30 0 0130-30h48a30 30 0 0130 30v20a30 30 0 01-30 30h-48a30 30 0 01-30-30zM424 80H88a56 56 0 00-56 56v26h448v-26a56 56 0 00-56-56z"></path></svg>
</div>
</div>
<div class="stat-content">
<div class="stat-value">$131</div>
<div class="stat-label">Avg. order value</div>
</div>
</section>
<footer>
<div class="stat-meta">
<div class="stat-trend trend-down">
<span class="midwest-badge has-icon size-sm theme-red trend-value">
<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="Arrow down circle"><title>Arrow down circle</title>
<path d="M256 464c114.87 0 208-93.13 208-208S370.87 48 256 48 48 141.13 48 256s93.13 208 208 208zm-91.36-212.65a16 16 0 0122.63-.09L240 303.58V170a16 16 0 0132 0v133.58l52.73-52.32A16 16 0 11347.27 274l-80 79.39a16 16 0 01-22.54 0l-80-79.39a16 16 0 01-.09-22.65z"></path></svg>
</div>
</div>
<span class="value">-3%</span>
</span> <span class="trend-label">vs prior period</span>
</div>
</div>
</footer>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card midwest-stat theme-teal">
<div class="wrap">
<section>
<div class="midwest-icon stat-icon" aria-hidden="true">
<div class="midwest-icon-inner">
<svg xmlns="http://www.w3.org/2000/svg" class="Midwest-Icon__Svg" viewbox="0 0 512 512" focusable="false" aria-hidden="true"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="32" d="M256 112v288M400 256H112"></path></svg>
</div>
</div>
<div class="stat-content">
<div class="stat-value">1,204</div>
<div class="stat-label">New subscriptions</div>
</div>
</section>
<footer>
<div class="stat-meta">
<div class="stat-trend trend-up">
<span class="midwest-badge has-icon size-sm theme-green trend-value">
<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="Arrow up circle"><title>Arrow up circle</title>
<path d="M256 48C141.13 48 48 141.13 48 256s93.13 208 208 208 208-93.13 208-208S370.87 48 256 48zm91.36 212.65a16 16 0 01-22.63.09L272 208.42V342a16 16 0 01-32 0V208.42l-52.73 52.32A16 16 0 11164.73 238l80-79.39a16 16 0 0122.54 0l80 79.39a16 16 0 01.09 22.65z"></path></svg>
</div>
</div>
<span class="value">+31%</span>
</span> <span class="trend-label">vs prior period</span>
</div>
</div>
</footer>
</div>
</article>
</div>
<div class="midwest-grid" style="--grid-width: 400px; --grid-gap: 2rem">
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<figure class="midwest-chart chart-type-spline legend-alignment-center" data-controller="midwest-chart" data-midwest-chart-tooltip-enabled-value="true">
<figcaption class="chart-title">
Monthly Revenue
</figcaption>
<svg
viewBox="0 0 600 320"
width="600"
height="320"
role="img"
aria-label="Monthly Revenue"
class="chart-svg"
data-midwest-chart-target="svg">
<title>Monthly Revenue</title>
<desc>2 series: 2026, 2025; 6 data points</desc>
<g class="chart-grid" aria-hidden="true">
<line x1="60.0" y1="284.0"
x2="580.0" y2="284.0" />
<line x1="60.0" y1="218.0"
x2="580.0" y2="218.0" />
<line x1="60.0" y1="152.0"
x2="580.0" y2="152.0" />
<line x1="60.0" y1="86.0"
x2="580.0" y2="86.0" />
<line x1="60.0" y1="20.0"
x2="580.0" y2="20.0" />
</g>
<g class="chart-axis chart-axis-x" aria-hidden="true">
<line x1="103.33" y1="284.0"
x2="103.33" y2="288.0" />
<text x="103.33" y="300.0"
text-anchor="middle"
transform="">
Jan
</text>
<line x1="190.0" y1="284.0"
x2="190.0" y2="288.0" />
<text x="190.0" y="300.0"
text-anchor="middle"
transform="">
Feb
</text>
<line x1="276.67" y1="284.0"
x2="276.67" y2="288.0" />
<text x="276.67" y="300.0"
text-anchor="middle"
transform="">
Mar
</text>
<line x1="363.33" y1="284.0"
x2="363.33" y2="288.0" />
<text x="363.33" y="300.0"
text-anchor="middle"
transform="">
Apr
</text>
<line x1="450.0" y1="284.0"
x2="450.0" y2="288.0" />
<text x="450.0" y="300.0"
text-anchor="middle"
transform="">
May
</text>
<line x1="536.67" y1="284.0"
x2="536.67" y2="288.0" />
<text x="536.67" y="300.0"
text-anchor="middle"
transform="">
Jun
</text>
</g>
<g class="chart-axis chart-axis-y" aria-hidden="true">
<line x1="56.0" y1="284.0"
x2="60.0" y2="284.0" />
<text x="52.0" y="288.0"
text-anchor="end">200</text>
<line x1="56.0" y1="218.0"
x2="60.0" y2="218.0" />
<text x="52.0" y="222.0"
text-anchor="end">300</text>
<line x1="56.0" y1="152.0"
x2="60.0" y2="152.0" />
<text x="52.0" y="156.0"
text-anchor="end">400</text>
<line x1="56.0" y1="86.0"
x2="60.0" y2="86.0" />
<text x="52.0" y="90.0"
text-anchor="end">500</text>
<line x1="56.0" y1="20.0"
x2="60.0" y2="20.0" />
<text x="52.0" y="24.0"
text-anchor="end">600</text>
</g>
<g class="chart-lines">
<g class="chart-series">
<path d="M 103.33,211.4 C 114.89,205.24 166.89,174.88 190,165.2 C 213.11,155.52 253.56,139.68 276.67,138.8 C 299.78,137.92 340.22,163 363.33,158.6 C 386.44,154.2 426.89,117.24 450,105.8 C 473.11,94.36 525.11,77.2 536.67,72.8" stroke="var(--theme-6)" fill="none" stroke-width="2" class="chart-line" style="--i: 0; --path-length: 9999" />
</g>
<g class="chart-series">
<path d="M 103.33,257.6 C 114.89,253.2 166.89,230.76 190,224.6 C 213.11,218.44 253.56,210.52 276.67,211.4 C 299.78,212.28 340.22,233.84 363.33,231.2 C 386.44,228.56 426.89,199.52 450,191.6 C 473.11,183.68 525.11,174.44 536.67,171.8" stroke="var(--complement-6)" fill="none" stroke-width="2" class="chart-line" style="--i: 1; --path-length: 9999" />
</g>
</g>
</svg>
<div id="midwest-chart-64192-tooltip"
class="midwest-chart-tooltip"
data-midwest-chart-target="tooltip"
role="tooltip"></div>
<ul class="chart-legend" aria-label="Chart legend">
<li class="chart-legend-item">
<span class="chart-legend-swatch" style="background: var(--theme-6)"></span>
2026
</li>
<li class="chart-legend-item">
<span class="chart-legend-swatch" style="background: var(--complement-6)"></span>
2025
</li>
</ul>
</figure>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<figure class="midwest-chart chart-type-column legend-alignment-center" data-controller="midwest-chart" data-midwest-chart-tooltip-enabled-value="true">
<figcaption class="chart-title">
New Signups by Channel
</figcaption>
<svg
viewBox="0 0 600 320"
width="600"
height="320"
role="img"
aria-label="New Signups by Channel"
class="chart-svg"
data-midwest-chart-target="svg">
<title>New Signups by Channel</title>
<desc>3 series: Organic, Paid, Referral; 6 data points</desc>
<g class="chart-grid" aria-hidden="true">
<line x1="60.0" y1="284.0"
x2="580.0" y2="284.0" />
<line x1="60.0" y1="218.0"
x2="580.0" y2="218.0" />
<line x1="60.0" y1="152.0"
x2="580.0" y2="152.0" />
<line x1="60.0" y1="86.0"
x2="580.0" y2="86.0" />
<line x1="60.0" y1="20.0"
x2="580.0" y2="20.0" />
</g>
<g class="chart-axis chart-axis-x" aria-hidden="true">
<line x1="103.33" y1="284.0"
x2="103.33" y2="288.0" />
<text x="103.33" y="300.0"
text-anchor="middle"
transform="">
Jan
</text>
<line x1="190.0" y1="284.0"
x2="190.0" y2="288.0" />
<text x="190.0" y="300.0"
text-anchor="middle"
transform="">
Feb
</text>
<line x1="276.67" y1="284.0"
x2="276.67" y2="288.0" />
<text x="276.67" y="300.0"
text-anchor="middle"
transform="">
Mar
</text>
<line x1="363.33" y1="284.0"
x2="363.33" y2="288.0" />
<text x="363.33" y="300.0"
text-anchor="middle"
transform="">
Apr
</text>
<line x1="450.0" y1="284.0"
x2="450.0" y2="288.0" />
<text x="450.0" y="300.0"
text-anchor="middle"
transform="">
May
</text>
<line x1="536.67" y1="284.0"
x2="536.67" y2="288.0" />
<text x="536.67" y="300.0"
text-anchor="middle"
transform="">
Jun
</text>
</g>
<g class="chart-axis chart-axis-y" aria-hidden="true">
<line x1="56.0" y1="284.0"
x2="60.0" y2="284.0" />
<text x="52.0" y="288.0"
text-anchor="end">0</text>
<line x1="56.0" y1="218.0"
x2="60.0" y2="218.0" />
<text x="52.0" y="222.0"
text-anchor="end">50</text>
<line x1="56.0" y1="152.0"
x2="60.0" y2="152.0" />
<text x="52.0" y="156.0"
text-anchor="end">100</text>
<line x1="56.0" y1="86.0"
x2="60.0" y2="86.0" />
<text x="52.0" y="90.0"
text-anchor="end">150</text>
<line x1="56.0" y1="20.0"
x2="60.0" y2="20.0" />
<text x="52.0" y="24.0"
text-anchor="end">200</text>
</g>
<g class="chart-bars">
<g class="chart-series" style="--i: 0">
<rect x="66.93" y="125.6" width="20.8" height="158.4" fill="var(--theme-6)" data-tooltip-content="Organic: 120" class="chart-bar" tabindex="0" role="img" aria-label="Organic: 120" />
<rect x="153.6" y="92.6" width="20.8" height="191.4" fill="var(--theme-6)" data-tooltip-content="Organic: 145" class="chart-bar" tabindex="0" role="img" aria-label="Organic: 145" />
<rect x="240.27" y="72.8" width="20.8" height="211.2" fill="var(--theme-6)" data-tooltip-content="Organic: 160" class="chart-bar" tabindex="0" role="img" aria-label="Organic: 160" />
<rect x="326.93" y="101.84" width="20.8" height="182.16" fill="var(--theme-6)" data-tooltip-content="Organic: 138" class="chart-bar" tabindex="0" role="img" aria-label="Organic: 138" />
<rect x="413.6" y="56.96" width="20.8" height="227.04" fill="var(--theme-6)" data-tooltip-content="Organic: 172" class="chart-bar" tabindex="0" role="img" aria-label="Organic: 172" />
<rect x="500.27" y="26.6" width="20.8" height="257.4" fill="var(--theme-6)" data-tooltip-content="Organic: 195" class="chart-bar" tabindex="0" role="img" aria-label="Organic: 195" />
</g>
<g class="chart-series" style="--i: 1">
<rect x="92.93" y="178.4" width="20.8" height="105.6" fill="var(--complement-6)" data-tooltip-content="Paid: 80" class="chart-bar" tabindex="0" role="img" aria-label="Paid: 80" />
<rect x="179.6" y="158.6" width="20.8" height="125.4" fill="var(--complement-6)" data-tooltip-content="Paid: 95" class="chart-bar" tabindex="0" role="img" aria-label="Paid: 95" />
<rect x="266.27" y="167.84" width="20.8" height="116.16" fill="var(--complement-6)" data-tooltip-content="Paid: 88" class="chart-bar" tabindex="0" role="img" aria-label="Paid: 88" />
<rect x="352.93" y="149.36" width="20.8" height="134.64" fill="var(--complement-6)" data-tooltip-content="Paid: 102" class="chart-bar" tabindex="0" role="img" aria-label="Paid: 102" />
<rect x="439.6" y="132.2" width="20.8" height="151.8" fill="var(--complement-6)" data-tooltip-content="Paid: 115" class="chart-bar" tabindex="0" role="img" aria-label="Paid: 115" />
<rect x="526.27" y="112.4" width="20.8" height="171.6" fill="var(--complement-6)" data-tooltip-content="Paid: 130" class="chart-bar" tabindex="0" role="img" aria-label="Paid: 130" />
</g>
<g class="chart-series" style="--i: 2">
<rect x="118.93" y="224.6" width="20.8" height="59.4" fill="var(--theme-4)" data-tooltip-content="Referral: 45" class="chart-bar" tabindex="0" role="img" aria-label="Referral: 45" />
<rect x="205.6" y="215.36" width="20.8" height="68.64" fill="var(--theme-4)" data-tooltip-content="Referral: 52" class="chart-bar" tabindex="0" role="img" aria-label="Referral: 52" />
<rect x="292.27" y="204.8" width="20.8" height="79.2" fill="var(--theme-4)" data-tooltip-content="Referral: 60" class="chart-bar" tabindex="0" role="img" aria-label="Referral: 60" />
<rect x="378.93" y="220.64" width="20.8" height="63.36" fill="var(--theme-4)" data-tooltip-content="Referral: 48" class="chart-bar" tabindex="0" role="img" aria-label="Referral: 48" />
<rect x="465.6" y="198.2" width="20.8" height="85.8" fill="var(--theme-4)" data-tooltip-content="Referral: 65" class="chart-bar" tabindex="0" role="img" aria-label="Referral: 65" />
<rect x="552.27" y="191.6" width="20.8" height="92.4" fill="var(--theme-4)" data-tooltip-content="Referral: 70" class="chart-bar" tabindex="0" role="img" aria-label="Referral: 70" />
</g>
</g>
</svg>
<div id="midwest-chart-64200-tooltip"
class="midwest-chart-tooltip"
data-midwest-chart-target="tooltip"
role="tooltip"></div>
<ul class="chart-legend" aria-label="Chart legend">
<li class="chart-legend-item">
<span class="chart-legend-swatch" style="background: var(--theme-6)"></span>
Organic
</li>
<li class="chart-legend-item">
<span class="chart-legend-swatch" style="background: var(--complement-6)"></span>
Paid
</li>
<li class="chart-legend-item">
<span class="chart-legend-swatch" style="background: var(--theme-4)"></span>
Referral
</li>
</ul>
</figure>
</section>
</div>
</article>
</div>
<div class="midwest-layout size-full padding-default type-one-third-flipped" style="--layout-grid-gap: 2rem; --layout-sidebar-width: 350px">
<div class="wrapper">
<aside class="space-y-4">
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<h3 class="text-sm font-semibold text-theme-11 mb-3">Revenue by plan</h3>
<div class="space-y-3">
<div>
<div class="flex justify-between text-sm mb-1">
<span class="text-theme-9">Enterprise</span>
<span class="font-medium text-theme-11 tabular-nums">$1.2M</span>
</div>
<div class="h-2 rounded-full bg-theme-2 overflow-hidden">
<div class="h-full rounded-full bg-theme-7 theme-violet" style="width: 50%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span class="text-theme-9">Pro</span>
<span class="font-medium text-theme-11 tabular-nums">$840K</span>
</div>
<div class="h-2 rounded-full bg-theme-2 overflow-hidden">
<div class="h-full rounded-full bg-theme-7 theme-blue" style="width: 35%"></div>
</div>
</div>
<div>
<div class="flex justify-between text-sm mb-1">
<span class="text-theme-9">Starter</span>
<span class="font-medium text-theme-11 tabular-nums">$360K</span>
</div>
<div class="h-2 rounded-full bg-theme-2 overflow-hidden">
<div class="h-full rounded-full bg-theme-7 theme-teal" style="width: 15%"></div>
</div>
</div>
</div>
</section>
</div>
</article>
<article data-controller="midwest-card" class="midwest-card">
<div class="wrap">
<section>
<h3 class="text-sm font-semibold text-theme-11 mb-3">Churn rate</h3>
<figure class="midwest-chart chart-type-area legend-alignment-center" data-controller="midwest-chart" data-midwest-chart-tooltip-enabled-value="true">
<svg
viewBox="0 0 600 320"
width="600"
height="320"
role="img"
aria-label=""
class="chart-svg"
data-midwest-chart-target="svg">
<title></title>
<desc>Churn %; 6 data points</desc>
<g class="chart-grid" aria-hidden="true">
<line x1="60.0" y1="284.0"
x2="580.0" y2="284.0" />
<line x1="60.0" y1="218.0"
x2="580.0" y2="218.0" />
<line x1="60.0" y1="152.0"
x2="580.0" y2="152.0" />
<line x1="60.0" y1="86.0"
x2="580.0" y2="86.0" />
<line x1="60.0" y1="20.0"
x2="580.0" y2="20.0" />
</g>
<g class="chart-axis chart-axis-x" aria-hidden="true">
<line x1="103.33" y1="284.0"
x2="103.33" y2="288.0" />
<text x="103.33" y="300.0"
text-anchor="middle"
transform="">
Jan
</text>
<line x1="190.0" y1="284.0"
x2="190.0" y2="288.0" />
<text x="190.0" y="300.0"
text-anchor="middle"
transform="">
Feb
</text>
<line x1="276.67" y1="284.0"
x2="276.67" y2="288.0" />
<text x="276.67" y="300.0"
text-anchor="middle"
transform="">
Mar
</text>
<line x1="363.33" y1="284.0"
x2="363.33" y2="288.0" />
<text x="363.33" y="300.0"
text-anchor="middle"
transform="">
Apr
</text>
<line x1="450.0" y1="284.0"
x2="450.0" y2="288.0" />
<text x="450.0" y="300.0"
text-anchor="middle"
transform="">
May
</text>
<line x1="536.67" y1="284.0"
x2="536.67" y2="288.0" />
<text x="536.67" y="300.0"
text-anchor="middle"
transform="">
Jun
</text>
</g>
<g class="chart-axis chart-axis-y" aria-hidden="true">
<line x1="56.0" y1="284.0"
x2="60.0" y2="284.0" />
<text x="52.0" y="288.0"
text-anchor="end">1.5</text>
<line x1="56.0" y1="218.0"
x2="60.0" y2="218.0" />
<text x="52.0" y="222.0"
text-anchor="end">2</text>
<line x1="56.0" y1="152.0"
x2="60.0" y2="152.0" />
<text x="52.0" y="156.0"
text-anchor="end">2.5</text>
<line x1="56.0" y1="86.0"
x2="60.0" y2="86.0" />
<text x="52.0" y="90.0"
text-anchor="end">3</text>
<line x1="56.0" y1="20.0"
x2="60.0" y2="20.0" />
<text x="52.0" y="24.0"
text-anchor="end">3.5</text>
</g>
<g class="chart-areas">
<g class="chart-series">
<path d="M 103.33,59.6 L 190.0,112.4 L 276.67,165.2 L 363.33,99.2 L 450.0,204.8 L 536.67,244.4 L 536.67,284.0 L 103.33,284.0 Z" fill="var(--theme-6)" fill-opacity="0.2" stroke="none" class="chart-area-fill" style="--i: 0; --path-length: 543.81" />
<path d="M 103.33,59.6 L 190,112.4 L 276.67,165.2 L 363.33,99.2 L 450,204.8 L 536.67,244.4" stroke="var(--theme-6)" fill="none" stroke-width="2" class="chart-line" style="--i: 0; --path-length: 543.81" />
</g>
</g>
</svg>
<div id="midwest-chart-64208-tooltip"
class="midwest-chart-tooltip"
data-midwest-chart-target="tooltip"
role="tooltip"></div>
<ul class="chart-legend" aria-label="Chart legend">
<li class="chart-legend-item">
<span class="chart-legend-swatch" style="background: var(--theme-6)"></span>
Churn %
</li>
</ul>
</figure>
</section>
</div>
</article>
</aside>
<div data-controller="midwest-table" class="midwest-table-wrapper">
<div class="midwest-table-toolbar">
<div class="px-5 py-4 flex items-center justify-between">
<h2 class="text-lg font-medium text-theme-11">Top accounts by MRR</h2>
<a class="midwest-button variant-ghost size-small theme-primary" name="button" href="/">
<span class="midwest-button-content">View all</span>
<div class="midwest-loading-icon" role="img" aria-label="Loading" aria-hidden="true" style="display: none">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</a>
</div>
</div>
<div class="midwest-table-loading-overlay" aria-hidden="true">
<div class="midwest-loading-icon" role="img" aria-label="Loading" decorative="true">
<div class="midwest-loading-icon-inner">
<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg viewbox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="Midwest-LoadingIcon__Svg" focusable="false" aria-hidden="true">
<circle cx="15" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="60" cy="15" r="9" fill-opacity="0.3">
<animate attributename="r" from="9" to="9" begin="0s" dur="0.8s" values="9;15;9" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="0.5" to="0.5" begin="0s" dur="0.8s" values=".5;1;.5" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
<circle cx="105" cy="15" r="15">
<animate attributename="r" from="15" to="15" begin="0s" dur="0.8s" values="15;9;15" calcmode="linear" repeatcount="indefinite"></animate>
<animate attributename="fill-opacity" from="1" to="1" begin="0s" dur="0.8s" values="1;.5;1" calcmode="linear" repeatcount="indefinite"></animate>
</circle>
</svg>
</div>
</div>
</div>
<div class="midwest-table-scroll">
<table class="midwest-table">
<caption class="sr-only">Top accounts by MRR</caption>
<thead class="midwest-table-head">
<tr>
<th scope="col" class="midwest-table-th align-start">
Account
</th>
<th scope="col" class="midwest-table-th align-start">
Plan
</th>
<th scope="col" class="midwest-table-th align-end">
MRR
</th>
<th scope="col" class="midwest-table-th align-end">
Growth
</th>
</tr>
</thead>
<tbody class="midwest-table-body">
<tr class="midwest-table-row">
<td class="midwest-table-td align-start">
<div class="flex items-center gap-2">
<span class="midwest-avatar size-sm theme-red shape-rounded" title="You tabbed on an Avatar for Acme Corp">
<div class="letter" title="Acme Corp">
AC
</div>
</span>
<span class="font-medium text-theme-11">Acme Corp</span>
</div>
</td>
<td class="midwest-table-td align-start">
<span class="midwest-badge size-sm theme-primary">
<span class="value">Enterprise</span>
</span>
</td>
<td class="midwest-table-td align-end">
<span class="tabular-nums font-medium text-theme-11">$12,400</span>
</td>
<td class="midwest-table-td align-end">
<span class="midwest-badge size-sm theme-green">
<span class="value">+8%</span>
</span>
</td>
</tr>
<tr class="midwest-table-row">
<td class="midwest-table-td align-start">
<div class="flex items-center gap-2">
<span class="midwest-avatar size-sm theme-red shape-rounded" title="You tabbed on an Avatar for Globex Industries">
<div class="letter" title="Globex Industries">
GI
</div>
</span>
<span class="font-medium text-theme-11">Globex Industries</span>
</div>
</td>
<td class="midwest-table-td align-start">
<span class="midwest-badge size-sm theme-primary">
<span class="value">Enterprise</span>
</span>
</td>
<td class="midwest-table-td align-end">
<span class="tabular-nums font-medium text-theme-11">$9,800</span>
</td>
<td class="midwest-table-td align-end">
<span class="midwest-badge size-sm theme-green">
<span class="value">+2%</span>
</span>
</td>
</tr>
<tr class="midwest-table-row">
<td class="midwest-table-td align-start">
<div class="flex items-center gap-2">
<span class="midwest-avatar size-sm theme-red shape-rounded" title="You tabbed on an Avatar for Initech LLC">
<div class="letter" title="Initech LLC">
IL
</div>
</span>
<span class="font-medium text-theme-11">Initech LLC</span>
</div>
</td>
<td class="midwest-table-td align-start">
<span class="midwest-badge size-sm theme-primary">
<span class="value">Pro</span>
</span>
</td>
<td class="midwest-table-td align-end">
<span class="tabular-nums font-medium text-theme-11">$2,100</span>
</td>
<td class="midwest-table-td align-end">
<span class="midwest-badge size-sm theme-orange">
<span class="value">-1%</span>
</span>
</td>
</tr>
<tr class="midwest-table-row">
<td class="midwest-table-td align-start">
<div class="flex items-center gap-2">
<span class="midwest-avatar size-sm theme-red shape-rounded" title="You tabbed on an Avatar for Umbrella Co">
<div class="letter" title="Umbrella Co">
UC
</div>
</span>
<span class="font-medium text-theme-11">Umbrella Co</span>
</div>
</td>
<td class="midwest-table-td align-start">
<span class="midwest-badge size-sm theme-primary">
<span class="value">Pro</span>
</span>
</td>
<td class="midwest-table-td align-end">
<span class="tabular-nums font-medium text-theme-11">$1,800</span>
</td>
<td class="midwest-table-td align-end">
<span class="midwest-badge size-sm theme-green">
<span class="value">+15%</span>
</span>
</td>
</tr>
<tr class="midwest-table-row">
<td class="midwest-table-td align-start">
<div class="flex items-center gap-2">
<span class="midwest-avatar size-sm theme-red shape-rounded" title="You tabbed on an Avatar for Hooli Inc">
<div class="letter" title="Hooli Inc">
HI
</div>
</span>
<span class="font-medium text-theme-11">Hooli Inc</span>
</div>
</td>
<td class="midwest-table-td align-start">
<span class="midwest-badge size-sm theme-primary">
<span class="value">Starter</span>
</span>
</td>
<td class="midwest-table-td align-end">
<span class="tabular-nums font-medium text-theme-11">$400</span>
</td>
<td class="midwest-table-td align-end">
<span class="midwest-badge size-sm theme-primary">
<span class="value">0%</span>
</span>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<%= midwest_layout(size: :lg, gap: 3) do %>
<%# Header %>
<section class="flex items-center justify-between flex-wrap gap-3">
<div>
<%= midwest_breadcrumbs({ title: "Analytics", path: "#" }, { title: "Growth Metrics", path: "#" }) %>
<h2 class="text-2xl font-bold text-theme-12 mt-1">Growth Metrics</h2>
</div>
<div class="flex gap-2 items-center flex-wrap">
<%= midwest_form_select(name: 'period', choices: ['Last 6 months', 'Last 12 months', 'This year', 'Custom range'], value: 'Last 6 months') %>
<%= midwest_button("Export CSV", icon: :'download', size: :small, variant: :outline) %>
</div>
</section>
<%# KPI stat strip %>
<%= midwest_grid(width: 200, gap: 1) do %>
<%= render Midwest::StatComponent.new(value: "$2.4M", label: "Total revenue", trend: "+22%", trend_label: "vs prior period", icon: :'trending-up', color: :green) %>
<%= render Midwest::StatComponent.new(value: "18,420", label: "Active users", trend: "+14%", trend_label: "vs prior period", icon: :people, color: :blue) %>
<%= render Midwest::StatComponent.new(value: "94.2%", label: "Retention rate", trend: "+1.8%", trend_label: "vs prior period", icon: :'heart-circle', color: :violet) %>
<%= render Midwest::StatComponent.new(value: "$131", label: "Avg. order value", trend: "-3%", trend_label: "vs prior period", icon: :card, color: :orange) %>
<%= render Midwest::StatComponent.new(value: "1,204", label: "New subscriptions", trend: "+31%", trend_label: "vs prior period", icon: :add, color: :teal) %>
<% end %>
<%# Two charts side by side %>
<%= midwest_grid(width: 400, gap: 2) do %>
<%# Revenue over time — spline %>
<%= midwest_card do %>
<%= midwest_chart(
:spline,
title: "Monthly Revenue",
x_axis: { categories: %w[Jan Feb Mar Apr May Jun] },
series: [
{ name: "2026", data: [310, 380, 420, 390, 470, 520] },
{ name: "2025", data: [240, 290, 310, 280, 340, 370] }
]
) %>
<% end %>
<%# Signups by channel — column %>
<%= midwest_card do %>
<%= midwest_chart(
:column,
title: "New Signups by Channel",
x_axis: { categories: %w[Jan Feb Mar Apr May Jun] },
series: [
{ name: "Organic", data: [120, 145, 160, 138, 172, 195] },
{ name: "Paid", data: [80, 95, 88, 102, 115, 130] },
{ name: "Referral", data: [45, 52, 60, 48, 65, 70] }
]
) %>
<% end %>
<% end %>
<%# Bottom: table + breakdown sidebar %>
<%= midwest_layout(type: :'one-third', size: :full, gap: 2, flipped: true) do %>
<%# Breakdown sidebar %>
<aside class="space-y-4">
<%= midwest_card do %>
<h3 class="text-sm font-semibold text-theme-11 mb-3">Revenue by plan</h3>
<div class="space-y-3">
<% [
{ label: "Enterprise", value: "$1.2M", pct: 50, color: :violet },
{ label: "Pro", value: "$840K", pct: 35, color: :blue },
{ label: "Starter", value: "$360K", pct: 15, color: :teal },
].each do |plan| %>
<div>
<div class="flex justify-between text-sm mb-1">
<span class="text-theme-9"><%= plan[:label] %></span>
<span class="font-medium text-theme-11 tabular-nums"><%= plan[:value] %></span>
</div>
<div class="h-2 rounded-full bg-theme-2 overflow-hidden">
<div class="h-full rounded-full bg-theme-7 theme-<%= plan[:color] %>" style="width: <%= plan[:pct] %>%"></div>
</div>
</div>
<% end %>
</div>
<% end %>
<%= midwest_card do %>
<h3 class="text-sm font-semibold text-theme-11 mb-3">Churn rate</h3>
<%= midwest_chart(
:area,
x_axis: { categories: %w[Jan Feb Mar Apr May Jun] },
series: [{ name: "Churn %", data: [3.2, 2.8, 2.4, 2.9, 2.1, 1.8] }]
) %>
<% end %>
</aside>
<%# Top accounts table %>
<%
accounts = [
{ name: "Acme Corp", plan: "Enterprise", mrr: "$12,400", growth: "+8%", status: :success },
{ name: "Globex Industries",plan: "Enterprise",mrr: "$9,800", growth: "+2%", status: :success },
{ name: "Initech LLC", plan: "Pro", mrr: "$2,100", growth: "-1%", status: :warning },
{ name: "Umbrella Co", plan: "Pro", mrr: "$1,800", growth: "+15%", status: :success },
{ name: "Hooli Inc", plan: "Starter", mrr: "$400", growth: "0%", status: :default },
]
%>
<%= midwest_table(collection: accounts, caption: "Top accounts by MRR") do |t| %>
<% t.with_toolbar do %>
<div class="px-5 py-4 flex items-center justify-between">
<h2 class="text-lg font-medium text-theme-11">Top accounts by MRR</h2>
<%= midwest_button("View all", size: :small, variant: :ghost) %>
</div>
<% end %>
<% t.with_column("Account") do |row| %>
<div class="flex items-center gap-2">
<%= midwest_avatar(name: row[:name], size: :sm, shape: :rounded) %>
<span class="font-medium text-theme-11"><%= row[:name] %></span>
</div>
<% end %>
<% t.with_column("Plan") do |row| %>
<%= midwest_badge(row[:plan], size: :sm) %>
<% end %>
<% t.with_column("MRR", align: :end) do |row| %>
<span class="tabular-nums font-medium text-theme-11"><%= row[:mrr] %></span>
<% end %>
<% t.with_column("Growth", align: :end) do |row| %>
<%= midwest_badge(row[:growth], state: row[:status], size: :sm) %>
<% end %>
<% end %>
<% end %>
<% end %>

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

Accessibility

Figma embed for Layouts/metrics_dashboard

Annotate a preview to embed its Figma design here:

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