mjarvis / Exhibition

A framework and generator for displaying SwiftUI component libraries
MIT License
26 stars 0 forks source link

Metadata #23

Open mjarvis opened 2 years ago

mjarvis commented 2 years ago

It would be beneficial to allow general support for metadata that is output to a consumable format such as JSON. This could enable things such as versioning of components and/or linking to a design system.

This output could be consumed by some other script or application for various uses (such as showing if certain components are out of date with design.)

This metadata could also integrate with snapshot testing for visual output outside of the SwiftUI platform.

micHar commented 1 year ago

This could just be metadata provided as code (possibly as Codable structs). This way, we could have a way to create completely custom screens populated with stuff from the metadata. Showkase works this way