Documentation
¶
Overview ¶
Package components holds the complete example on each component's guide page, compiled here so that they can't go stale.
Index ¶
- Variables
- type Bakery
- type Basket
- type Branch
- type Categories
- type Checkout
- type Details
- type Extras
- type FAQ
- type Filters
- type FlatWhite
- type Icons
- type Inbox
- type Loading
- type Menu
- type NoOrders
- type Offers
- type Offline
- type OrderActions
- type OrderStates
- type Orders
- type Payment
- type Photo
- type Placed
- type Receipt
- type Reservation
- type RowMenu
- type Sales
- type ServiceCharge
- type Settings
- type Team
- type Tile
- type Toolbar
- type Upload
- type Verify
Constants ¶
This section is empty.
Variables ¶
View Source
var Screens = map[string]ui.Component{ "button": Checkout{}, "icon-button": Toolbar{}, "floating-button": Orders{}, "checkbox": Extras{}, "radio-group": Payment{}, "segmented-control": Sales{}, "stepper": Basket{}, "select": Branch{}, "date-field": Reservation{}, "search-bar": Menu{}, "otp-input": Verify{}, "icon": Icons{}, "image": Photo{}, "avatar": Team{}, "badge": OrderStates{}, "chip": Filters{}, "divider": Receipt{}, "list-row": Settings{}, "progress-bar": Upload{}, "skeleton": Loading{}, "empty-state": NoOrders{}, "sheet": FlatWhite{}, "action-sheet": OrderActions{}, "toast": Placed{}, "banner": Offline{}, "menu": RowMenu{}, "tooltip": ServiceCharge{}, "app-bar": Details{}, "grid": Categories{}, "accordion": FAQ{}, "carousel": Offers{}, "swipe-row": Inbox{}, "gestures": Tile{}, "canvas": Bakery{}, }
Screens are the examples, by page.
Functions ¶
This section is empty.
Types ¶
type Bakery ¶
type Bakery struct{}
Bakery draws a day at the bakery on one canvas: a ring that fills to the day's goal (tap it to fill it again), a spinner, a card with a shadow, a photo and wrapped text, a heart that beats, colors that blend, a slider that snaps, and a banner a shader paints. The phone runs the animations and the shader, and follows the finger.
type Reservation ¶
type Reservation struct{}
Reservation takes a date and a time with the platform's pickers.
Source Files
¶
- accordion.go
- action_sheet.go
- app_bar.go
- avatar.go
- badge.go
- banner.go
- button.go
- canvas.go
- carousel.go
- checkbox.go
- chip.go
- components.go
- date_field.go
- divider.go
- empty_state.go
- floating_button.go
- gestures.go
- grid.go
- icon.go
- icon_button.go
- image.go
- list_row.go
- menu.go
- otp_input.go
- progress_bar.go
- radio_group.go
- search_bar.go
- segmented_control.go
- select.go
- sheet.go
- skeleton.go
- stepper.go
- swipe_row.go
- toast.go
- tooltip.go
Click to show internal directories.
Click to hide internal directories.