{"id":18976362,"url":"https://github.com/ant-design/nextjs-registry","last_synced_at":"2025-04-07T15:10:05.761Z","repository":{"id":214484197,"uuid":"736637296","full_name":"ant-design/nextjs-registry","owner":"ant-design","description":"Style registry of Ant Design for Nextjs","archived":false,"fork":false,"pushed_at":"2024-11-18T03:56:19.000Z","size":20,"stargazers_count":19,"open_issues_count":6,"forks_count":5,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-31T12:09:13.232Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/ant-design.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":"2023-12-28T12:55:06.000Z","updated_at":"2025-01-03T08:24:20.000Z","dependencies_parsed_at":"2023-12-28T13:58:06.716Z","dependency_job_id":"8fdadce8-d1b1-4a85-867b-3250339b7834","html_url":"https://github.com/ant-design/nextjs-registry","commit_stats":{"total_commits":13,"total_committers":4,"mean_commits":3.25,"dds":"0.23076923076923073","last_synced_commit":"92daf63ebee59156beba083da908f259e3af70ff"},"previous_names":["ant-design/nextjs-registry"],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-design%2Fnextjs-registry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-design%2Fnextjs-registry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-design%2Fnextjs-registry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ant-design%2Fnextjs-registry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ant-design","download_url":"https://codeload.github.com/ant-design/nextjs-registry/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247675607,"owners_count":20977378,"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":[],"created_at":"2024-11-08T15:24:00.503Z","updated_at":"2025-04-07T15:10:05.704Z","avatar_url":"https://github.com/ant-design.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ant-design/nextjs-registry\n\n[![NPM version][npm-image]][npm-url] [![npm download][download-image]][download-url] [![bundle size][bundlephobia-image]][bundlephobia-url]\n\n[npm-image]: http://img.shields.io/npm/v/@ant-design/nextjs-registry.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/@ant-design/nextjs-registry\n[github-actions-image]: https://github.com/ant-design/nextjs-registry/workflows/CI/badge.svg\n[github-actions-url]: https://github.com/ant-design/nextjs-registry/actions\n[codecov-image]: https://img.shields.io/codecov/c/github/ant-design/nextjs-registry/main.svg?style=flat-square\n[codecov-url]: https://codecov.io/gh/ant-design/nextjs-registry/branch/main\n[download-image]: https://img.shields.io/npm/dm/@ant-design/nextjs-registry.svg?style=flat-square\n[download-url]: https://npmjs.org/package/@ant-design/nextjs-registry\n[bundlephobia-url]: https://bundlephobia.com/result?p=@ant-design/nextjs-registry\n[bundlephobia-image]: https://badgen.net/bundlephobia/minzip/@ant-design/nextjs-registry\n\nThis package is used for registry styles of Ant Design components for Next.js.\n\n## Install\n\n```bash\nnpm install @ant-design/nextjs-registry --save\n```\n\n## Usage\n\nShould be use in `RootLayout` of Nextjs app router.\n\n```tsx\n// app/layout.tsx\n\nimport React from 'react';\nimport { AntdRegistry } from '@ant-design/nextjs-registry';\n\nexport default function RootLayout({\n  children,\n}: {\n  children: React.ReactNode;\n}) {\n  return (\n    \u003chtml lang=\"en\"\u003e\n      \u003cbody\u003e\n        \u003cAntdRegistry\u003e{children}\u003c/AntdRegistry\u003e\n      \u003c/body\u003e\n    \u003c/html\u003e\n  );\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fant-design%2Fnextjs-registry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fant-design%2Fnextjs-registry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fant-design%2Fnextjs-registry/lists"}