Bubble
Represents the filled circle with a number of an icon, supporting the usual color variants
Basic Usage
Disabled variant
Expandable
In the case of long content use expandable prop. It adds padding to Bubble. Padding value is configurable through scss variables.
Theme Variables (SCSS)#
$bubble-variants: ("success": ( "background-color": $success, "color": $white ),"warning": ( "background-color": $warning, "color": $white ),"error": ( "background-color": $danger, "color": $white ),"primary": ( "background-color": $primary, "color": $white ),) !default;$bubble-expandable-padding-x: .25rem !default;$bubble-expandable-padding-y: 0 !default;
Bubble Props API
- children
nodeRequired RequiredSpecifies contents of the component.
 - variant
enumRequired'primary' | 'success' | 'error' | 'warning'Default'primary'The
Bubblestyle variant to use. - disabled
boolRequiredDefaultfalseActivates disabled variant.
 - className
stringRequiredA class name to append to the base element.
 - expandable
boolRequiredDefaultfalseSpecifies whether to add padding to the
Bubbleor not.