Patterns/Label
1 example from SAP's documentation · no stylesheet in the package · Back to the gallery
About
The following classes and mixin provide a way to style your labels per SAP design. CSS Classes: .sap-label .sap-label-required .sap-label-colon .sap-label-colon-required SCSS Mixin: @include sap-label($required, $colon) where $required and $colon are optional and can be set individually. - @include sap-label($required: true): to display a label with asterisk - @include sap-label($colon: true): to display a label with colon - @include sap-label($required: true, $colon: true): to display a label with asterisk and colon