What does a type system for GUI widget design look like?
Conversation
Replying to
Design systems are an interesting use case. A central design team makes widgets that follow a consistent design style, with accessibility support etc. and product teams then use that to build their stuff.
A type system in this use case could help to support maintaining the APIs across teams, and helping upgrades across a large code base, but it doesn't replace good design sense. It can make thinking about affordances clearer perhaps.
1
1
Also could make generative testing of edge-case inputs easier. This could be used with a component browser to ensure that edge cases are properly handled (eg. exotic line directions, weird combinations of combining characters, etc). Might need to be manually verified though.
1
1
Show replies

