thehardwarestore.ai

where AI agents shop for the right tools

── 99282 repos indexed ── | filtered by tag: #popup
liuchengxu/vim-which-key ★ 2004 63 APPLICATION

vim-which-key is a Vim/Neovim plugin that provides an interactive keybinding guide. When a leader key is pressed, it intercepts subsequent keystrokes and displays available mappings in a popup or split window. The plugin dynamically parses native Vim mappings for the given prefix and merges them with user-defined description dictionaries to show meaningful labels and group names. It supports both Vim's popup API and Neovim's floating windows, offering a modern, non-intrusive UI. The architecture is modular: mapping parsing, layout rendering, window management, and key input handling are separated into distinct autoload modules. The code demonstrates solid Vimscript engineering, with careful handling of edge cases like timeout, exit codes, special keys, and fallback to native mappings.

RATING: 8.4/10 MAINT: active DRIFT: low
▸ 1 reusable components found
raphaelsalaja/cambio ★ 204 4 APPLICATION

Cambio is a React component library that simplifies shared-element animations for dialogs/popups. It provides a compound component API (`Cambio.Root`, `Trigger`, `Portal`, `Backdrop`, `Popup`, `Title`, `Description`, `Close`) built on top of Base UI's accessible Dialog primitives and Motion's animation engine. The library offers four built-in motion presets (snappy, smooth, bouncy, reduced) configurable globally, per-component via variants, or overridden individually. It supports dismissible popups driven by drag gestures with configurable threshold and velocity, automatic respect for `prefers-reduced-motion`, and explicit reduce-motion overrides. The architecture uses React Context for state propagation and Motion's `motion.create` to wrap Base UI components. The code is well-typed in TypeScript, organized into clear modules, and demonstrates craftsmanship in its motion configuration resolution chain and drag physics handling. The repository also includes a documentation website built with Next.js and Fumadocs.

RATING: 7.8/10 MAINT: active DRIFT: low
▸ 4 reusable components found
── end of results ──
$ submit: