Skip to content

Button sizing inconsistency between text and icon-only buttons #1222

@dauriamarco

Description

@dauriamarco

Text buttons and circle/square icon buttons use different sizing systems, causing confusion when used in button groups or in general.

Text Button Size Height Circle Button Equivalent Height
Large 40px Default/Large 40px
Default 32px Small 32px
Small 28px Extra Small 24px

Issues

  • Same class names (.btn-sm, .btn-lg) produce different results between button types.
  • A "default" text button visually matches a "small" circle button.
  • Circle buttons have .btn-xs (24px) while text buttons don't.
  • Button groups would have different sizes based on which type of buttons is being used.

Questions

  • Should we align the sizing systems?
  • Make class names semantically consistent?
  • Make sizes consistent (same class = same height)?

WDYT? @panch1739 @hbxes

Metadata

Metadata

Labels

uxMarks all UX related topics (UX team is working on or UX input is required)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions