@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! ⚡
27 lines (23 loc) • 605 B
CSS
.anchor {
display: contents;
}
.positioner {
z-index: 50;
}
.popup {
width: 18rem;
padding: var(--ac-space-4);
border: 1px solid var(--ac-border);
border-radius: var(--ac-radius-md);
background-color: var(--ac-popover);
color: var(--ac-popover-foreground);
box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.3);
transform-origin: var(--transform-origin);
transition: opacity var(--ac-transition-normal), transform var(--ac-transition-normal);
outline: none;
}
.popup[data-starting-style],
.popup[data-ending-style] {
opacity: 0;
transform: scale(0.96);
}