docs: remove Bootstrap 5 references in Bootstrap 6 docs#42133
Draft
docs: remove Bootstrap 5 references in Bootstrap 6 docs#42133
Conversation
Co-authored-by: mdo <98681+mdo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Remove remaining references to Bootstrap 5 in documentation
docs: remove Bootstrap 5 references in Bootstrap 6 docs
Mar 8, 2026
julien-deramond
requested changes
Mar 9, 2026
| <h2 class="display-5 mb-3 fw-semibold lh-sm">Build and extend in real-time with CSS variables</h2> | ||
| <p class="lead fw-normal"> | ||
| Bootstrap 5 is evolving with each release to better utilize CSS variables for global theme styles, individual | ||
| Bootstrap is evolving with each release to better utilize CSS variables for global theme styles, individual |
Member
There was a problem hiding this comment.
I'm not sure it worth keeping this information as it was the specific context of adding these CSS vars in Bootstrap 5. It's been a "long time" they're here already.
| As options can be passed via data attributes or JavaScript, you can append an option name to `data-bs-`, as in `data-bs-animation="{value}"`. Make sure to change the case type of the option name from “_camelCase_” to “_kebab-case_” when passing the options via data attributes. For example, use `data-bs-custom-class="beautifier"` instead of `data-bs-customClass="beautifier"`. | ||
|
|
||
| As of Bootstrap 5.2.0, all components support an **experimental** reserved data attribute `data-bs-config` that can house simple component configuration as a JSON string. When an element has `data-bs-config='{"delay":0, "title":123}'` and `data-bs-title="456"` attributes, the final `title` value will be `456` and the separate data attributes will override values given on `data-bs-config`. In addition, existing data attributes are able to house JSON values like `data-bs-delay='{"show":0,"hide":150}'`. | ||
| As of v5.2.0, all components support an **experimental** reserved data attribute `data-bs-config` that can house simple component configuration as a JSON string. When an element has `data-bs-config='{"delay":0, "title":123}'` and `data-bs-title="456"` attributes, the final `title` value will be `456` and the separate data attributes will override values given on `data-bs-config`. In addition, existing data attributes are able to house JSON values like `data-bs-delay='{"show":0,"hide":150}'`. |
Member
There was a problem hiding this comment.
We could possibly remove the "As of v5.2.0" and remove the "experimental" word if it's still il v6.
|
|
||
| <Callout type="warning"> | ||
| **Heads up—our CSS Grid system is experimental and opt-in as of v5.1.0!** We included it in our documentation’s CSS to demonstrate it for you, but it’s disabled by default. Keep reading to learn how to enable it in your projects. | ||
| **Heads up—our CSS Grid system is experimental and opt-in!** We included it in our documentation’s CSS to demonstrate it for you, but it’s disabled by default. Keep reading to learn how to enable it in your projects. |
Member
There was a problem hiding this comment.
Probably no more experimental as v5.1 was a long time ago
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.
Several doc pages and components carried over "Bootstrap 5"-specific phrasing that is incorrect now that this branch targets v6.
Changes
CSSVariables.astro,ComponentUtilities.astro)bootstrap-5tobootstrap-6JsDataAttributes.mdx: "As of Bootstrap 5.2.0" → "As of v5.2.0".visually-hidden-focusable" → "Bootstrap's.visually-hidden-focusable"Intentionally preserved: footer "Bootstrap 5" project link (points to
v5-devbranch),javascript.mdx"(Bootstrap 5)" annotation on BootstrapVueNext (reflects actual library compatibility), and historical prose incustomize/overview.mdxthat explicitly contrasts v5 and v6 behavior.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.