spec: OpenUI 1.0-beta community review draft - #925
Draft
Aditya-thesys wants to merge 1 commit into
Draft
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Aditya-thesys
force-pushed
the
spec-0.9-community-draft
branch
from
August 4, 2026 12:36
b9e4c2a to
c3ce20a
Compare
Aditya-thesys
force-pushed
the
spec-0.9-community-draft
branch
from
August 4, 2026 12:51
c3ce20a to
c36d9c0
Compare
abhithesys
reviewed
Aug 5, 2026
| A library derives from another with one method, covering both directions of the common request: use the default library but add your own components, or use it minus the parts your product does not want. | ||
|
|
||
| ```tsx | ||
| export const library = defaultLibrary.extend({ |
Contributor
There was a problem hiding this comment.
extending a library means, I have to know each and every component in the library. should we just promote composition instead?
abhithesys
reviewed
Aug 5, 2026
| ```openui-lang library=charts | ||
| root = ChartCard([rev]) | ||
| rev = BarChart(labels, [series]) | ||
| ``` |
Contributor
There was a problem hiding this comment.
LLM would need to be careful about escaping if it uses backticks. should the fences be something unique like
|>>>> openui-lang lib=charts
Lang
|<<<<
or we expect LLMs to be smart enough?
Three documents: overview.md (guide, features, proposed extensions), language.md (normative language specification), prompt.md (LibrarySpec and the prompt contract).
Aditya-thesys
force-pushed
the
spec-0.9-community-draft
branch
from
August 5, 2026 14:20
c36d9c0 to
946369a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenUI specification, 1.0-beta community review draft
Three documents under
spec/:Sections 1 to 3 of the overview and everything unmarked in language.md describe shipped behavior; (proposed) marks designed but unshipped features, collected in overview section 4 for review.
This is a review draft: feedback welcome on any section, especially the proposed extensions.