@@ -3,6 +3,58 @@ import { Box, Flex, Text, VStack } from '@devup-ui/react'
33import { DevupUICard } from './DevupUICard'
44import { OtherCard } from './OtherCard'
55
6+ const OTHER_CARDS = [
7+ {
8+ title : 'Chakra UI' ,
9+ version : '3.27.0' ,
10+ buildTime : '29.99s' ,
11+ buildSize : '200.4MB' ,
12+ url : 'https://chakra-ui.com' ,
13+ } ,
14+ {
15+ title : 'Mui' ,
16+ version : '7.3.2' ,
17+ buildTime : '22.21s' ,
18+ buildSize : '89.9MB' ,
19+ url : 'https://mui.com' ,
20+ } ,
21+ {
22+ title : 'Kuma UI' ,
23+ version : '1.5.9' ,
24+ buildTime : '21.61s' ,
25+ buildSize : '64.3MB' ,
26+ url : 'https://kuma-ui.com' ,
27+ } ,
28+ {
29+ title : 'Tailwindcss' ,
30+ version : '4.1.13' ,
31+ buildTime : '20.22s' ,
32+ buildSize : '54.8MB' ,
33+ url : 'https://tailwindcss.com' ,
34+ } ,
35+ {
36+ title : 'panda CSS' ,
37+ version : '1.3.1' ,
38+ buildTime : '22.01s' ,
39+ buildSize : '59.5MB' ,
40+ url : 'https://panda-css.com' ,
41+ } ,
42+ {
43+ title : 'styleX' ,
44+ version : '0.15.4' ,
45+ buildTime : '38.97s' ,
46+ buildSize : '54.7MB' ,
47+ url : 'https://stylexjs.com' ,
48+ } ,
49+ {
50+ title : 'vanilla extract' ,
51+ version : '1.17.4' ,
52+ buildTime : '20.09s' ,
53+ buildSize : '56.6MB' ,
54+ url : 'https://vanilla-extract.style' ,
55+ } ,
56+ ]
57+
658export function Bench ( ) {
759 return (
860 < VStack
@@ -39,65 +91,17 @@ export function Bench() {
3991 scrollbarWidth = "none"
4092 >
4193 < Flex
94+ alignItems = "flex-end"
4295 flexWrap = { [ null , null , null , null , 'wrap' ] }
4396 gap = { [ 3 , null , 5 ] }
4497 justifyContent = { [ null , null , null , null , 'center' ] }
4598 px = { [ 4 , null , '40px' , null , 0 ] }
99+ w = "fit-content"
46100 >
47101 < Flex display = { [ 'none' , null , null , null , 'flex' ] } >
48102 < DevupUICard />
49103 </ Flex >
50- { [
51- {
52- title : 'Chakra UI' ,
53- version : '3.27.0' ,
54- buildTime : '29.99s' ,
55- buildSize : '210.1MB' ,
56- url : 'https://chakra-ui.com' ,
57- } ,
58- {
59- title : 'Mui' ,
60- version : '7.3.2' ,
61- buildTime : '22.21s' ,
62- buildSize : '94.23MB' ,
63- url : 'https://mui.com' ,
64- } ,
65- {
66- title : 'Kuma UI' ,
67- version : '1.5.9' ,
68- buildTime : '21.61s' ,
69- buildSize : '67.42MB' ,
70- url : 'https://kuma-ui.com' ,
71- } ,
72- {
73- title : 'Tailwindcss' ,
74- version : '4.1.13' ,
75- buildTime : '20.22s' ,
76- buildSize : '57.41MB' ,
77- url : 'https://tailwindcss.com' ,
78- } ,
79- {
80- title : 'Panda CSS' ,
81- version : '1.3.1' ,
82- buildTime : '21.61s' ,
83- buildSize : '62.43MB' ,
84- url : 'https://panda-css.com' ,
85- } ,
86- {
87- title : 'styleX' ,
88- version : '0.15.4' ,
89- buildTime : '38.97s' ,
90- buildSize : '76.25MB' ,
91- url : 'https://stylexjs.com' ,
92- } ,
93- {
94- title : 'Vanilla Extract' ,
95- version : '1.17.4' ,
96- buildTime : '20.09s' ,
97- buildSize : '59.36MB' ,
98- url : 'https://vanilla-extract.style' ,
99- } ,
100- ] . map ( ( item ) => (
104+ { OTHER_CARDS . map ( ( item ) => (
101105 < OtherCard key = { item . title } { ...item } />
102106 ) ) }
103107 </ Flex >
0 commit comments