<ProductBadge> Component

Share
Code Editor
<section>
<h1>DEPRECATED. Use <a href="/components/badge">Badge</a>.</h1>
<div style={{display: 'flex', flexWrap: 'wrap', backgroundColor: 'black', padding: '16px'}}>
<ProductBadge
productName={'waypoint'}
appearance={'dark'}
hasDot={true}
theme={'secondary'}
/>
</div>
<div style={{display: 'flex', flexWrap: 'wrap', backgroundColor: 'white', padding: '16px'}}>
<ProductBadge
productName={'waypoint'}
appearance={'light'}
hasDot={true}
theme={'secondary'}
/>
</div>
</section>

Props

NameDescription
appearance
string
Display <ProductBadge /> on light or dark background.
Options: "light", "dark"
productName*
string
A lower-case product identifier to pull in respective theme colors.
Options: "hashicorp", "boundary", "consul", "nomad", "packer", "terraform", "vault", "vagrant", "waypoint"
theme
string
Applies styling to the component.
Options: "primary", "secondary"
hasDot
boolean
Applies a dot. Forces the secondary theme.

Examples

Dark

Primary

terraform

vault

consul

nomad

waypoint

boundary

packer

vagrant

Secondary

terraform

vault

consul

nomad

waypoint

boundary

packer

vagrant

hasDot

terraform

vault

consul

nomad

waypoint

boundary

packer

vagrant

Light

Primary

terraform

vault

consul

nomad

waypoint

boundary

packer

vagrant

Secondary

terraform

vault

consul

nomad

waypoint

boundary

packer

vagrant

hasDot

terraform

vault

consul

nomad

waypoint

boundary

packer

vagrant