forked from marmelab/react-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1442 lines (1423 loc) · 60.2 KB
/
index.html
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
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>React-Admin - The Open-Source Framework For B2B Apps</title>
<link rel="modulepreload" crossorigin href="/src/main.ts" />
<link rel="stylesheet" href="/src/style.css" />
<link rel="stylesheet" href="/src/newsletter.css" />
<link rel="shortcut icon" href="/img/ra-oe.svg" />
<meta
name="description"
content="A frontend Framework for building B2B applications running in the browser on top of REST/GraphQL APIs, using ES6, React and Material Design"
/>
<meta property="og:title" content="React Admin" />
<meta
property="og:description"
content="A frontend Framework for building B2B applications running in the browser on top of REST/GraphQL APIs, using ES6, React and Material Design"
/>
<meta property="og:type" content="website" />
<meta property="og:url" content="https://marmelab.com/react-admin" />
<meta property="og:image" content="./img/ra-oe.svg" />
</head>
<body>
<nav class="bg-[#00023b] text-white">
<div
class="mx-auto max-w-screen-xl px-4 py-2 md:px-8 md:py-5 lg:px-16 lg:py-8"
>
<div class="flex h-16 justify-between">
<div class="flex">
<div class="flex flex-shrink-0 items-center gap-4">
<img src="./img/ra-oe.svg" class="h-12 w-auto md:h-16 lg:h-20" />
<span
class="text-[14px] font-semibold leading-[18px] text-[#ea1763] lg:text-[16px] lg:leading-[20px]"
>React-admin<br />open-source</span
>
</div>
</div>
<div
class="hidden gap-4 text-[14px] font-semibold leading-[18px] md:flex lg:text-[16px] lg:leading-[21px] lg:gap-6"
>
<a
class="inline-flex items-center hover:underline"
href="./documentation.html"
>Documentation</a
>
<a
class="inline-flex items-center hover:underline"
href="./Demos.html"
>Demo</a
>
<a
class="inline-flex items-center hover:underline"
href="https://marmelab.com/en/blog/#react-admin"
>Blog</a
>
<a
href="https://marmelab.com/ra-enterprise"
class="inline-flex items-center"
><span
class="rounded border border-[#1bceb9] px-2 py-0.5 text-[#1bceb9] hover:border-[#00023b] hover:bg-[#1bceb9] hover:text-[#00023b]"
>Enterprise Edition</span
></a
>
<div class="flex flex-shrink-0 items-center gap-4">
<a
class="inline-block rounded border border-[#ea1763] px-2 py-0.5 text-[14px] font-semibold leading-[21px] text-[#ea1763]"
href="https://github.com/marmelab/react-admin"
>
<svg
aria-hidden="true"
class="inline-block h-5 w-5"
fill="currentColor"
>
<path
d="M8.61 1.245a1 1 0 0 1 1.78 0l2.026 3.97a1 1 0 0 0 .734.533l4.4.7a1 1 0 0 1 .551 1.694l-3.149 3.153a1 1 0 0 0-.28.862l.694 4.402a1 1 0 0 1-1.44 1.047l-3.973-2.02a1 1 0 0 0-.906 0l-3.972 2.02a1 1 0 0 1-1.441-1.047l.694-4.402a1 1 0 0 0-.28-.862L.898 8.142a1 1 0 0 1 .551-1.694l4.401-.7a1 1 0 0 0 .734-.533l2.025-3.97Z"
/>
</svg>
<svg
aria-hidden="true"
class="ml-2 inline-block h-5 w-5"
stroke="currentColor"
>
<path d="M1 .5v21" />
</svg>
<span id="github-stars-content" class="-ml-3 text-[#e7e8f3]"
>20000</span
></a
>
<a href="https://github.com/marmelab/react-admin">
<img src="./img/github.svg" />
</a>
<a href="https://discord.gg/GeZF9sqh3N">
<img src="./img/discord.svg" />
</a>
</div>
</div>
<div class="-mr-2 flex items-center md:hidden">
<button
class="inline-flex items-center justify-center rounded-md p-2 hover:bg-white hover:text-[#ea1763] focus:outline-none focus:ring-2 focus:ring-inset focus:ring-[#ea1763]"
aria-controls="mobile-menu"
aria-expanded="false"
>
<span class="sr-only">Open main menu</span>
<svg
class="block h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
/>
</svg>
<svg
class="hidden h-6 w-6"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
aria-hidden="true"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M6 18L18 6M6 6l12 12"
/>
</svg>
</button>
</div>
</div>
</div>
<div
class="hidden md:hidden min-h-screen min-w-full fixed z-10 bg-[#00023be9]"
id="mobile-menu"
>
<div class="flex flex-shrink-0 items-center gap-4 px-4 pb-8">
<a
class="inline-block rounded border border-[#ea1763] px-2 py-0.5 text-[14px] font-semibold leading-[21px] text-[#ea1763]"
href="https://github.com/marmelab/react-admin"
>
<svg
aria-hidden="true"
class="inline-block h-5 w-5"
fill="currentColor"
>
<path
d="M8.61 1.245a1 1 0 0 1 1.78 0l2.026 3.97a1 1 0 0 0 .734.533l4.4.7a1 1 0 0 1 .551 1.694l-3.149 3.153a1 1 0 0 0-.28.862l.694 4.402a1 1 0 0 1-1.44 1.047l-3.973-2.02a1 1 0 0 0-.906 0l-3.972 2.02a1 1 0 0 1-1.441-1.047l.694-4.402a1 1 0 0 0-.28-.862L.898 8.142a1 1 0 0 1 .551-1.694l4.401-.7a1 1 0 0 0 .734-.533l2.025-3.97Z"
/>
</svg>
<svg
aria-hidden="true"
class="ml-2 inline-block h-5 w-5"
stroke="currentColor"
>
<path d="M1 .5v21" />
</svg>
<span id="github-stars-content-mobile" class="-ml-3 text-[#e7e8f3]"
>20000</span
></a
>
<a href="https://github.com/marmelab/react-admin">
<img src="./img/github.svg" />
</a>
<a href="https://discord.gg/GeZF9sqh3N">
<img src="./img/discord.svg" />
</a>
</div>
<div class="text-[14px] font-semibold leading-[21px]">
<a class="block px-4 py-2 hover:underline" href="./documentation.html"
>Documentation</a
>
<a class="block px-4 py-2 hover:underline" href="./Demos.html"
>Demo</a
>
<a
class="block px-4 py-2 hover:underline"
href="https://marmelab.com/en/blog/#react-admin"
>Blog</a
>
<a href="https://marmelab.com/ra-enterprise" class="block px-4 py-2"
><span
class="rounded border border-[#1bceb9] px-2 py-0.5 text-[#1bceb9] hover:border-[#00023b] hover:bg-[#1bceb9] hover:text-[#00023b]"
>Enterprise Edition</span
></a
>
</div>
</div>
</nav>
<section
class="relative overflow-hidden bg-[#00023b] bg-bottom bg-no-repeat text-white max-lg:bg-[length:2484px_440px] max-md:bg-[length:2145px_380px]"
>
<svg
id="hero-bg"
fill="none"
class="absolute bottom-20 left-0 right-0 z-0 [--base-scale:2] [--min-scale:0.5] sm:bottom-0 sm:[--base-scale:2] sm:[--min-scale:0.5] md:[--base-scale:2.3] md:[--min-scale:0.5] lg:[--base-scale:2.1] lg:[--min-scale:0.3] xl:[--base-scale:1.5] xl:[--min-scale:0.3]"
viewBox="0 0 2937 520"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1846.22 518.145L1915.39 260L1210.12 71.0229L1090.31 518.147"
fill="#00023B"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1848.01 518.625C1847.74 519.613 1846.73 520.199 1845.74 519.935C1844.75 519.67 1844.17 518.654 1844.43 517.667L1913.12 261.31L1211.43 73.2918L1092.1 518.627C1091.84 519.614 1090.82 520.201 1089.83 519.937C1088.85 519.672 1088.26 518.656 1088.52 517.669L1208.33 70.5446C1208.6 69.5569 1209.61 68.9708 1210.6 69.2354L1915.87 258.212C1916.86 258.477 1917.44 259.492 1917.18 260.48L1848.01 518.626L1848.01 518.625Z"
fill="#EA1763"
fill-opacity="0.2"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1889.82 518.145L1966.97 384.519L1334.64 19.4436L1046.71 518.146"
fill="#00023B"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1891.42 519.072C1890.91 519.957 1889.78 520.261 1888.89 519.75C1888.01 519.239 1887.7 518.105 1888.21 517.22L1964.44 385.197C1929.5 365.025 1335.32 21.9753 1335.32 21.9753L1048.32 519.073C1047.81 519.958 1046.67 520.262 1045.79 519.751C1044.9 519.24 1044.6 518.107 1045.11 517.222L1333.04 18.5194C1333.55 17.6337 1334.68 17.3304 1335.57 17.8417L1967.89 382.917C1968.78 383.428 1969.08 384.56 1968.57 385.446L1891.42 519.073L1891.42 519.072Z"
fill="#EA1763"
fill-opacity="0.3"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1984.56 518.145L1468.26 1.85107L951.97 518.145"
fill="#00023B"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1985.87 516.837C1986.59 517.559 1986.59 518.733 1985.87 519.455C1985.15 520.178 1983.97 520.178 1983.25 519.455L1468.27 4.46992L953.282 519.455C952.56 520.178 951.386 520.178 950.664 519.455C949.941 518.733 949.941 517.559 950.664 516.837L1466.96 0.542456C1467.68 -0.180819 1468.85 -0.180819 1469.58 0.542456L1985.87 516.837H1985.87Z"
fill="#EA1763"
fill-opacity="0.4"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1889.82 518.145L1601.89 19.4431L969.563 384.518L1046.71 518.145"
fill="#00023B"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1891.42 517.221C1891.93 518.106 1891.63 519.239 1890.74 519.75C1889.86 520.261 1888.72 519.958 1888.21 519.073L1601.21 21.9747L972.094 385.197L1048.32 517.22C1048.83 518.105 1048.52 519.238 1047.64 519.749C1046.75 520.26 1045.62 519.956 1045.11 519.071L967.961 385.445C967.449 384.559 967.753 383.427 968.638 382.915L1600.97 17.8402C1601.85 17.3289 1602.98 17.6322 1603.49 18.5179L1891.42 517.22L1891.42 517.221Z"
fill="#EA1763"
fill-opacity="0.5"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1846.22 518.145L1726.41 71.0212L1021.14 259.998L1090.31 518.144"
fill="#00023B"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M1848.01 517.668C1848.27 518.655 1847.69 519.671 1846.7 519.936C1845.71 520.2 1844.69 519.613 1844.43 518.626L1725.1 73.2907L1023.41 261.309L1092.1 517.666C1092.37 518.653 1091.78 519.669 1090.79 519.934C1089.81 520.198 1088.79 519.612 1088.52 518.624L1019.35 260.478C1019.09 259.49 1019.68 258.475 1020.66 258.21L1725.93 69.234C1726.92 68.9693 1727.94 69.5555 1728.2 70.5432L1848.01 517.667L1848.01 517.668Z"
fill="#EA1763"
fill-opacity="0.7"
/>
<path
fill-rule="evenodd"
clip-rule="evenodd"
d="M0 518.207C140.949 233.788 745.099 19.7241 1468.1 19.7241C2191.11 19.7241 2795.25 233.788 2936.21 518.207"
fill="url(#paint0_radial_458_539)"
/>
<defs>
<radialGradient
id="paint0_radial_458_539"
cx="0"
cy="0"
r="1"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(1398.83 591.493) rotate(-0.163042) scale(1217.82 571.765)"
>
<stop stop-color="#EA1763" stop-opacity="0.4" />
<stop offset="1" stop-color="#EA1763" stop-opacity="0" />
</radialGradient>
</defs>
</svg>
<div class="relative mx-auto max-w-screen-xl px-4 pt-8 md:px-16">
<div class="text-center">
<h1
class="px-4 text-[36px] font-bold leading-[42px] md:px-0 md:text-[48px] md:leading-[54px] lg:text-[60px] lg:leading-[64px]"
>
The React Framework<br />for B2B Apps
</h1>
<h2
class="mt-4 px-8 text-[18px] font-light leading-[26px] md:mt-8 md:px-8 lg:px-44 lg:text-[21px] lg:leading-[28px] xl:px-64"
>
React-admin offers the best developer experience, lets you focus on
business needs, and build delightful user interfaces.
</h2>
<div class="pt-4 md:pt-8">
<a
class="inline-block rounded-full bg-[hsl(338,83%,50%)] hover:bg-[hsl(338,83%,60%)] px-5 py-4 text-center text-[18px] font-semibold leading-[26px] text-white md:px-7"
href="./documentation.html"
>
<svg
aria-hidden="true"
class="-mr-0.5 inline-block h-5 w-5"
fill="currentColor"
>
<path
d="M10.014 9.297 3.64 15.672a1.12 1.12 0 0 1-1.589 0l-1.06-1.06a1.12 1.12 0 0 1 0-1.588l4.52-4.52L.99 3.987a1.12 1.12 0 0 1 0-1.59l1.055-1.068a1.12 1.12 0 0 1 1.59 0l6.374 6.375c.446.44.446 1.153.005 1.594Z"
/>
</svg>
Get started</a
>
</div>
</div>
<div
class="mt-8 flex justify-center text-white max-md:mx-auto max-md:flex max-md:max-w-sm max-md:flex-col md:relative"
>
<img
src="./img/Screen_oss.png"
class="rounded-t-lg mt-4 md:mt-7 md:-ml-36 md:h-[364px] md:w-[519px] lg:-ml-44 lg:mt-0 lg:h-[441px] lg:w-[627px]"
/>
<pre
class="overflow-x-auto rounded-md border bg-[#00023b] p-2 pr-8 text-[9px] font-normal leading-[11px] text-[#00b3da] md:absolute md:top-[48%] md:left-[48%] lg:top-[34%] lg:left-[48%] lg:p-4 lg:text-[12px] lg:leading-[16px]"
><code
>const App <span class="text-[#ffa939]">=</span> () <span class="text-[#ffa939]">=></span> (
<Admin
<span class="text-[#1bceb9]">dataProvider</span><span class="text-[#e7e8f3]">=</span><span class="text-[#1bceb9]">{dataProvider}</span>
<span class="text-[#1bceb9]">authProvider</span><span class="text-[#e7e8f3]">=</span><span class="text-[#1bceb9]">{authProvider}</span>
<span class="text-[#1bceb9]">layout</span><span class="text-[#e7e8f3]">=</span><span class="text-[#1bceb9]">{Layout}</span>
<span class="text-[#1bceb9]">dashboard</span><span class="text-[#e7e8f3]">=</span><span class="text-[#1bceb9]">{Dashboard}</span>
>
<Resource <span class="text-[#1bceb9]">name</span><span class="text-[#e7e8f3]">=</span>"deals" <span class="text-[#1bceb9]">{...deals}</span> />
<Resource <span class="text-[#1bceb9]">name</span><span class="text-[#e7e8f3]">=</span>"contacts" <span class="text-[#1bceb9]">{...contacts}</span> />
<Resource <span class="text-[#1bceb9]">name</span><span class="text-[#e7e8f3]">=</span>"companies" <span class="text-[#1bceb9]">{...companies}</span> />
</Admin>
);
</code></pre>
</div>
</div>
</section>
<section class="bg-[#e7e8f3] text-[#00023b]">
<div
class="mx-auto max-w-screen-xl px-4 py-8 md:px-12 md:py-16 lg:px-24 lg:py-24"
>
<h1
class="text-center text-[28px] font-bold leading-[34px] lg:text-[32px] lg:leading-[40px]"
>
Build admins / internal tools / dashboards / ERPs / B2B apps, fast
</h1>
<h2
class="mt-8 text-center text-[18px] font-light leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Developer time is expensive, so react-admin focuses on productivity
and maintainability.<br />
See what you can build in a week.
</h2>
<ul
class="mt-8 grid grid-cols-1 gap-x-8 gap-y-8 text-center md:grid-cols-2 lg:gap-x-16 lg:gap-y-8"
>
<li>
<iframe
src="https://player.vimeo.com/video/474999017/?h=4557e43b02&color=EA1763&title=0&byline=0&portrait=0"
class="aspect-video w-full shadow-xl"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen
></iframe>
<h3
class="mt-8 text-[24px] font-bold leading-[28px] text-[#00023b]"
>
E-commerce Admin
</h3>
<ul
class="m-2 flex justify-center gap-4 text-[18px] font-semibold leading-[27px] text-[#ea1763]"
>
<li>
<a
class="inline-flex hover:underline"
href="https://marmelab.com/react-admin-demo/"
>Demo<img src="./img/arrow-right.svg"
/></a>
</li>
<li>
<a
class="inline-flex hover:underline"
href="https://github.com/marmelab/react-admin/tree/master/examples/demo"
>Source<img src="./img/arrow-right.svg"
/></a>
</li>
</ul>
</li>
<li>
<video
src="https://marmelab.com/react-admin-crm/assets/react-admin-crm.mp4"
poster="./img/react-admin-crm-poster.webp"
controls
class="aspect-video w-full shadow-xl"
></video>
<h3
class="mt-8 text-[24px] font-bold leading-[28px] text-[#00023b]"
>
CRM
</h3>
<ul
class="m-2 flex justify-center gap-4 text-[18px] font-semibold leading-[27px] text-[#ea1763]"
>
<li>
<a
class="inline-flex hover:underline"
href="https://marmelab.com/react-admin-crm/"
>Demo<img src="./img/arrow-right.svg"
/></a>
</li>
<li>
<a
class="inline-flex hover:underline"
href="https://github.com/marmelab/react-admin/tree/master/examples/crm"
>Source<img src="./img/arrow-right.svg"
/></a>
</li>
</ul>
</li>
<li>
<video
src="https://user-images.githubusercontent.com/99944/212743583-a4ee135f-f55b-4305-86c4-a3da1c49bb98.mov"
poster="./img/react-admin-helpdesk-poster.webp"
controls
class="aspect-video w-full shadow-xl"
></video>
<h3
class="mt-8 text-[24px] font-bold leading-[28px] text-[#00023b]"
>
HelpDesk
</h3>
<ul
class="m-2 flex justify-center gap-4 text-[18px] font-semibold leading-[27px] text-[#ea1763]"
>
<li>
<a
class="inline-flex hover:underline"
href="https://marmelab.com/react-admin-helpdesk/"
>Demo<img src="./img/arrow-right.svg"
/></a>
</li>
<li>
<a
class="inline-flex hover:underline"
href="https://github.com/marmelab/react-admin-helpdesk"
>Source<img src="./img/arrow-right.svg"
/></a>
</li>
</ul>
</li>
<li>
<img
class="aspect-video w-full shadow-xl"
src="https://marmelab.com/react-admin/img/navidrome.png"
/>
<h3
class="mt-8 text-[24px] font-bold leading-[28px] text-[#00023b]"
>
Media player
</h3>
<ul
class="m-2 flex justify-center gap-4 text-[18px] font-semibold leading-[27px] text-[#ea1763]"
>
<li>
<a
class="inline-flex hover:underline"
href="https://demo.navidrome.org/app/"
>Demo<img src="./img/arrow-right.svg"
/></a>
</li>
<li>
<a
class="inline-flex hover:underline"
href="https://github.com/navidrome/navidrome/"
>Source<img src="./img/arrow-right.svg"
/></a>
</li>
</ul>
</li>
</ul>
</div>
</section>
<section class="bg-white text-[#00023b]">
<div
class="mx-auto max-w-screen-xl px-4 py-8 md:py-16 md:px-4 lg:px-32 lg:py-24 xl:px-52 xl:py-24"
>
<h1
class="mb-8 text-center text-[28px] font-bold leading-[34px] lg:text-[32px] lg:leading-[40px]"
>
Used by more than 10,000 companies worldwide
</h1>
<p
class="mb-8 text-center text-[18px] font-light leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
That's because react-admin is easy to learn, robust, stable, and a joy
to code with.
</p>
<ul
class="mx-auto flex flex-wrap items-center justify-center gap-x-8 gap-y-4"
>
<li><img src="./img/users/activision.png" alt="Activision" /></li>
<li><img src="./img/users/adobe.png" alt="Adobe" /></li>
<li><img src="./img/users/cdiscount.png" alt="Cdiscount" /></li>
<li><img src="./img/users/decathlon.png" alt="Decathlon" /></li>
<li><img src="./img/users/ford.png" alt="Ford" /></li>
<li><img src="./img/users/ibm.png" alt="IBM" /></li>
<li><img src="./img/users/intel.png" alt="Intel" /></li>
<li><img src="./img/users/nvidia.png" alt="NVIDIA" /></li>
<li><img src="./img/users/puma.png" alt="Puma" /></li>
<li><img src="./img/users/xiaomi.png" alt="Xiaomi" /></li>
<li><img src="./img/users/yves-rocher.png" alt="Yves Rocher" /></li>
<li><img src="./img/users/zalando.png" alt="Zalando" /></li>
</ul>
</div>
</section>
<section class="bg-[#2e3062] text-white">
<div
class="mx-auto max-w-screen-xl px-4 py-8 pb-14 md:px-12 md:py-16 lg:p-24"
>
<h1
class="text-[28px] font-bold leading-[34px] lg:text-[32px] lg:leading-[40px]"
>
Get started in minutes
</h1>
<p
class="mt-8 mb-8 text-[18px] font-light leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Build API-based applications using modern React and Material Design.
Your first admin only needs
<b class="font-bold">13 lines of code</b>.
</p>
<div class="relative">
<div class="flex flex-col gap-8 md:flex-row md:items-stretch">
<div
class="w-full flex flex-col md:flex-row flex-shrink flex-grow md:w-1/2"
>
<pre
class="w-full overflow-x-auto rounded-lg bg-[#00023b] p-4 text-[11px] font-normal leading-[14px] lg:text-[14px] lg:leading-[20px]"
><code
><span class="text-[#00b3da]">import</span> React <span class="text-[#00b3da]">from</span> <span class="text-[#1bceb9]">'react'</span>;
<span class="text-[#00b3da]">import</span> { Admin, Resource, ListGuesser } <span class="text-[#00b3da]">from</span> <span class="text-[#1bceb9]">'react-admin'</span>;
<span class="text-[#00b3da]">import</span> simpleRestProvider <span class="text-[#00b3da]">from</span> <span class="text-[#1bceb9]">'ra-data-simple-rest'</span>;
<span class="text-[#ffa939]">const</span> dataProvider = simpleRestProvider(<span class="text-[#1bceb9]">'https://domain.tld/api'</span>);
<span class="text-[#ffa939]">const</span> App <span class="text-[#1bceb9]">=</span> <span class="text-white">()</span> <span class="text-[#1bceb9]">=></span> (
<span class="text-[#1bceb9]"><</span>Admin dataProvider={<span class="text-[#9870b7]">dataProvider</span>}<span class="text-[#1bceb9]">></span>
<span class="text-[#1bceb9]"><</span>Resource name="users" list={<span class="text-[#9870b7]">ListGuesser</span>} <span class="text-[#1bceb9]">/></span>
<span class="text-[#1bceb9]"></</span>Admin<span class="text-[#1bceb9]">></span>
);
<span class="text-[#00b3da]">export default</span> App;</code
></pre>
</div>
<div class="w-full flex-shrink flex-grow self-end md:w-1/2">
<img
src="./img/screen_get_started.png"
class="rounded-lg drop-shadow-xl"
/>
</div>
</div>
<div
class="absolute top-1/2 flex w-full -translate-y-1/2 transform items-center justify-center"
style="pointer-events: none"
>
<div
class="relative mt-20 flex items-center justify-center md:mt-56 md:ml-4 lg:mt-72 xl:mt-80"
>
<svg
aria-hidden="true"
class="absolute left-[calc(50%-9rem)] top-[-2rem] inline-block h-12 w-12"
fill="currentColor"
>
<path
d="M5.328 7.336a3 3 0 0 0-3.604 4.797l3.604-4.797Zm41.4 22.281a3 3 0 0 0 1.098-4.098l-13.5-23.383a3 3 0 1 0-5.196 3l12 20.785-20.785 12a3 3 0 0 0 3 5.196l23.383-13.5ZM1.724 12.133c13.178 9.9 27.916 13.815 42.727 17.784l1.553-5.796c-14.968-4.01-28.569-7.689-40.676-16.785l-3.604 4.797Z"
/>
</svg>
<a
class="inline-block rounded-full bg-[hsl(338,83%,50%)] hover:bg-[hsl(338,83%,60%)] px-14 py-6 text-center text-[21px] font-semibold leading-[31.5px] text-white md:px-12 md:py-7"
style="pointer-events: all"
href="https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/tutorial"
>Try me</a
>
</div>
</div>
</div>
</div>
</section>
<section class="bg-[#00023b] text-[#999bba]">
<div class="mx-auto max-w-screen-xl py-8 text-white md:py-16 lg:py-24">
<div class="px-4 md:px-12 lg:px-16 xl:px-24">
<h1
class="text-center text-[28px] font-bold leading-[34px] lg:text-[32px] lg:leading-[40px]"
>
All the building blocks you need
</h1>
<p
class="mt-8 mb-8 text-center text-[18px] font-light leading-[26px] md:mb-16 lg:text-[21px] lg:leading-[28px]"
>
Focus on business logic and let react-admin handle common
features.<br />
The vast library of hooks and components covers most use cases.
</p>
</div>
<div class="relative">
<div
class="lg:w-30 absolute inset-y-0 left-0 z-10 w-10 bg-gradient-to-r from-[#00023b] to-transparent md:w-20"
></div>
<div
class="lg:w-30 absolute inset-y-0 right-0 z-10 w-10 bg-gradient-to-l from-[#00023b] to-transparent md:w-20"
></div>
<div
id="building-blocks"
class="space-y-2 overflow-hidden whitespace-nowrap text-[21px] font-bold leading-[24px] text-white lg:space-y-4 lg:text-[24px] lg:leading-[28px]"
>
<ul class="flex flex-nowrap gap-2 lg:gap-4">
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/roles-and-permissions.svg"
/>
Roles & Permissions
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/forms-and-validation.svg"
/>Forms & validation
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/full-featured-datagrid.svg"
/>
Full-featured datagrid
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/relationships.svg"
/>
Relationships
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/i18n.svg" />
i18n
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/responsive.svg" />
Responsive
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/preferences.svg" />
Preferences
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/theming.svg" />
Theming
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/undo.svg" />
Undo
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/caching.svg" />
Caching
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/routing.svg" />
Routing
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/rich-text-editor.svg"
/>
Rich text editor
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/notifications.svg"
/>
Notifications
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img class="mr-2 -ml-1" src="./img/features/realtime.svg" />
Realtime
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/search-and-filter.svg"
/>
Search & Filter
</li>
<li
class="flex items-center rounded-3xl bg-[#2e3062] py-3 px-5 pr-12 lg:px-6 lg:py-4 lg:pr-14"
>
<img
class="mr-2 -ml-1"
src="./img/features/accessibility.svg"
/>
Accessibility
</li>
</ul>
</div>
</div>
</div>
</section>
<section
class="bg-[#e7e8f3] text-[#00023b] max-md:bg-[url:url('/img/group_31.svg'),url('/img/group_31.svg')] max-md:bg-[length:200px_200px,200px_200px] max-md:bg-[position:top_-100px_center,bottom_-100px_center] max-md:bg-no-repeat"
>
<div
class="p_y-24 md:p_y-24 lg:p_y-40 mx-auto max-w-screen-xl px-4 md:px-12 lg:px-24"
>
<div class="grid grid-cols-1 gap-0 md:grid-cols-2">
<div
class="pt-24 pb-10 text-center md:pb-24 md:pr-16 md:text-left lg:py-40"
>
<h1
class="text-[28px] font-bold leading-[34px] lg:text-[32px] lg:leading-[40px]"
>
Already works with your API
</h1>
<p
class="mt-8 text-[18px] font-light leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Find adapters for most REST and GraphQL dialects, or write your
own in minutes. React-admin is backend agnostic.<br /><br />For
example :
<b class="font-bold"
>Open API, json:api, GraphQL, Supabase, API Platform, Django,
Firebase, HAL, Spring Boot, Prisma....</b
>
</p>
</div>
<div
class="flex items-center justify-center bg-no-repeat pb-28 md:bg-[url:url('/img/group_31.svg'),url('/img/group_31.svg')] md:bg-[length:320px_320px,320px_320px] md:bg-[position:top_-160px_center,bottom_-160px_center] md:pb-0 lg:bg-[length:366px_366px,366px_366px] lg:bg-[position:top_-183px_center,bottom_-183px_center]"
>
<img
src="./img/your-api.svg"
class="h-[90px] w-[320px] md:h-[110px] md:w-[410px] lg:h-[135px] lg:w-[500px] xl:h-[150px] xl:w-[560px]"
/>
</div>
</div>
</div>
</section>
<section class="bg-white text-[#00023b]">
<div class="mx-auto max-w-screen-xl py-8 px-4 md:px-12 md:py-16 lg:p-24">
<h1
class="mb-16 text-center text-[28px] font-bold leading-[34px] lg:text-[32px] lg:leading-[40px]"
>
Read what people say about it...
</h1>
<div
class="columns-1 gap-8 space-y-8 md:columns-2 lg:columns-3 lg:gap-16"
>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“We have recommended react-admin to several organizations. We are
more than satisfied with react-admin and we are excited to
continue using react-admin in the future!”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Alexander Rees
</p>
<p class="text-[18px] font-light leading-[26px]">
Head of Web Development, Caritas
</p>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/caritas.jpg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“I am definitely enjoying using react-admin. I was exposed to it a
few years ago on a product/project I inherited and maintain, and
now am using it for two other projects.”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Jeff Israel
</p>
<p class="text-[18px] font-light leading-[26px]">
Head of Engineering, Code Finds a Way
</p>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/code-finds-a-way.jpg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“React-admin is simpler to setup and more customizable than forest
admin. Support is great, documentation is rich of examples and
explain well the philosophy of the library.”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Nicolas Girault
</p>
<p class="text-[18px] font-light leading-[26px]">
Software Engineer, lalilo
</p>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/lalilo.jpg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“React-admin has allowed us to quickly create and evolve a
powerful tool that otherwise would have taken months of time and
effort to develop.”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Guillermo Noain
</p>
<p class="text-[18px] font-light leading-[26px]">
Tech Lead, Iron Hack
</p>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/iron-hack.jpg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“We've been using react admin in our company project for quite
some time now and we loved it. We really appreciate your hard work
and we wish all the best for the react-admin project.”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Patrick André TOLOJANAHARY
</p>
<p class="text-[18px] font-light leading-[26px]">
FullStack Software Developer, SmartPredict
</p>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/smartpredict.jpeg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“We were looking to improve the graphic interface of our custom
made web admins. We ended up changing our entire client-side
infrastructure to one based on React-admin in record time!”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Aníbal Svarcas
</p>
<p class="text-[18px] font-light leading-[26px]">
Senior Developer, Metiri
</p>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/metiri.jpg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“Having built React Admin into our products, it's allowed us to
develop simplistic CMS's right through to complex, highly
integrated web apps, with confidence and repeated success, it's an
incredible framework.”
</p>
<div class="mt-8 flex justify-between">
<div>
<p
class="font-bold leading-[26px] lg:text-[21px] lg:leading-[28px]"
>
Anthony Main
</p>
<span class="text-[18px] font-light leading-[26px]">
Founder,
</span>
<a
href="https://thedistance.co.uk/"
class="underline hover:no-underline text-[18px] font-light leading-[26px]"
>
The Distance
</a>
</div>
<img
class="inline-block h-20 w-20 rounded-full ml-2"
src="./img/users/the-distance.jpg"
alt=""
/>
</div>
</blockquote>
<blockquote
class="break-inside-avoid-column rounded-xl bg-[#e7e8f3] p-8"
>
<p class="text-[18px] font-light leading-[26px] italic">
“Having been using react-admin since 2018, I can vouch for its
greatness. Their expert team knows how to leverage popular and