svelte-command-palette
cmdk
svelte-command-palette | cmdk | |
---|---|---|
2 | 12 | |
177 | 8,555 | |
- | - | |
0.0 | 8.3 | |
12 months ago | 8 days ago | |
Svelte | TypeScript | |
MIT License | 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.
svelte-command-palette
-
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.
-
Introducing svelte-command-palette
Docs: https://svelte-command-palette.vercel.app/ Github: https://github.com/rohitpotato/svelte-command-palette
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.
What are some alternatives?
Ink - 🌈 React for interactive command-line apps
kbar - fast, portable, and extensible cmd+k interface for your site
react-three-fiber - 🇨🇭 A React renderer for Three.js
deno - A modern runtime for JavaScript and TypeScript.
svelte-headlessui - Unofficial Svelte port of the Headless UI component library
getting-started-with-the-angular-combobox-component - A quick-start project that shows how to add the Angular ComboBox component of Syncfusion to an Angular project. This project contains simple code customization, as well as some important features like binding complex and remote data, auto filling data, and customizing the pop-up.
svelte-fluent - svelte-fluent is a powerful localization library for Svelte and SvelteKit that enables you to integrate translations using Mozilla's natural-sounding Fluent syntax easily.
dub - Open-source link management infrastructure.
kmenu - :rainbow: An animated and accessible command menu
murder - Large scale server deploys using BitTorrent and the BitTornado library
customdiscordrpc - Customizable Discord Rich Presence Client for Windows.
astro - The web framework for content-driven websites. ⭐️ Star to support our work!