kotii-react-modules
v1.0.0-beta.3.0
Published
provides a collection of reusable functional components for React, Vue, and AngularJS, designed for working with Markdown content, interactive demos, and media. It’s perfect for building documentation, blogs, and interactive content platforms.
Readme
kotii-modules provides a collection of reusable functional components for React, Vue, and AngularJS, designed for working with Markdown content, interactive demos, and media. It’s perfect for building documentation, blogs, and interactive content platforms.
Features
- Render Markdown content with ease.
- Generate Table of Contents automatically.
- Embed videos and interactive demos.
- Styled GitHub-flavored Markdown support.
- Works with React, Vue, and AngularJS.
Components
| Component | Description | | --------------- | --------------------------------------------------------------------- | | MarkdownElement | Base component for rendering Markdown content. | | MarkdownRender | Renders Markdown strings into HTML. | | MarkdownSidebar | Sidebar navigation for Markdown pages. | | MarkdownToc | Automatically generates a Table of Contents. | | MarkdownVideo | Embed videos inside Markdown content. | | GithubMarkdown | GitHub-flavored Markdown renderer. | | Editor | Markdown editor for live editing (WYSIWYG or code-editor style). | | MarkdownAd | Embed ads within Markdown content. | | MarkdownDemo | Display demo code or interactive Markdown examples. | | MarkdownHeader | Reusable header component for Markdown pages. | | FlexSandBox | Flexible container for embedding interactive code sandboxes or demos. |
Installation
npm install kotii-modules
# or
yarn add kotii-modulesUsage
React
import React from "react";
import { MarkdownRender, MarkdownSidebar, Editor } from "kotii-modules";
function App() {
const markdownContent = `
# Welcome to Kotii
This is a Markdown-rendered page.
`;
return (
<div className="app-layout">
<MarkdownSidebar />
<main>
<MarkdownRender content={markdownContent} />
<Editor initialValue={markdownContent} />
</main>
</div>
);
}
export default App;Questions & Support
For questions and support please use kotii-react-modulesjs's Suppport page on Github repo.
Issues
Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.
Changelog
Detailed changes for each release are documented in our Changelog.
Release Notes
A summary of release changes can be found in our Release Notes.
Stay In Touch
Contribution
Please make sure to read the Contributing Guide before making a pull request. If you have an kotii-react-modules plugin, add it with a pull request.
Licence
MIT - see the LICENSE file for details.
© Kotii Ecosystem 2025-present. Ntsako (Surprise) Mashele
