@asphalt-react/logo
v2.0.0-rc.11
Published
Application logo and title
Downloads
194
Readme
Logo
A Logo represents your business and company's first introduction to consumers. It consists of the product's symbol and name. By default, Logo displays both but you can show either of them to fit your needs. Logo supports a list of product symbols to choose from or you can use a different one as well.
Usage
Usually Logo appears inside the Appbar and Sidebar components but you can also use it at other places.
import { Logo } from "@asphalt-react/logo"
<Logo />
Supported product symbols
- Gojek
- GoRide
- GoCar
- GoSend
- GoFresh
- GoFood
- GoTix
- GoPay
- GoPoints
- GoBiz
- GoPlay
- GoPromo
- AsphaltReact
- AsphaltWeb
- Bullpup
- Coffer
- Radar
Props
children
The custom logo to display which is not present in the product symbols list. It overrides product
and symbol
props.
| type | required | default | | ---- | -------- | ------- | | node | false | N/A |
size
Size of Logo
. Accepts "xs", "s", "m" and "l". It doesn't apply to custom logos.
| type | required | default | | ---- | -------- | ------- | | enum | false | "m" |
product
Brand name of your product. To remove it, set it to false
.
| type | required | default | | ----- | -------- | ------- | | union | false | "gojek" |
symbol
Renders symbol of your product. This prop will always default to Gojek logo. To remove it, set it to false
.
| type | required | default | | ----- | -------- | ------- | | union | false | null |