shadcn/ui
react-hook-form
shadcn/ui | react-hook-form | |
---|---|---|
144 | 212 | |
58,619 | 39,768 | |
7.2% | 1.2% | |
9.3 | 8.9 | |
about 17 hours 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.
shadcn/ui
-
Wasp x Supabase: Smokinโ Hot Full-Stack Combo ๐ถ๏ธย ๐ฅ
Check out the beautiful UI crafted by ShadCN over at the deployed version of our app โ sign in with Google and get some sweet cards! Plus, the entire project is open source. Grab the code from GitHub.
-
TanStack Form: Setup and simple validation (with shadcn/ui)
Itโs Headless so you can use it with whatever UI components you have in your project and as with everything in TanStack itโs type-safe! In this example we'll use components from shadcn/ui to build the form but you can really make it work with any UI library.
-
Integrate Copilot feature into your React applications using CopilotKit
Shadcn UI
-
Shadcn UI: A Developer's Delight (My Experience)
You can access shadcn/UI using the following links. Official Site Github Repo
-
Create an AI prototyping environment using Jupyter Lab IDE with Typescript, LangChain.js and Ollama for rapid AI prototyping
I build an Angular or React app or smart component that uses the store in an Nx monorepo. I use the Shadcn UI in React apps, and the Shadcn-based spartan/ui in Angular apps, so I can use almost the same app architecture both in Angular and React.
-
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!
-
System & Database Design (Day 1) - Creating a SaaS Startup in 30 Days
Shadcn/ui: I've never tried it before but have always wanted to switch from MaterialUI
- JoblessDev: New Open-Source CS Job Platform for Students and Recent Grads
-
Show HN: Open Source TailwindCSS UI Components
Honestly the ergonomics of heavily customizable generic component libraries aren't great. Copy and pasting a simple component to make the specific customizations you want helps reduce JS ecosystem churn and dependency pain. Popularity of libraries like shadcn/ui [1] are good acknowledgements of that.
[1] https://ui.shadcn.com/
-
Embark on a UI Odyssey: Top 5 Spectacular Libraries to Explore
shadcn/ui
react-hook-form
-
formengine VS react-hook-form - a user suggested alternative
2 projects | 2 May 2024
-
Crafting Forms in React: Vanilla vs. React Hook Form vs. Formik
React Hook Form is one of the most popular libraries for building forms in React apps with over 39k stars on GitHub. The library has no external dependencies according to Bundle Phobia.
-
Best Next.js Libraries and Tools in 2024
Link: https://react-hook-form.com/
-
Build Dynamic Forms with React Hook Form
The idea here is to first define an array of field names for each provider. We'll also need a map with more detailed information about each field. This map will contain the field name, label, type, and validation options. We'll use this map to render the form fields and also to validate the form. Finally, we'll have a Form component that will render the form fields based on their type and handle the form submission. We'll use React Hook Form to handle the form state and validation.
-
How to send emails from your website using Twilio SendGrid
Now we need to install React Hook Form because that is the package we are going to use for building our form. We also need to install the package for SendGrid. cd into the sendgrid-contact-form folder and then run this command to install the packages:
-
React: A Mess That Shouldn't Exist In Web Development
Imagine someone unknowingly unleashing heavy computation on a component without useMemo. That computation will run on every component re-render. Not only that, The dependency array in your hooks (useEffect, useMemo, useCallback) are also checked in each re-render. It's like a double whammy for performance pitfalls! I know that you can avoid this by some technique like what react-hook-form done, but remember thats an extra complexity.
-
[React JS] I don't know a better way to handle Forms in React
But now, all those difficulties are gone since I found React Hook Form and zod.
- Squeezing more performance out of your Nextjs App
-
New client-side hooks coming to React 19
This will greatly simplify the handling of AJAX forms in React - like for instance for a search form. But again, this may not be enough to get rid of third-party libraries like React Hook Form, which does much more than just handle form submission (validation, side effects, etc).
-
UpsertDialog in React
We could consider to do all these steps specifically for each data-set; of course this isn't an efficient approach due to the amount of repeated code involved. So what if we could abstract all this in a single management? A way to do this could be using a simple configuration in which we specify each aspect for each input (its type, validations required and so on). And we can do this thanks to the extreme flexibility provided by React Hook Form.
What are some alternatives?
daisyui - ๐ผ ๐ผ ๐ผ ๐ผ ๐ผ โThe most popular, free and open-source Tailwind CSS component library
react-jsonschema-form - A React component for building Web forms from JSON Schema.
nextui - ๐ Beautiful, fast and modern React UI library.
formik - Build forms in React, without the tears ๐ญ [Moved to: https://github.com/jaredpalmer/formik]
material-ui-docs - โ ๏ธ Please don't submit PRs here as they will be closed. To edit the docs or source code, please use the main repository:
react-final-form - ๐ High performance subscription-based form state management for React
flowbite - Open-source UI component library and front-end development framework based on Tailwind CSS
antd - An enterprise-class UI design language and React UI library
mantine - A fully featured React components library
zustand - ๐ป Bear necessities for state management in React
svelte-forms - Svelte forms validation made easy