{"repo":"southleft/ds-contracts-poc","free":true,"listed":false,"github":"https://github.com/southleft/ds-contracts-poc","clone":"git clone https://github.com/southleft/ds-contracts-poc.git","description":"Component contracts: one machine-readable source of truth that generates both a React library and a Figma library, proves they match with a three-way differ, extracts contracts back out of existing code or designs, and runs the whole loop in a browser playground. Candidate spec for design-system contracts.","language":"TypeScript","stars":48,"topics":["ai-governance","codegen","component-library","contracts","design-systems","design-to-code","design-tokens","dtcg","react","code-generation"],"license":"MIT","category":"dev-tools","readme_excerpt":"Design System Contracts A design system's source of truth should be neither the design file nor the code — but a machine-readable contract that sits between them and generates both. This repository is the working proof, and the candidate reference implementation for a vendor-neutral component contract specification. 56 component contracts and 282 DTCG tokens generate two surfaces — a typed React library and a native design-tool library — that are continuously proven to match the contracts by a three-way differ. Nothing is hand-maintained twice, and nothing pretends to be in sync when it isn't. → Just cloned this and want to see it work? Start with docs/BETA.md — the one journey that is supported end-to-end, with a command list that was run verbatim on a clean machine and a receipt showing the artifact reproduces byte-for-byte. → The spec site: ds-contracts-spec.pages.dev · The playground: ds-contracts-playground.pages.dev · New here? Which journey are you on? Release-candidate status The coordinated release candidate is repository 1.0.0-rc.1 , schema 16.1.0-rc.2 , and web-components emitter 0.4.0-rc.2 . The previous package RCs (schema 16.1.0-rc.1 , emitter 0.4.0-rc.1 ) were published under npm's next tag. The current conversion work advances the CLI source to 0.5.0-rc.2 and the schema and emitter sources to their rc.2 versions; all three are source-ahead and unpublished. npm's latest tags remain on the stable line. Use an exact version when evaluating an RC; do not assume la","default_branch":null,"files":null,"tree":[],"storefront":"/r/southleft","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/southleft/ds-contracts-poc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}