Ship faster with goilerplate templUI Pro

Pagination

Navigation controls for moving between pages of content.

Source Tailwind CSS

Installation

templui add pagination

Examples

With Helper

API Reference

Required parameter
Hover for description

Content

List container that holds pagination items.

Name Type Default
ID

Unique identifier for the content list element.

string
-
Class

Additional CSS classes to apply to the content list.

string
-
Attributes

Additional HTML attributes to apply to the content element.

templ.Attributes
-

Item

Individual list item that wraps pagination links or buttons.

Name Type Default
ID

Unique identifier for the item element.

string
-
Class

Additional CSS classes to apply to the item.

string
-
Attributes

Additional HTML attributes to apply to the item element.

templ.Attributes
-