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

32 lines (29 loc) • 579 B
.root { position: relative; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; flex-shrink: 0; overflow: hidden; border-radius: 9999px; } .image { aspect-ratio: 1 / 1; width: 100%; height: 100%; object-fit: cover; } .fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 9999px; background-color: var(--ac-muted); color: var(--ac-muted-foreground); font-size: var(--ac-text-sm); font-weight: 500; }