Skip to content

Test use of shared libraries / Penpot #46

@GBKS

Description

@GBKS

Shared libraries can potentially be very useful in improving our workflows, but also add a bit of complexity. Let's feel out what's possible.

One approach could be to split the icons into one library, as that's a separate project already. Second, the screens could be in a separate file from the UI Kit elements (colors, type, buttons, etc).

Things to look into:

  • Is it possible to push updates to a main component in a separate shared library (and possibly break them in all other files that rely on this library)?
  • If the UI kit essentially consists of three files, how do I duplicate the set and have the references be updated (so my own new file with screens draws from my own component and icons files)?
  • What is the performance impact? Good, bad, same?
  • We found that the asset search is not 100% thorough. Does this affect the use of shared libraries?
  • Do they work across teams? If I am part of multiple teams, does each team need to import the library?
  • Is it possible to pull in a new version of a library and have all references update accordingly?

Eventually, we could post the UI Kit files on the Penpot shared libraries page.

Metadata

Metadata

Assignees

Labels

penpotPenpot porting tasks

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions