From 8a6b3165c7e912ad05d89730ae6f694be6919748 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Thu, 14 Dec 2017 12:08:15 -0500 Subject: [PATCH] docs(badge): add more to the description of badge --- packages/core/src/components/badge/readme.md | 25 +++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/packages/core/src/components/badge/readme.md b/packages/core/src/components/badge/readme.md index 8eaa1ea941..86fc097299 100644 --- a/packages/core/src/components/badge/readme.md +++ b/packages/core/src/components/badge/readme.md @@ -1,19 +1,26 @@ # ion-badge -Badges are simple components in Ionic containing numbers or text. You can display a -badge to indicate that there is new information associated with the item it is on. +Badges are inline block elements that usually appear near another element. Typically they contain a number or other characters. They can be used as a notification that there are additional items associated with an element and indicate how many items there are. + +```html +99 + + +11 +22 +33 +44 +55 +66 +``` ```html - - 34 - - My Item - - 2 - + 11 + My Item + 22