Library
Things I like and keep coming back to.
Type 10
Weighted 6
Retro desktops 9
Web 2.0 and early iPhone 4
Flat and Material 3
Modern 5
Soft and glass 4
Mine 1
shadcn/ui
shadcn/ui
The classics: default, secondary, outline, ghost.
- Four flat variants that share one size and radius.
- Default is near black, secondary is light grey.
- Outline adds a hairline border, and ghost has no background.
.btn {
padding: 8px 16px;
border-radius: 6px;
font: 500 14px Inter, sans-serif;
}
.btn-default { background: #18181b; color: #fafafa; }
.btn-secondary { background: #f4f4f5; color: #18181b; }
.btn-outline {
background: #fff;
color: #18181b;
border: 1px solid #e4e4e7;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-ghost { background: none; color: #18181b; }33 of 42