Skip to content

setphen/design-system-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design System System

This is a lightweight boilerplate static site for documenting design systems and component libraries.

Demo

Starting local development

  1. Install [Hugo]

  2. Run hugo serve in the root of this project

  3. visit http://localhost:1313/design-system-system

How it works

Design System System is a Hugo project which aims to give you just enough tooling to start documenting your design system, style guide, or component library. This project includes as little JavaScript as possible, and less than 200 lines of CSS, meaning that it can be easily extended and configured to your liking.

Pages are written using markdown, and component previews are possible by including .rendered and .markup files within the page bundle, for example:

content/component/button
├── button.react.markup
├── button.html.markup
├── button.rendered
└── index.md

Each variant of a component consists of the following:

  1. A 'rendered' file, which is an entire HTML document that contains the component and will be displayed inside an iframe. This includes the markup, CSS, javascript, and any other resources required by the component.

  2. One or more 'markup' files, which describe the code of the component as it would be used in a project. The language of the markup is included in the filename, for instance: component.erb.markup or component.react.markup.

About

Boilerplate Hugo site for documenting design systems and component libraries

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published