{"id":18469318,"url":"https://github.com/vishwagauravin/react-native-tailwind-template","last_synced_at":"2026-05-09T09:19:05.935Z","repository":{"id":106321968,"uuid":"453682465","full_name":"VishwaGauravIn/react-native-tailwind-template","owner":"VishwaGauravIn","description":"React Native + TailwindCSS starter Template 🔥","archived":false,"fork":false,"pushed_at":"2022-01-30T13:06:08.000Z","size":133,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-07T19:59:57.546Z","etag":null,"topics":["react-native","reactnative","tailwind","tailwind-css","tailwindcss","template"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/VishwaGauravIn.png","metadata":{"files":{"readme":"ReadMe.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2022-01-30T13:06:03.000Z","updated_at":"2025-01-14T05:40:37.000Z","dependencies_parsed_at":null,"dependency_job_id":"114376cf-0bdb-4159-97d7-6e4de1d4f419","html_url":"https://github.com/VishwaGauravIn/react-native-tailwind-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/VishwaGauravIn/react-native-tailwind-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Freact-native-tailwind-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Freact-native-tailwind-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Freact-native-tailwind-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Freact-native-tailwind-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/VishwaGauravIn","download_url":"https://codeload.github.com/VishwaGauravIn/react-native-tailwind-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/VishwaGauravIn%2Freact-native-tailwind-template/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259952349,"owners_count":22936945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["react-native","reactnative","tailwind","tailwind-css","tailwindcss","template"],"created_at":"2024-11-06T10:09:54.125Z","updated_at":"2026-05-09T09:19:00.909Z","avatar_url":"https://github.com/VishwaGauravIn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![ReactNative + Tailwind Template](https://github.com/VishwaGauravIn/Images/blob/main/rn+tailwind.png?raw=true)\n# ReactNative + TailwindCSS Template\n\n## How to Use ?\n- Step 1: Clone this respository and open in VSCode (or any code editor of your choice)\n- Step 2: Open a Terminal and Install required packages by using ``` npm i ```\n- Step 3: Run the Project using ``` expo start ```\n- Step 4: Open a new terminal and run ``` npm run dev:tailwind ``` for development mode\n- Step 5: You can write code in _Home.js_ or create any components in _components_ folder.\n- Result: Your app will work perfectly and reflect all the changes\n\n## Note:\n- This is not any official version of tailwindcss for reactnative so few classes are missing \n- In order to change the folder structure, you need to change content section in _tailwind.config.js_\n- for using tailwind styling you need to wrap classes in tw, for example ```tw('text-cyan-500')```\n\n## Example Code :\nHere are some basic example codes for you, you **don't** need to do these as I have already done everything for you.\n\n### Wrapping Home in order to use tailwind classes\n```javascript\nimport { TailwindProvider } from \"tailwind-rn\";\nimport { Home } from \"./Home\";\nimport utilities from \"./tailwind.json\";\n\nexport default function App() {\n  return (\n    \u003cTailwindProvider utilities={utilities}\u003e\n      \u003cHome /\u003e\n    \u003c/TailwindProvider\u003e\n  );\n}\n```\n\n### Using tailwind styles\n```javascript\nimport React from \"react\";\nimport { Text } from \"react-native\";\nimport { useTailwind } from \"tailwind-rn\";\n\nexport const Home = () =\u003e {\n  const tw = useTailwind();\n  return (\n    \u003cText\n      style={tw(\n        \"text-cyan-800 mt-8 self-center bg-cyan-200 text-center w-32 px-2 p-1 rounded-xl\"\n      )}\n    \u003e\n      Hello from VG !\n    \u003c/Text\u003e\n  );\n};\n\n```\n\n## Official Docs:\n[![React Native](https://img.shields.io/badge/react_native-%2320232a.svg?style=for-the-badge\u0026logo=react\u0026logoColor=%2361DAFB)](https://reactnative.dev/docs/getting-started)\n[![TailwindCSS](https://img.shields.io/badge/tailwind%20for%20React%20Native-%2338B2AC.svg?style=for-the-badge\u0026logo=tailwind-css\u0026logoColor=white)](https://github.com/vadimdemedes/tailwind-rn)\n\n## Updates ?\nFor updates, you can ⭐Star this repository","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwagauravin%2Freact-native-tailwind-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishwagauravin%2Freact-native-tailwind-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwagauravin%2Freact-native-tailwind-template/lists"}