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

44 lines (38 loc) • 730 B
.timeline { position: relative; display: flex; flex-direction: column; gap: 0; } .item { position: relative; display: flex; gap: var(--ac-space-3); padding-bottom: var(--ac-space-4); } .item:last-child { padding-bottom: 0; } .item:not(:last-child)::before { content: ""; position: absolute; left: 0.5625rem; top: 1.5rem; bottom: 0; width: 2px; background-color: var(--ac-border); } .dot { width: 1.25rem; height: 1.25rem; margin-top: 0.125rem; border: 2px solid var(--ac-primary); border-radius: 50%; background-color: var(--ac-background); flex-shrink: 0; } .content { flex: 1; min-width: 0; padding-bottom: var(--ac-space-1); }