Developer mode
Opens components on the React tab by default.
Your bookmarks

FeatureIcon / React

Also known as Fare types icon, pricing table icon

Draws attention to specific features.

To implement FeatureIcon component into your project you’ll need to add the import:

import FeatureIcon from "@kiwicom/orbit-components/lib/FeatureIcon";

After adding import into your project you can use it simply like:

<FeatureIcon name="TicketFlexi" />

Props

Table below contains all types of the props available in the FeatureIcon component.

Name Type Default Description
alt string "" Optional property for passing own alt attribute to the DOM image element.
dataTest string Optional prop for testing purposes.
name enum The name for the displayed feature icon.

enum

name
"TicketFlexi"
"TicketSaver"
"TicketStandard"