Skip to content

Update button selectors and class usage#42149

Merged
mdo merged 4 commits into
v6-devfrom
v6-btn-classes
Mar 11, 2026
Merged

Update button selectors and class usage#42149
mdo merged 4 commits into
v6-devfrom
v6-btn-classes

Conversation

@mdo

@mdo mdo commented Mar 11, 2026

Copy link
Copy Markdown
Member
  • .btn-link and .btn-icon no longer require .btn base class.
  • .btn, .btn-link, and .btn-icon are now default button selector classes, and variants get added to that selector. This means that you can modify the classes with ease in your final bundle by removing these three defaults and by modifying the available variants.
  • Updates markup for TONS of button instances across the docs.

@mdo mdo requested a review from a team as a code owner March 11, 2026 18:27
@mdo mdo added this to v6.0.0 Mar 11, 2026
@github-project-automation github-project-automation Bot moved this to Inbox in v6.0.0 Mar 11, 2026
@mdo mdo merged commit 27483dd into v6-dev Mar 11, 2026
12 checks passed
@mdo mdo deleted the v6-btn-classes branch March 11, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

1 participant