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.ReactNode
DefaultnullSpecifies contents of the component.
- variant
'primary'
|'success'
|'error'
|'warning'
Default'primary'The
Bubble
style variant to use. - disabled
boolean
DefaultfalseActivates disabled variant.
- className
string
Optional class name(s) to append to the base element.
- expandable
boolean
DefaultfalseSpecifies whether to add padding to the
Bubble
or not.
Usage Insights#
Bubble
Project Name | Paragon Version | Instance Count | |
---|---|---|---|
frontend-app-admin-portal | 21.13.1 | 1 | |
frontend-app-course-authoring | 22.8.1 | 3 | |
frontend-app-learner-portal-enterprise | 21.13.1 | 4 | |
frontend-component-header-edx | 21.13.1 | 1 |