Skip to content

Latest commit

 

History

History
227 lines (186 loc) · 7.37 KB

card-examples.md

File metadata and controls

227 lines (186 loc) · 7.37 KB

Card Examples

Infinity

There's lots of combination of inputs possible to really build the card as you want. You can find the available inputs in the README.

Real world uses

Feel free to create a PR to add your personal example.

Examples

Bellow are some examples of inputs and the effect on the card. All examples have the same data, the only difference is the inputs. Feel free to copy past the inputs you like and customize them even further.

List of examples:


Default

with:
  trailhead-username: th-username
  display-type: 'card'
Card on Light Theme Card on Dark Theme
default L default D

Summary Only

with:
  trailhead-username: th-username
  display-type: 'card'
  showSkill: 'hidden'
  showCertification: 'hidden'
  showBadge: 'hidden'
  showSuperBadge: 'hidden'
  showEventBadge: 'hidden'
  showStamp: 'hidden'
  showCertificationLatest: 'hidden'
  showBadgeLatest: 'hidden'
  showSuperBadgeLatest: 'hidden'
  showEventBadgeLatest: 'hidden'
  showStampLatest: 'hidden'
Card on Light Theme Card on Dark Theme
summary L summary D

Focus on Certification

with:
  trailhead-username: th-username
  display-type: 'card'
  showSkill: 'hidden'
  showCertification: 'detail'
  showBadge: 'hidden'
  showSuperBadge: 'hidden'
  showEventBadge: 'hidden'
  showStamp: 'hidden'
  showCertificationLatest: 'visible'
  showBadgeLatest: 'hidden'
  showSuperBadgeLatest: 'hidden'
  showEventBadgeLatest: 'hidden'
  showStampLatest: 'hidden'
Card on Light Theme Card on Dark Theme
certif L certif D

Numbers Lover

with:
  trailhead-username: th-username
  display-type: 'card'
  showSkillNumber: 10
  showSkill: 'visible'
  showCertification: 'number'
  showBadge: 'number'
  showSuperBadge: 'number'
  showEventBadge: 'number'
  showStamp: 'number'
  showCertificationLatest: 'hidden'
  showBadgeLatest: 'hidden'
  showSuperBadgeLatest: 'hidden'
  showEventBadgeLatest: 'hidden'
  showStampLatest: 'hidden'
Card on Light Theme Card on Dark Theme
numbers L numbers D

Maxi Details

with:
  trailhead-username: th-username
  display-type: 'card'
  showSkill: 'visible'
  showCertification: 'detail'
  showBadge: 'detail'
  showSuperBadge: 'detail'
  showEventBadge: 'detail'
  showStamp: 'detail'
  showCertificationLatest: 'hidden'
  showBadgeLatest: 'hidden'
  showSuperBadgeLatest: 'hidden'
  showEventBadgeLatest: 'hidden'
  showStampLatest: 'hidden'
Card on Light Theme Card on Dark Theme
details L details D

All over the table

with:
  trailhead-username: th-username
  display-type: 'card'
  darkStyle: 'dark'
  showSkillNumber: 3
  showSkillTheme: 'olympic'
  showSkill: 'visible'
  showCertification: 'detail'
  showBadge: 'icon'
  showSuperBadge: 'icon'
  showEventBadge: 'icon'
  showStamp: 'icon'
  showCertificationLatest: 'hidden'
  showBadgeLatest: 'hidden'
  showSuperBadgeLatest: 'hidden'
  showEventBadgeLatest: 'hidden'
  showStampLatest: 'hidden'
Card on Light Theme Card on Dark Theme
aott L aott D

Spooky

with:
  trailhead-username: th-username
  display-type: 'card'
  darkStyle: 'high-contrast'
  showSkillNumber: 6
  showSkillTheme: 'halloween'
  showSkill: 'visible'
  showCertification: 'detail'
  showBadge: 'hidden'
  showSuperBadge: 'icon'
  showEventBadge: 'hidden'
  showStamp: 'icon'
  showCertificationLatest: 'hidden'
  showBadgeLatest: 'hidden'
  showSuperBadgeLatest: 'hidden'
  showEventBadgeLatest: 'hidden'
  showStampLatest: 'hidden'
Card on Light Theme Card on Dark Theme
spooky L spooky D

Up-to-date fan

with:
  trailhead-username: th-username
  display-type: 'card'
  showSkillTheme: 'winter'
  showSkill: 'visible'
  showCertification: 'detail'
  showBadge: 'hidden'
  showSuperBadge: 'icon'
  showEventBadge: 'icon'
  showStamp: 'icon'
  showCertificationLatest: 'visible'
  showBadgeLatest: 'visible'
  showSuperBadgeLatest: 'visible'
  showEventBadgeLatest: 'visible'
  showStampLatest: 'visible'
Card on Light Theme Card on Dark Theme
uptodate L uptodate D