Skip to content

feat(button): add title prop#328

Merged
mattrothenberg merged 3 commits intocloudflare:mainfrom
nandanmen:nanda/button-titles
Mar 27, 2026
Merged

feat(button): add title prop#328
mattrothenberg merged 3 commits intocloudflare:mainfrom
nandanmen:nanda/button-titles

Conversation

@nandanmen
Copy link
Copy Markdown
Contributor

@nandanmen nandanmen commented Mar 27, 2026

Summary

  • Adds a title prop to Button that wraps it in a Tooltip when provided
  • Adds a ButtonTitleDemo to the docs showing the prop on both a text button and an icon-only button
CleanShot 2026-03-27 at 13 27 39@2x

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Mar 27, 2026

npm i https://pkg.pr.new/@cloudflare/kumo@328

commit: cc1dd80

@github-actions
Copy link
Copy Markdown
Contributor

Docs Preview

View docs preview

Commit: cc1dd80

@github-actions
Copy link
Copy Markdown
Contributor

Visual Regression Report

12 screenshot(s) with visual changes:

Button / Icon Only

88 px (0.08%) changed

Before After Diff
Before After Diff

Button / Loading State

5 px (0%) changed

Before After Diff
Before After Diff

Dialog / Dialog Alert

862 px (0.75%) changed

Before After Diff
Before After Diff

Dialog / Dialog With Select

130 px (0.11%) changed

Before After Diff
Before After Diff

Dialog / Dialog With Combobox

130 px (0.11%) changed

Before After Diff
Before After Diff

Dialog / Dialog With Dropdown

130 px (0.11%) changed

Before After Diff
Before After Diff

Select / Select Basic

299 px (0.26%) changed

Before After Diff
Before After Diff

Select / Select Without Label

170 px (0.15%) changed

Before After Diff
Before After Diff

Select / Select With Field

0 px (0%) changed

Before After Diff
Before After Diff

Select / Select Custom Rendering

413 px (0.36%) changed

Before After Diff
Before After Diff

Select / Select Loading

0 px (0%) changed

Before After Diff
Before After Diff

Select (Open)

0 px (0%) changed

Before After Diff
Before After Diff
18 screenshot(s) unchanged
  • Button / Basic
  • Button / Variant: Primary
  • Button / Variant: Secondary
  • Button / Variant: Ghost
  • Button / Variant: Destructive
  • Button / Variant: Outline
  • Button / Variant: Secondary Destructive
  • Button / Sizes
  • Button / With Icon
  • Button / Disabled State
  • Dialog / Dialog With Actions
  • Dialog / Dialog Basic
  • Dialog / Dialog Confirmation
  • Dialog (Open)
  • Select / Select Placeholder
  • Select / Select With Tooltip
  • Select / Select Multiple
  • Select / Select Complex

Generated by Kumo Visual Regression

@mattrothenberg mattrothenberg merged commit f0c8952 into cloudflare:main Mar 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants