{"_id":"@amitnegi007/react","name":"@amitnegi007/react","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@amitnegi007/react","version":"0.0.1","description":"Single source of truth react component library for all things shadcn/ui.","type":"module","main":"dist/index.cjs","module":"dist/index.js","types":"dist/index.d.ts","sideEffects":false,"exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs","types":"./dist/index.d.ts"},"./utils":{"import":"./dist/utils.js","require":"./dist/utils.cjs","types":"./dist/utils.d.ts"},"./tailwind-preset":{"require":"./dist/tailwind-preset.cjs","types":"./dist/tailwind-preset.d.ts"}},"scripts":{"build":"export NODE_OPTIONS=--max-old-space-size=8192 && tsup --external pkgJson","deps:check":"npx npm-check-updates","deps:upgrade":"npx npm-check-updates -i","dev":"storybook dev -p 6006","lint":"eslint . --ext .ts,.tsx","format":"prettier --write .","prepare":"husky install","precommit":"lint-staged","test":"echo \"Error: no test specified\" && exit 1","build-storybook":"storybook build"},"dependencies":{"@radix-ui/react-accordion":"^1.2.0","@radix-ui/react-alert-dialog":"^1.1.1","@radix-ui/react-aspect-ratio":"^1.1.0","@radix-ui/react-avatar":"^1.1.0","@radix-ui/react-checkbox":"^1.1.1","@radix-ui/react-collapsible":"^1.1.0","@radix-ui/react-context-menu":"^2.2.1","@radix-ui/react-dialog":"^1.1.1","@radix-ui/react-dropdown-menu":"^2.1.1","@radix-ui/react-hover-card":"^1.1.1","@radix-ui/react-label":"^2.1.0","@radix-ui/react-menubar":"^1.1.1","@radix-ui/react-navigation-menu":"^1.2.0","@radix-ui/react-popover":"^1.1.1","@radix-ui/react-progress":"^1.1.0","@radix-ui/react-radio-group":"^1.2.0","@radix-ui/react-scroll-area":"^1.1.0","@radix-ui/react-select":"^2.1.1","@radix-ui/react-separator":"^1.1.0","@radix-ui/react-slider":"^1.2.0","@radix-ui/react-slot":"^1.1.0","@radix-ui/react-switch":"^1.1.0","@radix-ui/react-tabs":"^1.1.0","@radix-ui/react-toggle":"^1.1.0","@radix-ui/react-toggle-group":"^1.1.0","@radix-ui/react-tooltip":"^1.1.2","clsx":"^2.1.1","cmdk":"^1.0.0","cva":"npm:class-variance-authority@^0.7.0","embla-carousel-react":"^8.2.1","input-otp":"^1.2.4","lucide-react":"^0.378.0","react-day-picker":"^9.0.9","react-resizable-panels":"^2.1.2","sonner":"^1.5.0","tailwind-merge":"^2.5.2","tailwindcss-animate":"^1.0.7"},"peerDependencies":{"react":"18.x","react-dom":"18.x"},"devDependencies":{"@chromatic-com/storybook":"^1.7.0","@storybook/addon-essentials":"^8.2.9","@storybook/addon-interactions":"^8.2.9","@storybook/addon-links":"^8.2.9","@storybook/addon-mdx-gfm":"^8.2.9","@storybook/addon-onboarding":"^8.2.9","@storybook/blocks":"^8.2.9","@storybook/manager-api":"^8.2.9","@storybook/react":"^8.2.9","@storybook/react-vite":"^8.2.9","@storybook/test":"^8.2.9","@storybook/theming":"^8.2.9","@types/react":"^18.3.3","@types/react-dom":"^18.3.0","@typescript-eslint/eslint-plugin":"^6.20.0","@typescript-eslint/parser":"^6.20.0","autoprefixer":"^10.4.20","eslint":"^8.56.0","eslint-config-prettier":"^9.1.0","eslint-plugin-storybook":"^0.8.0","husky":"^8.0.3","lint-staged":"^15.2.7","postcss":"^8.4.45","prettier":"3.3.3","prettier-plugin-tailwindcss":"^0.6.6","react":"^18.3.1","react-dom":"^18.3.1","storybook":"^8.2.9","tailwindcss":"^3.4.10","tsup":"^8.2.4","typescript":"^5.6.2"},"lint-staged":{"*.{js,ts,tsx,css,md}":"prettier --write --ignore-unknown","*.{js,ts,tsx}":"eslint --fix"},"keywords":["shadcn","react","tailwind","radix","ui","components"],"bugs":{"url":"https://github.com/michael-gee/gee-ui/issues"},"author":{"name":"Michael Gee"},"license":"MIT","_id":"@amitnegi007/react@0.0.1","gitHead":"9ef5de6ff47c4ced1bbff028402efd5da6aee374","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-DmF+QeK8bNjQ4Ofsa11iVhcwtj1ZIa/H9j14LQ69Iu6h8Z2dO74n9IEPDLUVvimiWRy6lOjvK2AgGyp3zkpEHw==","shasum":"811dda1512549da4145d14dfef80251630704cc4","tarball":"https://registry.npmjs.org/@amitnegi007/react/-/react-0.0.1.tgz","fileCount":438,"unpackedSize":553383,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzLIrvVDgXiwCvt5DQliQMtm098k1U2NRty0L8LNvEWQIgAcT0mA898eFJlHINbP4Gt+hEr6/iH3DZVWSsLpZDu1A="}]},"_npmUser":{"name":"amitnegi007","email":"zxcvtest077@gmail.com"},"directories":{},"maintainers":[{"name":"amitnegi007","email":"zxcvtest077@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react_0.0.1_1736765996276_0.5967607378175093"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-13T10:59:56.177Z","0.0.1":"2025-01-13T10:59:56.490Z","modified":"2025-01-13T10:59:56.769Z"},"maintainers":[{"name":"amitnegi007","email":"zxcvtest077@gmail.com"}],"description":"Single source of truth react component library for all things shadcn/ui.","keywords":["shadcn","react","tailwind","radix","ui","components"],"author":{"name":"Michael Gee"},"bugs":{"url":"https://github.com/michael-gee/gee-ui/issues"},"license":"MIT","readme":"# @gee-ui/react\n\nReact (TypeScript) component library which serves as a wrapper library around [shadcn/ui](https://ui.shadcn.com/). Unlock the same ease of use and customization for all components but with a single source of truth library.\n\nshadcn has been the go-to choice for a ton of React applications, after using it within multiple projects I came across 3 problems which this library aims to solve:\n\n### 1. Dependency management\n\nThere are a lot of times where you have to install dependencies like [Radix](https://www.radix-ui.com/) to get the components working end-to-end. These dependencies can quickly add up leaving you with the responsibility to maintain these dependencies over time. Instead of maintaining 10+ dependencies wouldn't it be nice to just maintain one?\n\n**Before**\n\n```\n\"@radix-ui/react-accordion\": \"...\",\n\"@radix-ui/react-alert-dialog\": \"...\",\n\"@radix-ui/react-aspect-ratio\": \"...\",\n\"@radix-ui/react-avatar\": \"...\",\n\"@radix-ui/react-checkbox\": \"...\",\n\"@radix-ui/react-collapsible\": \"...\",\n\"@radix-ui/react-context-menu\": \"...\",\n\"@radix-ui/react-dialog\": \"...\",\n\"@radix-ui/react-dropdown-menu\": \"...\",\n\"@radix-ui/react-hover-card\": \"...\",\n\"@radix-ui/react-label\": \"...\",\n\"@radix-ui/react-menubar\": \"...\",\n\"@radix-ui/react-navigation-menu\": \"...\",\n\"@radix-ui/react-popover\": \"...\",\n\"@radix-ui/react-progress\": \"...\",\n\"@radix-ui/react-radio-group\": \"...\",\n\"@radix-ui/react-scroll-area\": \"...\",\n\"@radix-ui/react-select\": \"...\",\n\"@radix-ui/react-slider\": \"...\",\n\"@radix-ui/react-slot\": \"...\",\n\"@radix-ui/react-switch\": \"...\",\n\"@radix-ui/react-tabs\": \"...\",\n\"@radix-ui/react-toggle\": \"...\",\n\"@radix-ui/react-toggle-group\": \"...\",\n\"@radix-ui/react-tooltip\": \"...\",\n\"clsx\": \"...\",\n\"cmdk\": \"...\",\n\"cva\": \"...\",\n\"embla-carousel-react\": \"...\",\n\"input-otp\": \"...\",\n\"lucide-react\": \"...\",\n\"react-day-picker\": \"...\",\n\"react-resizable-panels\": \"...\",\n\"sonner\": \"...\",\n\"tailwind-merge\": \"...\",\n\"tailwindcss-animate\": \"...\"\n... that's 36 dependencies and counting! hopefully you get my point\n\n```\n\n**After**\n\n```\n\"@gee-ui/react\": \"^1.0.0\"\n```\n\n### 2. Duplication of the same work in multiple projects\n\nThe problem above multiplies over time especially if you use it in multiple projects.\n\nA big inspiration for this library is the React 19 release [ref as a prop](https://react.dev/blog/2024/04/25/react-19#ref-as-a-prop) change. This is a long awaited change especially for someone who uses [react-hook-form](https://react-hook-form.com/) which relies on refs to coordinate form changes. The only thing I dread about these changes is the amount of components I will have to remove `forwardRef` from.\n\n**Before**\n\n![Large Github pull request](https://res.cloudinary.com/michaelgee/image/upload/v1716049756/Screenshot_2024-05-18_at_12.29.00_PM_q8pf9h.png)\n\n**After**\n\n`\"@gee-ui/react\": \"^1.0.0\"\"` -> `\"@gee-ui/react\": \"^2.0.0\"`\n\n### 3. Additional opt-in functionality & features\n\nFor good reason shadcn keeps most components minimal giving users the flexibility to build on top of them. This library aims to not only provide those minimal components but also opt-in batteries included components as well.\n","readmeFilename":"README.md"}