# Widgets
Unique CoreUI widget components. Check out more examples here!
# Features
- Unique styles
- Simple API's
# Widget with progress bar
Widget with progress bar.
# Usage
12.124
Lorem ipsum...
Lorem ipsum dolor sit amet enim.
12.124
Lorem ipsum...
Lorem ipsum dolor sit amet enim.
# CWidgetProgress API
color | undefined | String |
Background color of the component. By default set style of progress bar, when prop inverse is set to true, then set style of card.
| ||
inverse | false | Boolean |
When true, color property set style of card instead of progress bar.
| ||
value | 25 | Number |
Determines progress bar width in percent value.
| ||
header | undefined | String |
Header of the widget.
| ||
text | undefined | String |
Text of the widget.
| ||
footer | undefined | String |
Footer of the widget.
|
# Example of use for default slot
12.124
Lorem ipsum...
Lorem ipsum dolor sit amet enim.
# Widget Icon
Simple widget with default slot for an icon.
# Usage
$1.999,50
Income
$1.999,50
Income
# CWidgetIcon API
iconPadding | true | Boolean |
Sets widget body padding and change icon wrapper padding class from 'p-3' to 'p-4'.
| ||
color | undefined | String |
Background color of icon background.
| ||
header | undefined | String |
Header of the widget.
| ||
text | undefined | String |
Text of the widget.
|
# Widget brand
This widget consist of header styled by color property with default slot inside it, and body containing four optional text fields.
# Usage
89k
friends
459
feeds
500+
contracts
292
feeds
# CWidgetBrand API
color | undefined | String |
Background color of the component. Brand colors available by default : facebook, twitter, linkedin, flickr, tumblr, xing, github, stack-overflow, youtube, dribbble, instagram, pinterest, vk , yahoo, behance, reddit, vimeo. You can add more colors by using custom version of @coreui/coreui library.
| ||
addHeaderClasses | undefined | String/Array/Object |
Additional classes added to slot wrapper.
| ||
rightHeader | undefined | String |
Right header text.
| ||
leftHeader | undefined | String |
Left header text.
| ||
rightFooter | undefined | String |
Right footer text.
| ||
leftFooter | undefined | String |
Left footer text.
|
# Widget with progress bar and icon
# Usage
87.500
Visitors
385
New Clients
# CWidgetProgressIcon API
color | undefined | String |
Background color of the component. By default set style of progress bar, when prop inverse is set to true, then set style of card.
| ||
inverse | false | Boolean |
When true, color property set style of card instead of progress bar.
| ||
value | 25 | Number |
Determines progress bar width in percent value.
| ||
header | undefined | String |
Header of the widget.
| ||
text | undefined | String |
Text of the widget.
|
# Example of use for 'progress' slot
385
New Clients
# Widget dropdown
# Usage
9.823
Members online
9.823
Members online
# CWidgetDropdown API
color | undefined | String |
Background color of the widget.
| ||
header | undefined | String |
Header of the widget.
| ||
text | undefined | String |
Text of the widget.
|
# Widget simple
Simple widget with header
# Usage
title
1,123
title
1,123
title
1,123
# CWidgetSimple API
header | undefined | String |
Header of the widget.
| ||
text | undefined | String |
Text of the widget.
|