{ "$schema": "https://ui.shadcn.com/schema/registry-item.json", "name": "accordion-demo", "type": "registry:example", "registryDependencies": [ "accordion" ], "files": [ { "path": "src/registry/pure-ui/examples/accordion/accordion-demo.tsx", "content": "import {\r\n Accordion,\r\n AccordionPanel,\r\n AccordionItem,\r\n AccordionTrigger,\r\n} from \"@/registry/pure-ui/ui/accordion\";\r\n\r\nexport function AccordionDemo() {\r\n return (\r\n \r\n \r\n What is Next.js?\r\n \r\n

\r\n Next.js is a React framework that makes building fast, SEO-friendly\r\n web apps easy with server rendering and automatic routing.\r\n

\r\n
\r\n
\r\n \r\n Why Use the App Router?\r\n \r\n

\r\n The App Router offers layouts, server components, and better\r\n data-fetching, giving you cleaner structure and faster performance.\r\n

\r\n
\r\n
\r\n \r\n Data Fetching in Next.js\r\n \r\n

\r\n Next.js supports static, dynamic, and server-side data fetching,\r\n letting you choose the best method per component.\r\n

\r\n
\r\n
\r\n \r\n SEO Benefits of Static Generation\r\n \r\n

\r\n Static generation ensures pages are pre-rendered with content,\r\n improving SEO by providing fully-rendered HTML at build time.\r\n

\r\n
\r\n
\r\n \r\n File-Based Routing\r\n \r\n

\r\n Pages and routes are created automatically from your folder\r\n structure, including support for dynamic and nested routes.\r\n

\r\n
\r\n
\r\n
\r\n );\r\n}\r\n", "type": "registry:example" } ] }