cmdk
getting-started-with-the-angular-combobox-component
cmdk | getting-started-with-the-angular-combobox-component | |
---|---|---|
12 | 1 | |
8,555 | 0 | |
- | - | |
8.3 | 3.2 | |
10 days ago | 3 months ago | |
TypeScript | TypeScript | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cmdk
-
An autocomplete select input using shadcn/ui+react-hook-form+zod.
The Combobox of shadcn/ui used in the above implementation is a wrapped version of cmdk’s Combobox. I wanted to change the logic of suggest, so I added my own implementation to the filter as described in cmdk’s documentation. It seems that sorting is also possible. For example,change https://github.com/armandsalle/my-site/blob/main/src/components/autocomplete.tsx#L88 to the following:
-
Why react?
For a company of my size and varied requirements though, the ecosystem saves us months of work since there's always a library to help meet the requirements. A specific example recently would be the need for a command menu, with React we can just take one off the shelf like https://cmdk.paco.me/ that with 5.2k stars we can be confident is stable. Compared with Svelte's https://github.com/rohitpotato/svelte-command-palette with 140 stars there's just more risk when deploying to millions of users.
- Why is "cmd/ctrl+k" the hotkey to search on many websites like tailwindcss, github, and vuejs docs?
- Linear/Notion-like command bar widget (Cmd + K) for your SaaS dashboard - is this helpful?
-
Does send email to customers really work on a SaaS business? If not, what’s the best way to ask for feedbacks?
You can either build a command palette yourself from scratch by using Cmdk or Kbar, or go with the SaaS route (e.g Magny) in case you want something readily baked.
- Fast, composable, unstyled command menu for React
-
I made an interactive landing page for my open-source side project
It was strongly inspired by my good friend Paco & Rauno's cmdk.paco.me project :)
-
vue-command-palette - The missing CMDK (Command Palette) interface for Vue
cmdk - Fast, unstyled command menu React component.
-
🌈 Building an Animated and Accessible Command Menu in React
With that, there are a few different approaches for adding a command menu to your website: you can use an open source library (like kmenu, cmdk, or kbar), use a proprietary tool such as CommandBar, or build your own. This tutorial focuses on building your own implementation, however you may not need to depending on whether or not you're satisfied with the other options available.
- ⌘K: Fast, composable, unstyled command menu for React.
getting-started-with-the-angular-combobox-component
-
Getting Started with the Angular ComboBox Component
Download an example from GitHub: https://github.com/SyncfusionExamples/getting-started-with-the-angular-combobox-component
What are some alternatives?
kbar - fast, portable, and extensible cmd+k interface for your site
autocomplete - 🔮 Fast and full-featured autocomplete library
deno - A modern runtime for JavaScript and TypeScript.
chakra-react-select - A Chakra UI themed wrapper for the popular library React Select
dub - Open-source link management infrastructure.
Ionic Framework - A powerful cross-platform UI toolkit for building native-quality iOS, Android, and Progressive Web Apps with HTML, CSS, and JavaScript.
svelte-command-palette - Dead simple command palette for svelte
storybook - 📓 The UI component explorer. Develop, document, & test React, Vue, Angular, Web Components, Ember, Svelte & more! [Moved to: https://github.com/storybookjs/storybook]
kmenu - :rainbow: An animated and accessible command menu
Angular - Deliver web apps with confidence 🚀
murder - Large scale server deploys using BitTorrent and the BitTornado library
storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.