- Welcome
- Getting started
- Latest updates
- Foundations
-
Components
- Accordion
- Alert
- Alignment
- Aria live
- Autosuggest
- Badge
- Banner alert
- Bar chart
- Blockquote
- Bottom navigation
- Bottom sheet
- Breadcrumb
- Breakpoint
- Button
- Calendar
- Card
- Card List
- Card button
- Carousel
- Checkbox
- Chip
- Chip group
- 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 header
- Section list
- Select
- Skeleton
- Skip link
- Slider
- Snackbar
- Snippet
- Spinner
- Split input
- Star rating
- Switch
- Table
- Text
- Text input
- Theming
- Ticket
- Toast
- Tooltip
- Touchable native feedback
- Touchable overlay
- Content
- Accessibility
Form label
Label text is used to inform users as to what information is requested for a text field. Every text field should have a label.
Default
Storybook failed to load.
Disabled
Storybook failed to load.
Required
Storybook failed to load.
Invalid
Storybook failed to load.
White
Storybook failed to load.
bpk-component-label
Backpack label component.
Installation
Check the main Readme for a complete installation guide.
Usage
import BpkLabel from '@skyscanner/backpack-web/bpk-component-label';
export default () => (
<BpkLabel htmlFor="origin">Origin</BpkLabel>
)
Props
Property | PropType | Required | Default Value |
---|---|---|---|
children | node | true | - |
disabled | bool | false | false |
invalid | bool | false | false |
required | bool | false | false |
white | bool | false | false |
Made with ❤️ by Skyscanner © 2023
© 2023 Skyscanner Backpack. Page last updated on Nov 2, 2022, 15:29