Components
- Accordion
- Alert
- Avatar
- Badge
- Breadcrumb
- Bubble
- Button
- Button Group
- Calendar
- Carousel
- Checkbox
- Clipboard
- Collapsible
- Color Picker
- Combobox
- Data Table
- Date Picker
- Description List
- Dropdown Button
- Empty
- Form
- Group Box
- Hover Card
- Icon
- Image
- Input
- Input Group
- Kbd
- Label
- Link
- List
- Marker
- Menu
- Message
- Notification
- Number Input
- Pagination
- Popover
- Progress
- Progress Circle
- Radio
- Rating
- Resizable
- Scrollable
- Select
- Separator
- Sheet
- Shimmer
- Sidebar
- Skeleton
- Slider
- Spinner
- Status Bar
- Stepper
- Switch
- Table
- Tabs
- Tag
- Textarea
- Time Field
- Title Bar
- Toggle
- Toggle Group
- Toolbar
- Tooltip
- Tree
- Virtual List
Interactive



<PipsPager NumberOfPages="5" SelectedPageIndex="2" />Usage
PipsPager with numbered pages: set NumberOfPages and SelectedPageIndex. Previous and Next are ghost compact buttons with a chevron and a label (the resources Gpui.Pagination.Previous and Gpui.Pagination.Next), and the pages are compact buttons, the current one outline. The end buttons stay visible and disabled at the first and the last page, as in GPUI Kit. Sizes: xsmall, small, large (medium without one); compact keeps the chevrons alone, as square icon buttons. Set the classes in XAML, before the template applies: PipsPager sizes its page list from the first page it realizes. Past MaxVisiblePips the pages scroll.
Examples
The four sizes.
Interactive



<StackPanel Spacing="4" HorizontalAlignment="Left">
<PipsPager Classes="xsmall" NumberOfPages="5" SelectedPageIndex="2" />
<PipsPager Classes="small" NumberOfPages="5" SelectedPageIndex="2" />
<PipsPager NumberOfPages="5" SelectedPageIndex="2" />
<PipsPager Classes="large" NumberOfPages="5" SelectedPageIndex="2" />
</StackPanel>compact with small, at the default size, and disabled.
Interactive



<StackPanel Spacing="4" HorizontalAlignment="Left">
<PipsPager Classes="compact small" NumberOfPages="5" SelectedPageIndex="2" />
<PipsPager Classes="compact" NumberOfPages="5" SelectedPageIndex="2" />
<PipsPager Classes="compact" NumberOfPages="5" SelectedPageIndex="2" IsEnabled="False" />
</StackPanel>Not covered
- Collapsing long page lists with ellipses (GPUI Kit's ellipsis menu); PipsPager scrolls its pages instead.