Represents the filled circle with a number of an icon, supporting the usual color variants
Basic Usage
Show editable code example
Any Paragon component or export may be added to the code example.
Disabled variant
Show editable code example
Any Paragon component or export may be added to the code example.
Expandable
In the case of long content use expandable prop. It adds padding to Bubble. Padding value is configurable through scss variables.
Show editable code example
Any Paragon component or export may be added to the code example.
Theme Variables#
| CSS Variable | Computed Value |
|---|---|
| | |
| | |
| | |
| | |
| | |
Props API#
Bubble Props API
- children
React.ReactNodeDefaultnullSpecifies contents of the component.
- variant
'primary'|'success'|'error'|'warning'Default'primary'The
Bubblestyle variant to use. - disabled
booleanDefaultfalseActivates disabled variant.
- className
stringOptional class name(s) to append to the base element.
- expandable
booleanDefaultfalseSpecifies whether to add padding to the
Bubbleor not.
Usage Insights#
Bubble
| Project Name | Paragon Version | Instance Count | |
|---|---|---|---|
| frontend-app-communications | 23.12.2 | 1 | |
| frontend-app-course-authoring | 23.15.1 | 2 | |
| frontend-app-learner-portal-enterprise | 22.17.0 | 4 | |
| frontend-app-library-authoring | 21.11.3 | 4 |