Skip to content

Conversation

@wellingtoncosta
Copy link
Collaborator

@wellingtoncosta wellingtoncosta commented Dec 23, 2025

Summary

This PR introduces a new button variant called SlimButton, which has both default and outlined styles and it's intended to be used in toolbars and space-constrained UIs. As part of the public API, there are both DefaultSlimButton and OutlinedSlimButton, following the pattern for other button variants.

A slim button section was added to the sample app, showcasing how it looks like.

Screenshot
image

Release notes

New features

  • Added a new button variant called SlimButton, which has both DefaultSlimButton and OutlinedSlimButton styles

Note

Adds a compact button variant for space-constrained UIs.

  • New DefaultSlimButton and OutlinedSlimButton components with reduced padding/height (24dp) and toolbar-friendly metrics
  • Introduces ButtonMetrics.slim and ButtonStyle.Slim factories in Int UI styling
  • Theme plumbing: exposes defaultSlimButtonStyle/outlinedSlimButtonStyle via JewelTheme, composition locals, and DefaultComponentStyling; integrates into IntUi themes and Swing bridge readers
  • Showcase app: adds a “Slim buttons” section demonstrating both variants

Written by Cursor Bugbot for commit 018413d. This will update automatically on new commits. Configure here.

@wellingtoncosta wellingtoncosta requested review from faogustavo and rock3r and removed request for rock3r December 23, 2025 22:47
@wellingtoncosta wellingtoncosta self-assigned this Dec 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant