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

38 lines (33 loc) • 864 B
.input { box-sizing: border-box; display: flex; width: 100%; height: var(--ac-size-default); padding: var(--ac-space-1) var(--ac-space-3); border: 1px solid var(--ac-input); border-radius: var(--ac-radius-md); background-color: transparent; font-size: var(--ac-text-sm); line-height: 1.5; color: var(--ac-foreground); outline: none; transition: border-color var(--ac-transition-fast), box-shadow var(--ac-transition-fast); &::placeholder { color: var(--ac-muted-foreground); } &:focus-visible { border-color: var(--ac-ring); box-shadow: 0 0 0 1px var(--ac-ring); } &:disabled { cursor: not-allowed; opacity: 0.5; } &[type="file"] { border: none; background-color: transparent; font-size: var(--ac-text-sm); font-weight: 500; padding: 0; } }