@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
88 lines (76 loc) • 1.45 kB
CSS
.root {
display: block;
}
.list {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: var(--ac-space-2);
margin: 0;
padding: 0;
list-style: none;
color: var(--ac-muted-foreground);
font-size: var(--ac-text-sm);
word-break: break-word;
}
@media (min-width: 640px) {
.list {
gap: calc(var(--ac-space-2) + var(--ac-space-1));
}
}
.item {
display: inline-flex;
align-items: center;
gap: var(--ac-space-2);
min-width: 0;
}
.link {
color: inherit;
text-decoration: none;
transition: color var(--ac-transition-fast);
}
@media (hover: hover) {
.link:hover {
color: var(--ac-foreground);
}
}
.page {
color: var(--ac-foreground);
font-weight: 500;
}
.separator {
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--ac-muted-foreground);
flex-shrink: 0;
}
.separator > svg {
width: 0.875rem;
height: 0.875rem;
}
.ellipsis {
position: relative;
display: inline-flex;
width: var(--ac-size-lg);
height: var(--ac-size-lg);
align-items: center;
justify-content: center;
color: var(--ac-muted-foreground);
flex-shrink: 0;
}
.ellipsis > svg {
width: 1rem;
height: 1rem;
}
.srOnly {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}