- Welcome
- Getting started
- Monthly update
- Foundations
-
Components
- Accordion
- Alert
- Alignment
- Aria Live
- Autosuggest
- Badge
- Banner Alert
- Bar Chart
- Blockquote
- Bottom Navigation
- Bottom Sheet
- Breadcrumb
- Breakpoint
- Button
- Calendar
- Card
- Card Button
- Carousel
- Checkbox
- Chip
- Code
- Content Cards
- Data Table
- Datepicker
- Description List
- Dialog
- Divider
- Drawer
- Field Set
- Flare
- Flat List
- Flight Leg
- Floating Action Button
- Floating Notification
- Form Label
- Form Validation
- Graphic Promotion
- Horizontal Navigation
- Icon
- Image
- Infinite Scroll
- Link
- List
- Map
- Mobile Scroll Container
- Modal
- Navigation Bar
- Nudger
- Overlay
- Page Indicator
- Pagination
- Panel
- Phone Input
- Picker
- Popover
- Price
- Progress Bar
- Radio Button
- Rating
- Scrollable Calendar
- Section List
- Select
- Skeleton
- Skip Link
- Slider
- Snackbar
- Spinner
- Split Input
- Star Rating
- Switch
- Table
- Text
- Text Input
- Theming
- Ticket
- Toast
- Tooltip
- Touchable Native Feedback
- Touchable Overlay
- Content
- Accessibility
Flare
The flare enables you to display content with a pointer to directional content.
Default
Storybook failed to load.
bpk-component-flare
Backpack example component.
Installation
Check the main Readme for a complete installation guide.
Usage
Note that the default background color is white. You will need to apply a custom className if you wish to change this.
React components
import { BpkContentBubble } from '@skyscanner/backpack-web/bpk-component-flare';
export default MyComponent = () => (
<div>
<BpkContentBubble
className="myCustomClassName"
showPointer={false}
rounded={false}
content={...}
/>
</div>
)
Props
BpkContentBubble
Property | PropType | Required | Default Value |
---|---|---|---|
className | string | false | null |
content | node | false | null |
contentClassName | string | false | null |
flareProps | object - see BpkFlareBar | false | null |
showPointer | bool | false | true |
BpkFlareBar
Property | PropType | Required | Default Value |
---|---|---|---|
className | string | false | null |
svgClassName | string | false | null |
Made with ❤️ by Skyscanner © 2023
© 2023 Skyscanner Backpack. Page last updated on Apr 28, 2023, 02:23