Skip to content

Subheader

BsSubheader is small and lightweight component which is used as lists title.

Usage Examples

The following is an example that demonstrate how to use the <bs-subheader>.

Today
Jason Oner
Ranee Carlson
Cindy Baker

History
Ali Connors
Travis Howard

CSS Variables

As CSS technology evolves, Vue MDBootstrap introduces local CSS variables on .md-subheader for better customization.

Added in v2.0.0
scss
.md-subheader {
  --md-subheader-font-size: var(--font-size-default);
  --md-subheader-font-weight: var(--font-weight-semibold);
  --md-subheader-padding-x: #{vars.$padding-md};
  --md-subheader-padding-y: 0;
}

API Reference

Released under the BSD-3-Clause License.