@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! ⚡
65 lines (56 loc) • 1.06 kB
CSS
.root {
display: flex;
width: 100%;
justify-content: center;
}
.content {
display: flex;
flex-direction: row;
align-items: center;
gap: var(--ac-space-1);
margin: 0;
padding: 0;
list-style: none;
}
.item {
display: flex;
}
.link {
min-width: var(--ac-size-default);
text-decoration: none;
}
.previous {
gap: var(--ac-space-1);
padding-left: calc(var(--ac-space-3) - 0.125rem);
}
.next {
gap: var(--ac-space-1);
padding-right: calc(var(--ac-space-3) - 0.125rem);
}
.ellipsis {
position: relative;
display: inline-flex;
width: var(--ac-size-default);
height: var(--ac-size-default);
align-items: center;
justify-content: center;
color: var(--ac-muted-foreground);
}
.ellipsis > svg,
.previous > svg,
.next > svg {
width: 1rem;
height: 1rem;
flex-shrink: 0;
}
.srOnly {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border: 0;
}