{"id":13433883,"url":"https://github.com/estevanmaito/windmill-dashboard-react","last_synced_at":"2025-04-12T18:40:10.462Z","repository":{"id":41156791,"uuid":"272834404","full_name":"estevanmaito/windmill-dashboard-react","owner":"estevanmaito","description":"❄ A multi theme, completely accessible, ready for production dashboard.","archived":false,"fork":false,"pushed_at":"2023-01-06T19:52:30.000Z","size":1835,"stargazers_count":1032,"open_issues_count":35,"forks_count":235,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-03T20:11:48.360Z","etag":null,"topics":["admin-dashboard","admin-panel","dark-theme","dashboard","react","react-router","tailwindcss","windmill-dashboard"],"latest_commit_sha":null,"homepage":"https://windmillui.com/dashboard-react","language":"JavaScript","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/estevanmaito.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-06-16T23:39:41.000Z","updated_at":"2025-04-02T11:47:14.000Z","dependencies_parsed_at":"2023-02-06T08:30:51.743Z","dependency_job_id":null,"html_url":"https://github.com/estevanmaito/windmill-dashboard-react","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estevanmaito%2Fwindmill-dashboard-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estevanmaito%2Fwindmill-dashboard-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estevanmaito%2Fwindmill-dashboard-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/estevanmaito%2Fwindmill-dashboard-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/estevanmaito","download_url":"https://codeload.github.com/estevanmaito/windmill-dashboard-react/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248616376,"owners_count":21134070,"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":["admin-dashboard","admin-panel","dark-theme","dashboard","react","react-router","tailwindcss","windmill-dashboard"],"created_at":"2024-07-31T02:01:39.188Z","updated_at":"2025-04-12T18:40:10.437Z","avatar_url":"https://github.com/estevanmaito.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://windmillui.com/dashboard-react\"\u003e\n      \u003cimg alt=\"Windmill Dashboard React\" width=\"600\" src=\".github/windmill-dashboard-react.png\"\u003e\n    \u003c/a\u003e\u003cbr\u003e\n    Four 100 scores and PWA ready. Just connect your data.\n\u003c/p\u003e\n\n🚀 [See it live](https://windmillui.com/dashboard-react)\n\nThis is not a template. This is a complete application, built on top of React, with all tiny details taken care of so you just need to bring the data to feed it.\n\nAccessibility is a priority in my projects and I think it should be in yours too, so this was developed listening to real screen readers, focus traps and keyboard navigation are available everywhere.\n\n## 📦 Features\n\n- 🦮 Throughly accessible (developed using screen readers)\n- 🌗 Dark theme enabled (load even different images based on theme)\n- 🧩 Multiple (custom) components\n- ⚡ Code splitting\n- Tailwind CSS\n- [Windmill React UI](https://windmillui.com/react-ui)\n- React Router\n- Heroicons\n- Chart.js\n- PWA delivering offline-first and app-like experience\n\n## 📚 Docs\n\n### General components\n\nWindmill Dashboard React is built on top of [Windmill React UI](https://windmillui.com/react-ui). You will find the documentation for every small component there.\n\n### Routing\n\nRoutes in Windmill Dashboard are separated into two categories, sidebar ([routes/sidebar.js](src/routes/sidebar.js)) and general ([routes/index.js](src/routes/index.js)).\n\n#### Sidebar routes\n\nThese are the routes that will show in the sidebar. They expect three properties:\n\n- `path`: the destination;\n- `name`: the name to be shown;\n- `icon`: an icon to illustrate the item\n\nItem that are used as dropdowns, like the Pages option, don't need a `path`, but expect a `routes` array of objects with `path` and `name`:\n\n```js\n// sidebar.js\n{\n  path: '/app/tables',\n  icon: 'TablesIcon',\n  name: 'Tables',\n},\n{\n  icon: 'PagesIcon', // \u003c-- this is used as a submenu, so no path\n  name: 'Pages',\n  routes: [\n    // submenu\n    {\n      path: '/login',\n      name: 'Login', // \u003c-- these don't have icons\n    },\n    {\n      path: '/create-account',\n      name: 'Create account',\n    },\n```\n\n#### General (Router) routes\n\nThese are **internal** (private) routes. They will be rendered inside the app, using the default `containers/Layout`.\n\nIf you want to add a route to, let's say, a landing page, you should add it to the `App`'s router ([src/App.js](src/App.js), exactly like `Login`, `CreateAccount` and other pages are routed.\n\n#### How to add a new page to router?\n\n1. Create your page inside `src/pages`, say `MyPage.js`;\n2. Add it to the global router (`src/routes/index.js`)\n\n```js\nconst MyPage = lazy(() =\u003e import('../pages/MyPage'))\n```\n\nThen add it to the `routes` array:\n\n```js\n{\n  path: '/my-page', // the url that will be added to /app/\n  component: MyPage, // the page component you jsut imported\n}\n```\n\n3. If you want to make this page accessible from the sidebar, you have to options:\n\n- add it to the root `routes` array\n\n```js\n{\n  path: '/app/my-page', // /app + the url you added in routes/index.js\n  icon: 'HomeIcon', // the component being exported from src/icons/index.js\n  name: 'My Page', // name that appear in Sidebar\n},\n```\n\n- add it as an option under a dropdown\n\n```js\n{\n  icon: 'PagesIcon',\n  name: 'Pages',\n  routes: [\n    // submenu\n    {\n      path: '/app/my-page',\n      name: 'My Page',\n    },\n```\n\nIf you're asking where does this `/app` come from, it is from this line inside `src/App.js`, that renders the app:\n\n```jsx\n\u003cRoute path=\"/app\" component={Layout} /\u003e\n```\n\n---\n\nThis project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `npm test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `npm run build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `npm run eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n\n### Code Splitting\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting\n\n### Analyzing the Bundle Size\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size\n\n### Making a Progressive Web App\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app\n\n### Advanced Configuration\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration\n\n### Deployment\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/deployment\n\n### `npm run build` fails to minify\n\nThis section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify\n","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festevanmaito%2Fwindmill-dashboard-react","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Festevanmaito%2Fwindmill-dashboard-react","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Festevanmaito%2Fwindmill-dashboard-react/lists"}