Docs
shadcn/ui

shadcn/ui

You can implement shadcn/ui components in your Docsframe as usual

In addition to the components provided by Docsframe, you can also add external components to enhance the functionality of your documentation.

Some examples of external component libraries that you can use with Docsframe include:

These libraries provide a wide range of components that you can use to create custom layouts, add interactive elements, and more.

Usage

For example, to use the Accordion component from shadcn/ui, you would install the library using the following command:

npx shadcn@latest add Accordion

import {
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
} from "@/components/ui/accordion"
// ... existing imports ...
 
const components = {
  // ... existing components ...
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
};