- Welcome
- Getting started
- 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
Content Cards
Images and text arranged in a beautiful responsive layout, with options to show 1, 2, or 3 items at once.
With one card
Storybook failed to load.
With two cards
Storybook failed to load.
With three cards
Storybook failed to load.
bpk-component-content-cards
Backpack example component.
Installation
Check the main Readme for a complete installation guide.
Usage
import BpkContentCards from '@skyscanner/backpack-web/bpk-component-content-cards';
<BpkContentCards
heading='Heading'
cards=[
{
image: {
url: 'http://skyscanner.net/card-1-image-link.jpg',
alt: 'People surfing in the ocean',
},
headline: 'Card headline',
description: 'Card description',
href: 'http://skyscanner.net/card-1-cta-link.html',
},
]
/>
export default () => <BpkContentCards />;
Props
Property | PropType | Required | Default Value |
---|---|---|---|
heading | string | true | |
cards
|
Array
|
true
|
"" |
Made with ❤️ by Skyscanner © 2023
© 2023 Skyscanner Backpack. Page last updated on Jan 11, 2023, 16:42