Page indicator
Shows the number of pages in a series and indicates which page is currently on display.
React
unsupportedVue
unsupportedElements
unsupportedAndroid
unsupportediOS
releasedExample
Usage
Design Guidelines
See Figma: Warp - Components / Page indicator
Questions?
Feel free to ask any questions on usage in the Warp DS Slack channel: #smp-warp-design-system
Frameworks
Syntax
swift
Warp.PageIndicator(
pageCount: Int,
selectedPage: Binding<Int> = .constant(0)
)
swift
Warp.PageIndicator(pageCount: 5)
Legacy support
By default all Warp components return a SwiftUI View
but there is always a UIKit UIView
available to use also.
swift
Warp.PageIndicator(pageCount: 5).uiView
Parameters
Required props
name | type | default | notes |
---|---|---|---|
pageCount | Int | The total number of pages. | |
selectedPage | Binding Int | Binding to an integer representing the currently selected page. |