react-components
List of React components & libraries I use and recommend.
https://github.com/nicksp/react-components
Last synced: 2 days ago
JSON representation
Authentication
Backend
Database
- Drizzle - headless TypeScript ORM.
Dev Tools
- Storybook - style guide generator and a workbench for building UI components and pages in isolation.
Miscellaneous
- vaul - an unstyled drawer component for React.
- cmdk - — fast, composable, unstyled command menu for React.
- TanStack Query - powerful asynchronous state management, server-state utilities and data fetching.
- React Hook Form - performant, flexible and extensible forms with easy-to-use validation.
- React Email - reliable and responsive html emails.
- fastcomments-react - FastComments component for embedding a live comment thread on a page or SPA.
- react-dropzone - react hook to handle drag and drop for files.
Real-time
- PartyKit - add real-time experience to your projects. It uses WebSockets so that the changes are lightning-fast.
Testing
- Vitest - unit/integration testing framework.
- Playwright - e2e testing.
UI Animation
- Motion - for complex animations (i.e. layout animations) with declarative code.
- React Spring - smoothly interpolate between values in a fluid, organic fashion.
- AutoAnimate - for animations with a single line of code.
- CountUp - quickly create animations that display numerical data in a more interesting way.
UI Components
Autosize textarea
- react-textarea-autosize - replacement for the textarea element which automatically resizes textarea as content changes.
Carousel
- nuka-carousel - small, fast, and accessibility-first React carousel library with an easily customizable UI and behavior.
Chart
- Recharts - off the shelf charts, great composability, optional customization due to opt-in composability.
- tremor - build charts and dashboards fast by copy-paste.
Class variance authority
- Panda CSS - universal, type-safe, CSS-in-JS framework for product teams.
- cva - helps creating component variants.
- Pigment CSS - zero-runtime CSS-in-JS tool that extracts the colocated styles to their own CSS files at build time. Brings better end users' performance, and you get RSC and App Router compatibility without having to significantly change how you author component styles.
Date picker
- react-date-picker - flexible date picker.
- react-daterange-picker - flexible date range picker.
Icons
- Heroicons - beautiful hand-crafted SVG icons.
- Lucide - beautiful & consistent icon toolkit forked from Feather Icons.
Masked input
- imaskjs - input masking with simple API and attention to small usability details such as cursor position, copy-paste, etc.
Notification
- Sonner - an opinionated toast component.
Select
- react-select - filtering, multiple selection, etc.
Slider
- rc-slider - flexible slider component.
Styled component libraries
- shadcn/ui - beautifully designed components that you can copy and paste into your apps. Accessible. Customizable.
- daisyUI - Tailwind CSS components.
- HeroUI - beautiful, fast and modern React UI library.
Syntax highlighting
- Shiki - manage syntax highlighting. It is designed to work at compile-time, making it perfect fit for React Server Components. It adds 0kb to the JavaScript bundle and it can support dozens of languages at no additional cost.
- rehype-pretty-code - beautiful code blocks powered by shiki.
Tables
- TanStack Table - — headless UI for building powerful tables & datagrids for TS/JS.
Tooltips / popovers / dropdowns
- Floating UI - create "floating" elements such as tooltips, popovers, dropdowns, and more.
Unstyled component libraries
- headlessui - completely unstyled, fully accessible UI components, designed to integrate beautifully with Tailwind CSS.
- radix-ui - Radix Primitives is an open-source UI component library for building high-quality, accessible design systems and web apps.
UI Utilities
- TanStack Router - fully typesafe router for React.
- dnd-kit - lightweight, performant, accessible and extensible drag & drop toolkit.
- react-virtualized - components for efficiently rendering large lists and tabular data.
- react-collapse - collapse animation with CSS.
Utilities
Validation
- Zod - TypeScript-first schema validation with static type inference.