@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! ⚡
36 lines (32 loc) • 701 B
CSS
.button {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
height: 2.5rem;
padding: 0.5rem 1rem;
border: 0;
border-radius: var(--ac-radius-lg);
background: var(--ac-primary);
color: var(--ac-primary-foreground);
cursor: pointer;
font-size: var(--ac-text-sm);
font-weight: 500;
}
.button:focus-visible {
outline: 2px solid var(--ac-ring);
outline-offset: 2px;
}
.content {
position: relative;
z-index: 1;
}
.ripple {
position: absolute;
width: 1.25rem;
height: 1.25rem;
pointer-events: none;
border-radius: 9999px;
background: var(--ac-primary-foreground);
}