@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! ⚡
89 lines (78 loc) • 1.73 kB
CSS
.list-J1rQVj {
border-bottom: 1px solid var(--ac-border);
z-index: 0;
background-color: #0000;
gap: 0;
padding-inline: 0;
display: flex;
position: relative;
}
.tab-Ngb9CQ {
appearance: none;
color: var(--ac-muted-foreground);
cursor: pointer;
font-family: inherit;
font-size: var(--ac-text-sm);
height: 2.25rem;
padding-block: 0;
padding-inline: var(--ac-space-3);
transition: color var(--ac-transition-fast);
-webkit-user-select: none;
user-select: none;
white-space: nowrap;
word-break: keep-all;
background: none;
border: 0;
outline: none;
justify-content: center;
align-items: center;
margin: 0;
font-weight: 500;
display: flex;
&[data-active] {
color: var(--ac-foreground);
}
@media (hover: hover) {
&:hover {
color: var(--ac-foreground);
}
}
&:focus-visible {
position: relative;
&:before {
border-radius: var(--ac-radius-xs);
content: "";
inset: var(--ac-space-1) 0;
outline: 2px solid var(--ac-ring);
outline-offset: -1px;
position: absolute;
}
}
}
.indicator-kKQ3hg {
background-color: var(--ac-foreground);
height: 2px;
translate: var(--active-tab-left) 0;
width: var(--active-tab-width);
z-index: 0;
transition-property: translate, width;
transition-duration: .2s;
transition-timing-function: ease-in-out;
position: absolute;
bottom: -1px;
left: 0;
}
.panel-rP4hUn {
padding-top: var(--ac-space-4);
outline: none;
position: relative;
&:focus-visible {
border-radius: var(--ac-radius-md);
outline: 2px solid var(--ac-ring);
outline-offset: -1px;
}
&[hidden] {
display: none;
}
}
/*# sourceMappingURL=tabs_module.css.map */