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
Segmented
After exa.ai
Pick one and it sits up.
- The options share one sunken track.
- The chosen option is a raised card with a lip.
- The others stay flat and grey.
.segmented {
display: flex;
gap: 2px;
padding: 3px;
border-radius: 12px;
background: #e9ebef;
box-shadow: inset 0 1px 2px rgba(20, 22, 31, 0.1);
}
.segmented .on {
border-radius: 9px;
background: linear-gradient(180deg, #fff 0%, #f7f8fa 100%);
box-shadow: inset 0 -2px 0 #e2e4e9, 0 1px 2px rgba(20, 22, 31, 0.12);
}16 of 42