Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrating a design system into the block editor #369

Open
bph opened this issue Jan 9, 2025 · 0 comments
Open

Integrating a design system into the block editor #369

bph opened this issue Jan 9, 2025 · 0 comments
Assignees

Comments

@bph
Copy link
Collaborator

bph commented Jan 9, 2025

Discussed in #363

Originally posted by troychaplin January 7, 2025
This idea could be done in a couple of ways, or in multiple parts. The first part isn't directly related to WP, so we can skip over it and instead just have a repo with a nice and detailed README to serve as the overview.

Part One (Optional): Creating a basic design system using React, Typescript, TailwindCSS, Storybook and Vite. This would include a card component that would have multiple applications. This would cover topics like using interfaces, setting various props, some info about component composition and a high level overview of the tools used to bring this all together. I would also touch on creating a GitAction to automate publishing the library as a package to NMP which is needed for the blocks.

For the components I would build a very simple version of this -- https://github.com/troychaplin/ui-kit

Part Two: Once the library is in place I'd reference the multiblock article as a start point and I'll walk through integrating the design library and building out a multiblock plugin that will feature two card types, one for listing posts and another for listing pages. Maybe as a bonus I will create an open ended card where the parent block is a grid and each innerblock is a fully editable card.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants