Skip to content

Create a component library/style guide #1216

Open
@andrewn

Description

@andrewn

Nature of issue?

  • New feature request

New feature details:

When developing features for the Editor, it can be challenging to figure out if the UI widget you need already exists in the project. If a component exists already, then copying it can cause subtle inconsistencies.

It'd be great to have a style guide in the projects that displays available components, and the different states they can be in. This should make the Editor more consistent, help reduce bugs and make contributing easier.

Possible choices

Considerations

  • Work with React
  • Display "live" versions of the components so that changes to them are immediately visible
  • Work with whatever CSS approach the project uses (see Component styles #1215)
  • Easy to add new components
  • Display the code required to use the component next to the rendered version
  • Generate a static site so it can be viewed on the web (?)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions