@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! ⚡
45 lines (38 loc) • 951 B
CSS
.root-MAgsb4 {
background-color: color-mix(in oklch,var(--ac-foreground),transparent 84%);
cursor: pointer;
height: 1.125rem;
transition: background-color var(--ac-transition-fast);
border: 1px solid #0000;
border-radius: 999px;
outline: none;
align-items: center;
width: 2rem;
padding: .125rem;
display: inline-flex;
position: relative;
}
.root-MAgsb4[data-checked] {
background-color: var(--ac-primary);
}
.root-MAgsb4[data-disabled] {
cursor: not-allowed;
opacity: .5;
}
.root-MAgsb4:focus-visible {
outline: 2px solid var(--ac-ring);
outline-offset: 2px;
}
.thumb-UID9UK {
background-color: var(--ac-background);
height: .875rem;
transition: transform var(--ac-transition-fast);
border-radius: 999px;
width: .875rem;
display: block;
box-shadow: 0 1px 4px #0000002e;
}
.root-MAgsb4[data-checked] .thumb-UID9UK {
transform: translateX(.875rem);
}
/*# sourceMappingURL=switch_module.css.map */