Pagination Thin

Attribute Type Documentation Default Value
id :any

HTML id attribute

class :any

additional CSS classes

loading :boolean

show loading state

false
show_page_jumper :boolean

show page number input

false
page_size :integer

items per page

10
page_num :integer

current page number

1
total :integer

total number of items

0
show_total :boolean

show total count

false
update_event :string

LiveView event name for page changes

"update_current_page"
prev_label :string

Screen reader label for the previous button

"Previous"
next_label :string

Screen reader label for the next button

"Next"
pagination_label :string

Accessible label for the pagination nav element

"Pagination"
prev_page_label :string

Accessible label for the previous page button

"Previous page"
next_page_label :string

Accessible label for the next page button

"Next page"
jump_to_page_label :string

Accessible label for the page jumper input

"Jump to page"
page_button_label :string

Label template for page number buttons ({page} replaced with number)

"Page {page}"
rest :global