Skip to content

Chakra Docs is a library for creating simple documentation or manuals using React and Chakra UI.

License

Notifications You must be signed in to change notification settings

nisaji/chakra-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chakra Docs

Chakra Docs is a library for creating simple documentation or manuals using React and Chakra UI.

Features

  • Beautiful and responsive design using Chakra UI
  • Easy to create structured documents
  • Customizable theme
  • TypeScript support

Installation

You can install it using npm:

npm install chakra-docs @chakra-ui/react @emotion/react @emotion/styled framer-motion

Usage

First, create your manual data:

import { IManual } from "chakra-docs";

const manualData: IManual = {
  title: "Sample Manual",
  sections: [
    {
      title: "Section 1",
      content: [
        {
          type: "paragraph",
          content: "This is a sample paragraph.",
        },
        {
          type: "list",
          listType: "unordered",
          content: ["Item 1", "Item 2", "Item 3"],
        },
      ],
    },
    // Add other sections...
  ],
};
  1. Use the Manual component to render your manual:
import { Manual } from "chakra-docs";

const App = () => {
  return <Manual manualData={manualData} />;
};

About

Chakra Docs is a library for creating simple documentation or manuals using React and Chakra UI.

Resources

License

Stars

Watchers

Forks

Packages

No packages published