Home

Awesome

Table of contents

About

component-controls is a next-generation tool to help create blazing-fast documentation sites for your libraries and components.

Using MDX or javascript to author documentation files, the sites can be generated with highly-optimized site generators as gatsby or nextjs.

Before starting, take a look at our blog post gatsby vs nextjs vs storybook comparison for generating static documentation sites.

Showcase sites

1. documentation

We believe in the practice of dogfooding, thus we have created the full documentation sites for component-controls using - well, component-controls. Everything from blog posts, tutorials, author profiles to auto-generated component documentation, and testing pages.

2. grommet-controls

This site shows how to create documentation for a custom react UI component library

grommet-controls - source

3. theme-ui design system

This site showcases creating documentation sites for third-party libraries, that are installed in the node_modules folder of your project

theme-ui design system - source

4. starter projects

A collection of simple starter projects, showcasing how to create an MDX pure documentation page, and MDX custom documentation page with a component interactive story and, an ESM javascript page that automatically creates component documentation.

built with gatsby - source

built with nextjs - source

built with webpack 4 - source

built with webpack 5 - source

built with storybook 5 - source

built with storybook 6 - source

Motivation

Inspiration

Many developments have contributed to the creation of component-controls, a few of them are:

Roadmap