feat(buttons): expose button style props in SDK#266
Open
germanocaumo wants to merge 3 commits into
Open
Conversation
Support configurable plugin button styles Add a shared plugin button style contract with documented size variants for plugin-provided buttons. Thread color, circle, hideLabel, size, and style through NavBarButton, ActionsBarButton, and PresentationToolbarButton constructors so plugins can control their rendered buttons while preserving current defaults. Update the README nav bar example with the new styling props and available button sizes.
Keep NavBarButton aligned with the HTML5 client's backward-compatible fallback for legacy plugin buttons. Default circle and hideLabel to false, and size to md, matching the previous Button defaults when nav bar plugin buttons did not provide these props.
Add an optional label prop to ActionsBarButton so plugins can provide visible button text separately from tooltip text. This keeps tooltip available for hover text while allowing the HTML5 client to render a dedicated label when hideLabel is false.
GuiLeme
approved these changes
Jun 17, 2026
GuiLeme
left a comment
Collaborator
There was a problem hiding this comment.
Tested locally - Working;
Code looks good
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.
What does this PR do?
Adds SDK support for configurable plugin-provided button styles.
color,circle,hideLabel,size, andstyleinNavBarButton,ActionsBarButton, andPresentationToolbarButton.Motivation
The HTML5 client can now consume additional button props for plugin-provided buttons. The SDK needs matching types, constructor support, and documentation so plugin authors can use those props through the standard SDK classes with TypeScript autocomplete and validation.
More
Html client changes: bigbluebutton/bigbluebutton#25214