{"id":15759354,"url":"https://github.com/jasonnutter/gatsby-plugin-fabric-ui","last_synced_at":"2025-03-13T18:31:57.497Z","repository":{"id":57244628,"uuid":"156108669","full_name":"jasonnutter/gatsby-plugin-fabric-ui","owner":"jasonnutter","description":"Gatsby plugin for the Office Fabric UI framework","archived":false,"fork":false,"pushed_at":"2018-11-06T07:30:51.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T20:37:26.526Z","etag":null,"topics":["gatsby","gatsby-plugin","office-ui-fabric"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gatsby-plugin-fabric-ui","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/jasonnutter.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}},"created_at":"2018-11-04T17:46:36.000Z","updated_at":"2020-07-22T19:28:51.000Z","dependencies_parsed_at":"2022-09-01T06:12:01.499Z","dependency_job_id":null,"html_url":"https://github.com/jasonnutter/gatsby-plugin-fabric-ui","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonnutter%2Fgatsby-plugin-fabric-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonnutter%2Fgatsby-plugin-fabric-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonnutter%2Fgatsby-plugin-fabric-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jasonnutter%2Fgatsby-plugin-fabric-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jasonnutter","download_url":"https://codeload.github.com/jasonnutter/gatsby-plugin-fabric-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243459134,"owners_count":20294344,"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":["gatsby","gatsby-plugin","office-ui-fabric"],"created_at":"2024-10-04T10:04:52.485Z","updated_at":"2025-03-13T18:31:57.106Z","avatar_url":"https://github.com/jasonnutter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gatsby-plugin-fabric-ui\n\nGatsby plugin for the [Office Fabric UI framework](https://github.com/OfficeDev/office-ui-fabric-react). Adds [the boilerplate needed for server-side rendering](https://github.com/OfficeDev/office-ui-fabric-react#server-side-rendering), which Gatsby performs during `gatsby build`.\n\n## Installation\n\n```sh\nnpm install office-ui-fabric-react gatsby-plugin-fabric-ui\n```\n\n### Usage\n\nAfter installing the plugin, add it to your site's config file:\n\n`gatsby-config.js`\n\n```js\nmodule.exports = {\n    plugins: ['gatsby-plugin-fabric-ui'],\n};\n```\n\nThen you can use any of the components as usual:\n\n```jsx\nimport React from 'react';\nimport { DefaultButton } from 'office-ui-fabric-react';\n\nconst Index = () =\u003e (\n    \u003cdiv\u003e\n        \u003cDefaultButton\u003eHello, world!\u003c/DefaultButton\u003e\n    \u003c/div\u003e\n);\n\nexport default Index;\n```\n\nSee the [test](./test) folder for an example Gatsby site.\n\n## Compatibility\n\nCurrently only tested with:\n\n-   `react` v16\n-   `gatsby` v2\n-   `office-ui-fabric-react` v6\n\n## Contributing\n\n1. Clone this repo.\n2. `npm install`\n3. Make changes to `gatsby-ssr.jsx`. Please also prettier via `npm run format`.\n4. To test your changes, run the sample project:\n\n```sh\ncd test\nnpm install\nnpm run build # test that SSR works properly\nnpm run develop # launches the sample site\n```\n\n5. In the main package, you can also run `npm test`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonnutter%2Fgatsby-plugin-fabric-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasonnutter%2Fgatsby-plugin-fabric-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasonnutter%2Fgatsby-plugin-fabric-ui/lists"}