UNPKG

@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! ⚡

35 lines (30 loc) • 754 B
.copyButton { display: inline-flex; align-items: center; justify-content: center; padding: var(--ac-space-2); border: 1px solid var(--ac-border); border-radius: var(--ac-radius-sm); background-color: transparent; color: var(--ac-muted-foreground); cursor: pointer; transition: color var(--ac-transition-fast), background-color var(--ac-transition-fast); &:focus-visible { outline: 2px solid var(--ac-ring); outline-offset: 2px; } &:disabled { cursor: not-allowed; opacity: 0.6; } @media (hover: hover) { &:hover:not(:disabled) { background-color: var(--ac-accent); color: var(--ac-accent-foreground); } } } .icon { width: 1rem; height: 1rem; }