Badge
Documentation and examples for badges, our small count and labeling component.
Style
You can use various props like bordered
, dot
, inline
, rounded
etc. to style the badge.
Color
Use color
prop to create various background badges.
Position
You can use location
prop to change the position of the badge. Possible values are top-end
, bottom-end
, bottom-start
, top-start
.
Icon
You can use icon
prop or use slot
to render the icon
Avatar Status
You can use badge with avatar as status.
Dynamic notifications
You can incorporate badges with dynamic content to make things such as a notification system.
Show on hover
You can do many things with v-isibility control, for example, show badge on hover.
Tabs
Badges help convey information to the user in a variety of ways.
Maximum Value
Use max
prop to cap the value of the badge content
CONTENTS
Introduction
Style
Color
Position
Icon
Avatar Status
Dynamic notifications
Show on hover
Tabs
Maximum Value