[GH-ISSUE #444] Lack of documentation / onChange prop for custom Renderable #116

Open
opened 2026-03-02 23:44:39 +03:00 by kerem · 5 comments
Owner

Originally created by @Quackzoer on GitHub (Dec 27, 2025).
Original GitHub issue: https://github.com/anomalyco/opentui/issues/444

OpenTUI is amazing, I already like it more than React/INK even tho I still don't know how to use it. The biggest problem tho is poor documentation. Things are scattered around, difficult to find etc. I'm considering making a website because I really like the package and I would like to contribute somehow to it so nobody else spends over an hour trying to figure out how to add onChange prop to custom Renderable (still without any luck).

I believe fumadocs would be sufficient, allows for lots of customization, supports mdx, is still in development.

I'll gladly accept anyone who would be willing to help with it, to be fair I'm not best with design.

Off topic: I created cutom Checkbox Renderable, I based it on Select Renderable but for some reason Select accepts onChange prop and my Checkbox doesn't. I'm using React

Originally created by @Quackzoer on GitHub (Dec 27, 2025). Original GitHub issue: https://github.com/anomalyco/opentui/issues/444 OpenTUI is amazing, I already like it more than React/INK even tho I still don't know how to use it. The biggest problem tho is poor documentation. Things are scattered around, difficult to find etc. I'm considering making a website because I really like the package and I would like to contribute somehow to it so nobody else spends over an hour trying to figure out how to add onChange prop to custom Renderable (still without any luck). I believe [fumadocs](https://www.fumadocs.dev) would be sufficient, allows for lots of customization, supports mdx, is still in development. I'll gladly accept anyone who would be willing to help with it, to be fair I'm not best with design. Off topic: I created cutom Checkbox Renderable, I based it on Select Renderable but for some reason Select accepts onChange prop and my Checkbox doesn't. I'm using React
Author
Owner

@remorses commented on GitHub (Dec 27, 2025):

I can try creating one with holocron.so based on the existing documentation in the codebase

Here is an example of how it would look like: https://docs.holocron.so/README

<!-- gh-comment-id:3693923939 --> @remorses commented on GitHub (Dec 27, 2025): I can try creating one with holocron.so based on the existing documentation in the codebase Here is an example of how it would look like: https://docs.holocron.so/README
Author
Owner

@Quackzoer commented on GitHub (Dec 27, 2025):

I can try creating one with holocron.so based on the existing documentation in the codebase

Here is an example of how it would look like: https://docs.holocron.so/README

Why holocron and not Fumadocs? Fumadocs seems way more customizable, lacks on community tho but I watched video about it and for someone who works in React seems very nice and easy

<!-- gh-comment-id:3693930903 --> @Quackzoer commented on GitHub (Dec 27, 2025): > I can try creating one with holocron.so based on the existing documentation in the codebase > > Here is an example of how it would look like: https://docs.holocron.so/README Why holocron and not Fumadocs? Fumadocs seems way more customizable, lacks on community tho but I watched video about it and for someone who works in React seems very nice and easy
Author
Owner

@kommander commented on GitHub (Dec 27, 2025):

@msmps would know best how to extend react with a custom Renderable like that.

<!-- gh-comment-id:3694156233 --> @kommander commented on GitHub (Dec 27, 2025): @msmps would know best how to extend react with a custom Renderable like that.
Author
Owner

@Quackzoer commented on GitHub (Jan 2, 2026):

I found out that onChange prop used to be added by OpenTUI in host-config.ts via hard coded values. Can't find where it is now. I simply created React wrapper around my component that adds onChange, can't think of better solution

<!-- gh-comment-id:3706280991 --> @Quackzoer commented on GitHub (Jan 2, 2026): I found out that onChange prop used to be added by OpenTUI in host-config.ts via hard coded values. Can't find where it is now. I simply created React wrapper around my component that adds onChange, can't think of better solution
Author
Owner

@kommander commented on GitHub (Jan 26, 2026):

There now is a proper documentation setup which also is deployed with the website. It's WIP. Feel free to add to the documentation if something is missing.

<!-- gh-comment-id:3800749808 --> @kommander commented on GitHub (Jan 26, 2026): There now is a proper documentation setup which also is deployed with the website. It's WIP. Feel free to add to the documentation if something is missing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/opentui#116
No description provided.