@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! ⚡
48 lines (40 loc) • 726 B
CSS
.root {
position: relative;
overflow: hidden;
}
.viewport {
width: 100%;
height: 100%;
border-radius: inherit;
}
.content {
min-width: 100%;
}
.scrollbar {
display: flex;
touch-action: none;
user-select: none;
transition: background-color var(--ac-transition-fast);
}
.vertical {
width: 0.625rem;
height: 100%;
padding: 1px;
border-left: 1px solid transparent;
}
.horizontal {
flex-direction: column;
width: 100%;
height: 0.625rem;
padding: 1px;
border-top: 1px solid transparent;
}
.thumb {
position: relative;
flex: 1;
border-radius: 999px;
background-color: var(--ac-border);
}
.corner {
background-color: transparent;
}