Skip to content

Tab Content — Reference

Reference · Advanced · Bootstrap 5

Tab Content settings and behavior. Settings include ID, Class.

Container for tab panes. Use with a tabs/nav component; place one or more Tab Pane components inside.

Name Description
IDOptional unique identifier for this element. Sets the element's id attribute. Keep IDs unique per page (useful for anchors, label for targets, and JavaScript hooks). Bootstrap docs: Introduction Default: "". Attribute: id.
ClassAdds raw class names to the element. Adds text directly to the class attribute. Use this for custom utility classes or project-specific overrides. Separate multiple classes with spaces. Bootstrap docs: Utilities API Default: "". Attribute: class.