{"id":28479094,"url":"https://github.com/husniadil/wxt-react-tailwind-shadcn-template","last_synced_at":"2026-05-04T10:36:45.121Z","repository":{"id":296685564,"uuid":"994144784","full_name":"husniadil/wxt-react-tailwind-shadcn-template","owner":"husniadil","description":"A modern template for building Chrome extensions with WXT, React 19, TypeScript, Tailwind CSS, and shadcn/ui. Includes dark mode, hot reloading, and optimized production builds.","archived":false,"fork":false,"pushed_at":"2025-06-06T08:00:06.000Z","size":1716,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-03T09:41:41.462Z","etag":null,"topics":["browser-extension","chrome-extension","dark-mode","framework","react","shadcn-ui","tailwind","tailwindcss","template-project","theme","theme-switcher","theme-toggle","typescript","typescript-react","wxt"],"latest_commit_sha":null,"homepage":"https://github.com/wxt-dev/wxt","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/husniadil.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-01T10:05:21.000Z","updated_at":"2025-06-06T07:59:59.000Z","dependencies_parsed_at":"2025-06-01T19:03:43.073Z","dependency_job_id":"0fb3d32b-80bc-4ad1-82f5-655fcb6c65c3","html_url":"https://github.com/husniadil/wxt-react-tailwind-shadcn-template","commit_stats":null,"previous_names":["husniadil/wxt-react-tailwind-shadcn-template"],"tags_count":2,"template":true,"template_full_name":null,"purl":"pkg:github/husniadil/wxt-react-tailwind-shadcn-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husniadil%2Fwxt-react-tailwind-shadcn-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husniadil%2Fwxt-react-tailwind-shadcn-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husniadil%2Fwxt-react-tailwind-shadcn-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husniadil%2Fwxt-react-tailwind-shadcn-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/husniadil","download_url":"https://codeload.github.com/husniadil/wxt-react-tailwind-shadcn-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/husniadil%2Fwxt-react-tailwind-shadcn-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32604571,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"ssl_error","status_checked_at":"2026-05-04T10:08:02.005Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["browser-extension","chrome-extension","dark-mode","framework","react","shadcn-ui","tailwind","tailwindcss","template-project","theme","theme-switcher","theme-toggle","typescript","typescript-react","wxt"],"created_at":"2025-06-07T18:08:07.580Z","updated_at":"2026-05-04T10:36:45.088Z","avatar_url":"https://github.com/husniadil.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WXT + React + Tailwind CSS + shadcn/ui\n\nA modern, opinionated template for building browser extensions with WXT, React, TypeScript, Tailwind CSS, and shadcn/ui components.\n\n## 🚀 Features\n\n- ⚡ Built with [WXT](https://wxt.dev/) - The next-gen browser extension framework\n- ⚛️ [React 19](https://react.dev/) with TypeScript for type safety\n- 🎨 [Tailwind CSS](https://tailwindcss.com/) for utility-first styling\n- ✨ [shadcn/ui](https://ui.shadcn.com/) components for beautiful, accessible UI\n- 🎭 Dark mode support\n- 🔥 Hot reloading for development\n- 📦 Optimized production builds\n\n## 📸 Screenshots\n\n### Content UI - Main\n\n![Content UI](./screenshots/content.png)\n\n### Content UI - Settings\n\n![Content UI](./screenshots/content-settings.png)\n\n### Popup UI\n\n![Popup UI](./screenshots/popup.png)\n\n## 🛠️ Getting Started\n\n1. **Clone the repository (or `Use this template`)**\n\n   ```bash\n   git clone https://github.com/husniadil/wxt-react-tailwind-shadcn-template.git\n   cd wxt-react-tailwind-shadcn-template\n   ```\n\n2. **Install dependencies**\n\n   ```bash\n   pnpm install\n   ```\n\n3. **Configure Chrome for Testing**\n\n   \u003e ⚠️ **Important**: This template requires Chrome for Testing. Regular Chrome/Chromium installations are not supported.\n\n   1. Download Chrome for Testing from: https://googlechromelabs.github.io/chrome-for-testing/#stable\n   2. Extract the downloaded archive\n\n   Create a `web-ext.config.ts` file in the root directory with the following content, updating the path to point to your Chrome for Testing binary:\n\n   ```typescript\n   import { defineWebExtConfig } from \"wxt\";\n\n   // For Mac ARM users:\n   export default defineWebExtConfig({\n     binaries: {\n       chrome:\n         \"/path/to/chrome-mac-arm64/Google Chrome for Testing.app/Contents/MacOS/Google Chrome for Testing\",\n     },\n   });\n\n   // For Windows users (uncomment and modify as needed):\n   // export default defineWebExtConfig({\n   //   binaries: {\n   //     chrome: \"C:\\\\path\\\\to\\\\chrome-win64\\\\chrome.exe\"\n   //   },\n   // });\n   ```\n\n   \u003e 💡 **Note**: The exact path will vary based on your OS and where you extracted Chrome for Testing.\n\n4. **Start development server**\n\n   ```bash\n   pnpm run dev\n   ```\n\n5. **Build for production**\n   ```bash\n   pnpm run build\n   ```\n\n## 📁 Project Structure\n\n```\n.\n├── public/                 # Static assets\n│   ├── icon/               # Extension icons in various sizes\n├── screenshots/            # Extension screenshots\n├── src/\n│   ├── app/                # App content / business logic\n│   ├── assets/             # Static assets used in the application\n│   ├── components/         # Reusable React components\n│   │   ├── settings/       # Settings components\n│   │   └── ui/             # shadcn/ui components\n│   ├── constants/          # Application constants\n│   ├── context/            # React context providers\n│   ├── data/               # Dummy data\n│   ├── entrypoints/        # Extension entry points\n│   │   ├── background/     # Background script\n│   │   ├── content/        # Content scripts\n│   │   └── popup/          # Popup UI\n│   ├── hooks/              # Custom hooks\n│   ├── lib/                # Utility functions\n│   ├── styles/             # Global styles and CSS\n│   └── types/              # TypeScript type definitions\n├── .eslint.config.js       # ESLint configuration\n├── components.json         # shadcn/ui configuration\n├── package.json            # Project manifest\n├── postcss.config.mjs      # PostCSS configuration\n├── tsconfig.json           # TypeScript configuration\n├── web-ext.config.ts       # web-ext configuration\n└── wxt.config.ts           # WXT configuration\n```\n\n## 🎨 Styling\n\n- Uses Tailwind CSS for utility-first styling\n- Custom themes and styles can be added in `src/styles/globals.css`\n- Dark mode is enabled by default and can be toggled using the `useTheme` hook\n\n## 🧩 Adding shadcn/ui Components\n\nTo add new shadcn/ui components:\n\n1. Run the component addition command:\n   ```bash\n   pnpm dlx shadcn@latest add [component-name]\n   ```\n2. Import and use the component in your React components\n\n## 📝 License\n\nMIT\n\n## 🙏 Acknowledgments\n\n- [WXT](https://wxt.dev/)\n- [React](https://react.dev/)\n- [shadcn/ui](https://ui.shadcn.com/)\n- [Tailwind CSS](https://tailwindcss.com/)\n- [Building Modern Cross-Browser Extensions](https://aabidk.dev/blog/building-modern-cross-web-extensions-introduction/) by [Aabid K.](https://github.com/aabidk20/command-palette)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusniadil%2Fwxt-react-tailwind-shadcn-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhusniadil%2Fwxt-react-tailwind-shadcn-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhusniadil%2Fwxt-react-tailwind-shadcn-template/lists"}