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
<html><head><title>RUITL Basic Components Demo</title><style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
margin: 0;
padding: 20px;
background: #f5f5f5;
}
.container {
max-width: 800px;
margin: 0 auto;
background: white;
padding: 40px;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.button {
display: inline-block;
background: #007bff;
color: white;
padding: 12px 24px;
border: none;
border-radius: 6px;
cursor: pointer;
text-decoration: none;
font-weight: 500;
margin: 8px 8px 8px 0;
transition: background 0.2s;
}
.button:hover { background: #0056b3; }
.button.secondary { background: #6c757d; }
.button.secondary:hover { background: #545b62; }
.button.success { background: #28a745; }
.button.success:hover { background: #1e7e34; }
.card {
border: 1px solid #e9ecef;
padding: 24px;
margin: 20px 0;
border-radius: 8px;
background: #f8f9fa;
}
.user-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin: 20px 0;
}
.conditional-demo {
border: 2px dashed #007bff;
padding: 20px;
margin: 20px 0;
border-radius: 8px;
}
h1 { color: #343a40; margin-bottom: 10px; }
h2 { color: #495057; border-bottom: 2px solid #e9ecef; padding-bottom: 10px; }
.meta { color: #6c757d; font-style: italic; margin-bottom: 30px; }
code {
background: #f8f9fa;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Monaco', 'Consolas', monospace;
color: #e83e8c;
}
</style></head><body><div class="container"><h1>RUITL Basic Components Demo</h1><p class="meta">This page demonstrates basic RUITL components rendered as HTML</p><h2>Button Components</h2><p>These buttons are generated from RUITL components with different props:</p><button class="button primary" type="button">Primary Button</button><button class="button secondary" type="button">Secondary Button</button><a href="https://github.com/ruitl/ruitl" class="button success">Success Link</a></div></body></html>