Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Docz | 23,204 | 686 | 1,340 | 8 months ago | 275 | February 11, 2022 | 103 | mit | TypeScript | |
✍ It has never been so easy to document your things! | ||||||||||
Semantic Ui React | 13,062 | 8,465 | 1,129 | 6 days ago | 153 | May 31, 2022 | 194 | mit | JavaScript | |
The official Semantic-UI-React integration | ||||||||||
React Toolbox | 8,705 | 1,310 | 132 | a year ago | 66 | June 02, 2018 | 267 | mit | JavaScript | |
A set of React components implementing Google's Material Design specification with the power of CSS Modules | ||||||||||
Rebass | 7,890 | 744 | 282 | 4 months ago | 109 | October 28, 2019 | 96 | mit | JavaScript | |
:atom_symbol: React primitive UI components built with styled-system. | ||||||||||
Nextra | 7,472 | 18 | 21 hours ago | 109 | September 17, 2022 | 176 | mit | TypeScript | ||
Simple, powerful and flexible site generation framework with everything you love from Next.js. | ||||||||||
Semi Design | 6,988 | 9 | 4 days ago | 135 | September 23, 2022 | 152 | other | TypeScript | ||
🚀A modern, comprehensive, flexible design system and React UI library. 🎨 Provide more than 2,739+ Design Tokens and powerful DSM tools, easy to build your own design system. Make Semi Design to Any Design | ||||||||||
React Quill | 5,623 | 777 | 448 | 4 months ago | 49 | August 03, 2022 | 293 | mit | JavaScript | |
A Quill component for React. | ||||||||||
Theme Ui | 4,979 | 331 | 838 | a month ago | 460 | September 18, 2022 | 58 | mit | TypeScript | |
Build consistent, themeable React apps based on constraint-based design principles | ||||||||||
Next | 4,384 | 65 | 7,077 | 5 days ago | 450 | September 20, 2022 | 635 | mit | JavaScript | |
🦍 A configurable component library for web built on React. | ||||||||||
Playroom | 4,296 | 11 | 47 | 2 months ago | 87 | April 26, 2022 | 47 | mit | TypeScript | |
Design with JSX, powered by your own component library. |
WARNING
This is an OUTDATED version of Docz, if you are going to use it, be aware that you may possibly find bugs due to the outdated dependencies. Mainly because of all this time without updates, became almost impossible to follow with the decision of keep the same stack and update things.
So, we're working in a new version that will include an entire core refactoring/rewritting by adding Astro behind the scenes as bundler and another cools feature.
Since we really want to don't have so much breakings changes - and try to bring back the spot and quality Docz deserves - this can take a while to be done, please be patient and if you want to help, just send me a message on my Twitter!
Issues related to this old version, also won't be answered, ok?
Thank you
Docz makes it easy to write and publish beautiful interactive documentation for your code. Create MDX files showcasing your code and Docz turns them into a live-reloading, production-ready site.
Documenting code is one of the most important and time-consuming tasks when developing software.
A lot of time is spent on building and maintaining custom documentation sites.
Docz enables you to quickly create a live-reloading, SEO-friendly, production-ready documentation site with MDX and customize the look, feel and behavior when required by leveraging GatsbyJS and Gatsby theme shadowing.
Start by adding docz
as a dependency to your project with Yarn or npm:
$ yarn add docz # react react-dom
# or
$ npm install docz # react react-dom
Note:
react
andreact-dom
will not be installed automatically. You'll have to install them yourself.
Then, create .mdx
files anywhere in your project:
---
name: Button
route: /
---
import { Playground, Props } from 'docz'
import Button from './Button'
# Button
<Props of={Button} />
## Basic usage
<Playground>
<Button type="submit">Click me</Button>
<Button>No, click me</Button>
</Playground>
And a Button component Button.jsx
:
import React from 'react'
import t from 'prop-types'
const Button = ({ children, type }) => <button type={type}>{children}</button>
Button.propTypes = {
/**
* This is a description for this prop.
* Button type.
*/
type: t.oneOf(['button', 'submit', 'reset']),
}
Button.defaultProps = {
type: 'button',
}
export default Button
Finally, run:
yarn docz dev
This starts a local development server and opens your documentation site in the browser.
yarn docz build
generates a static site in .docz/dist/
.
Try it with yarn docz serve
or by serving the generated site with your favorite static file server (e.g. npx serve .docz/dist
).
You can have yarn docz build
emit to a different directory by providing a path to the dest
field in your doczrc.js
or from the command line: yarn docz build --dest docs-site-directory
.
The output of docz consists of static assets only.
This allows you to deploy your generated docz
site with any static site hosting provider you'd like.
Start by building your site with yarn docz build
, if you haven't provided a dest
flag to your config then you will find your generated files in .docz/dist
to copy to the server.
This project exists thanks to all the people who contribute. [Contribute].
All kinds of contributions are very welcome and appreciated!
If you want to contribute time to docz then here's a list of suggestions to get you started:
If you're looking for a place to start make sure to check issues tagged with the good first issue
label:
Read the Contributing Guide before you open a pull request.
You can also sponsor us via OpenCollective to help secure docz's future.