cmdk
framer/motion
cmdk | framer/motion | |
---|---|---|
12 | 43 | |
8,555 | 22,119 | |
- | 1.6% | |
8.3 | 9.8 | |
10 days ago | 6 days ago | |
TypeScript | 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.
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.
framer/motion
-
How AnimatePresence in framer-motion works
The two most popular choices now (circa Jan 2024) are React Transition Group, started in 2016, and Framer Motion, started in 2018. I'm not too familiar with the former, so this article solely dives into the workings of AnimatePresence from Framer Motion and how it's able to enable exit animations.
- How can I make page transition like this using NextJS + Framer Motion?
-
Smooth Scrolling with React & Framer Motion
Install Framer Motion with npm install framer-motion.
-
5 Not-So-Typical React Libraries for an Outstanding Project
GitHub: https://github.com/framer/motion
-
"react-next-tilt" and "react-flip-tilt" NPM Packages
At this point, I was already using a tilt component (react-parallax-tilt) in my portfolio, and after checking this page I had the general idea of how it should be done, a container with transform-style: preserve-3d, with two children, one tilt and the other an image, both having backface-visibility: hidden and the tilt being rotated to face backward at the start. For the animation, I decided to use framer-motion because I was already familiar with it and knew it had what was needed to get the job done (and I'm glad I did because later I needed to await the animation and it was easy with framer-motion).
-
Motion UI in React
Two of the most popular animation libraries for React include React Spring [26.1k+ GitHub stars] and Framer Motion [19.6k+ GitHub stars], but there are many to choose from. Arafat Islam has a great list of animation libraries here.
- Best Animation packages for React.js , every frontend developer should use it
-
Framer Motion tutorial: How to easily create React animations
Why should you consider using Framer Motion in your React project? Framer Motion is a fairly popular and actively maintained library, with 19k stars on GitHub, and plenty of resources to support it.
- 5 React Libraries to Level Up your Projects in 2023
-
Best Animation Libraries For React🎉
Framer Motion has over 18,000 GitHub stars and 2.2M weekly NPM downloads.
What are some alternatives?
kbar - fast, portable, and extensible cmd+k interface for your site
react-spring - ✌️ A spring physics based React animation library
deno - A modern runtime for JavaScript and TypeScript.
react-gsap-enhancer - Use the full power of React and GSAP together
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.
react-motion - A spring that solves your animation problems.
dub - Open-source link management infrastructure.
three.js - JavaScript 3D Library.
svelte-command-palette - Dead simple command palette for svelte
GreenSock-JS - GSAP (GreenSock Animation Platform), a JavaScript animation library for the modern web
kmenu - :rainbow: An animated and accessible command menu
react-beautiful-dnd - Beautiful and accessible drag and drop for lists with React