cmdk
Tailwind CSS
cmdk | Tailwind CSS | |
---|---|---|
12 | 1,281 | |
8,555 | 78,568 | |
- | 1.2% | |
8.3 | 9.4 | |
10 days ago | 5 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.
Tailwind CSS
-
How to Build Your Own ChatGPT Clone Using React & AWS Bedrock
Finally, for our front end, we’re going to be pairing Next.js with the great combination of TailwindCSS and shadcn/ui so we can focus on building the functionality of the app and let them handle making it look awesome!
-
Building an Email Assistant Application with Burr
You can use any frontend framework you want — react-based tooling, however, has a natural advantage as it models everything as a function of state, which can map 1:1 with the concept in Burr. In the demo app we use react, react-query, and tailwind, but we’ll be skipping over this largely (it is not central to the purpose of the post).
-
Shared Data-Layer Setup For Micro Frontend Application with Nx Workspace
Tailwind CSS: A utility-first CSS framework for rapidly building custom designs.
-
Preline UI + Gowebly CLI = ❤️
First, you need to make sure that you have a working Tailwind CSS project…
-
Customer service pages for e-commerce built with Tailwind CSS
Tailwind CSS
-
The best testing strategies for frontends
With better CSS approaches like TailwindCSS and Vanilla Extract (which we're heavily using) it's much easier to maintain the UI and make sure it doesn't change unexpectedly. No more conflicting CSS classes, much less CSS specificity issues and much less CSS code in general.
-
ChatCrafters - Chat with AI powered personas
This app was built with Svelte Kit, Tailwind CSS, and many other technologies. For a full rundown, please visit the GitHub repository
-
Mojo CSS vs. Tailwind: Choosing the best CSS framework
Unlike Tailwind, which has over 77,000 stars on GitHub, Mojo CSS has about 200 stars on GitHub. But the Mojo CSS documentation is fairly good and you can find most of the information you’ll need there.
-
Collab Lab #66 Recap
JavaScript React Flowbite Tailwind Firebase - Auth, Database, and Hosting Vite
-
Show HN: Brutalisthackernews.com – A HN reader inspired by brutalist web design
- Performance is a feature.
Another common interpretation of brutalism is aesthetic, reacting to overly complicated user interfaces by creating simpler, more direct ones. Tailwind CSS (https://tailwindcss.com), one of today's most popular CSS libraries, promotes this approach in its component examples. There's also a neat library I've seen recently called "Neobrutalism Components" for React that I like (https://neobrutalism-components.vercel.app), providing components with a similar look and feel to Gumroad. This might more accurately be called 'Neo-Brutalism,' as noted in the comments.
A more engineering-centric interpretation of Brutalism focuses on form, structure, and efficiency, drawing significantly from brutalist architecture principles. Apart from the user interface itself, most mobile, desktop, and web applications are extremely bloated and often perform worse than sites from 10 years ago did. While one HTML file might be "less brutalist" than the original HN site, it is substantially more brutalist than any HN mobile app in existence, and offers nearly identical functionality.
A broader interpretation of brutalism, which could be termed 'Meta-Brutalism,' is embodied in the overall experience on this site through UX flows. Yes, in the strictest sense, the original HN site is more Brutalist in many ways, but it only shows 30 articles at a time and does not function as a PWA. For this site, the experience of reading 10 stories is arguably less brutalist, but for quickly browsing through several pages and skimming articles (which is how I read HN) it is a lot faster, and in my opinion, more Brutalist.
My primary inspiration was addressing software and tool bloat in UIs rather than strictly adhering to every principle set forth by David Bryant Copeland. I don't find it convincing that this site "isn't brutalist" compared to really any other experience apart from the Main HN site, and I would argue the overall experience is more brutalist in its performance and scrolling behavior.
As a side note: I generally don't like Brutalist architecture that much although I believe it is unfairly maligned. I visited the Salk Institute once and enjoyed it though (https://www.archdaily.com/61288/ad-classics-salk-institute-l...).
What are some alternatives?
kbar - fast, portable, and extensible cmd+k interface for your site
flowbite - Open-source UI component library and front-end development framework based on Tailwind CSS
deno - A modern runtime for JavaScript and TypeScript.
antd - An enterprise-class UI design language and React UI 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.
unocss - The instant on-demand atomic CSS engine.
dub - Open-source link management infrastructure.
windicss - Next generation utility-first CSS framework.
svelte-command-palette - Dead simple command palette for svelte
emotion - 👩🎤 CSS-in-JS library designed for high performance style composition
kmenu - :rainbow: An animated and accessible command menu
Material UI - Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.