# redoc-material-ui

> A material-ui wrapper for ReDoc

Latest version **1.0.3** (published 2021-07-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install redoc-material-ui
pnpm add redoc-material-ui
yarn add redoc-material-ui
bun add redoc-material-ui
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-07-13 |
| First published | 2021-07-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 11 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | EK |
| Maintainers | elijah.kimani12 |
| Keywords | ReDoc, material-ui |

## Links

- npm: https://www.npmjs.com/package/redoc-material-ui
- Repository: https://github.com/elijahkimani/redoc-material-ui
- Homepage: https://github.com/elijahkimani/redoc-material-ui#readme
- Issues: https://github.com/elijahkimani/redoc-material-ui/issues
- npm.io page: https://npm.io/package/redoc-material-ui

## Dependencies (3)

- [mobx](https://npm.io/package/mobx.md) ^6.3.2
- [redoc](https://npm.io/package/redoc.md) ^2.0.0-rc.54
- [core-js](https://npm.io/package/core-js.md) ^3.15.2

## Alternatives

- [@progress/kendo-ooxml](https://npm.io/package/@progress/kendo-ooxml.md) — 152.1K weekly downloads
- [@progress/kendo-react-ripple](https://npm.io/package/@progress/kendo-react-ripple.md) — 8.0K weekly downloads
- [@progress/kendo-react-orgchart](https://npm.io/package/@progress/kendo-react-orgchart.md) — 4.3K weekly downloads
- [@praxisui/dynamic-fields](https://npm.io/package/@praxisui/dynamic-fields.md) — 2.4K weekly downloads
- [@progress/kendo-vue-listbox](https://npm.io/package/@progress/kendo-vue-listbox.md) — 932 weekly downloads

## Recent versions

- 1.0.3 (latest) — 2021-07-13
- 1.0.2 — 2021-07-13
- 1.0.1 — 2021-07-13
- 1.0.0 — 2021-07-13

## README

# Material UI ReDoc

[![npm](https://img.shields.io/npm/v/redoc-material-ui.svg)](https://www.npmjs.com/package/redoc-material-ui)

This is a [Material UI](https://material-ui.com/) wrapper for [ReDoc](https://github.com/Redocly/redoc)

The aim of this wrapper is to provide theming support for ReDoc's <code>RedocStandalone</code> using [Material UI's Theme](https://material-ui.com/customization/default-theme/#default-theme)

## Getting started

### 1. Install package

Install using [npm](https://docs.npmjs.com/getting-started/what-is-npm):

    npm i redoc-material-ui @material-ui/core react react-dom styled-components

### 2. Enjoy :smile:

## Usage as a React component

import the <code>MuiRedocStandalone</code> component to render the API definition

```js
import { MuiRedocStandalone } from "redoc-material-ui";
```

and use it somewhere in your component:

```js
<MuiRedocStandalone specUrl="url/to/your/spec" />
```

## Material UI Theming

The component uses [useTheme](https://material-ui.com/styles/api/#usetheme-theme) hook to get the Theme object for your components and apply it appropriately to the component

### (Optional) Override your application's theme

You can also provide your own Material UI theme to the component

```js
<MuiRedocStandalone specUrl="url/to/your/spec" theme={your_mui_theme} />
```

---
_Source: https://npm.io/package/redoc-material-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
