{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "pagination-15",
  "type": "registry:component",
  "title": "Pagination 15",
  "description": "Pagination 15. Pagination is used to guide users through a series of related content.",
  "dependencies": [
    "@tabler/icons-react"
  ],
  "registryDependencies": [
    "label",
    "pagination",
    "select",
    "tooltip"
  ],
  "files": [
    {
      "path": "components/watermelon/pagination-15.tsx",
      "type": "registry:component",
      "content": "import { useId } from 'react';\nimport {\n  IconChevronLeft,\n  IconChevronRight,\n  IconChevronsLeft,\n  IconChevronsRight,\n  IconDots,\n} from '@tabler/icons-react';\nimport { Label } from '@/components/base-ui/label';\nimport {\n  Pagination,\n  PaginationContent,\n  PaginationItem,\n  PaginationLink,\n} from '@/components/base-ui/pagination';\nimport {\n  Select,\n  SelectContent,\n  SelectItem,\n  SelectTrigger,\n  SelectValue,\n} from '@/components/base-ui/select';\nimport {\n  Tooltip,\n  TooltipContent,\n  TooltipTrigger,\n} from '@/components/base-ui/tooltip';\nimport { cn } from '@/lib/utils';\n\nconst pages = [1, 2, 3];\n\nconst Pagination15 = () => {\n  const id = useId();\n\n  return (\n    <div className=\"flex w-full flex-wrap items-center justify-between gap-6 rounded-2xl border border-neutral-200 bg-white/70 p-5 shadow-xl backdrop-blur-md max-sm:flex-col max-sm:justify-center max-sm:gap-4 max-sm:px-3 max-sm:py-6 dark:border-neutral-800 dark:bg-neutral-950/70\">\n      <div className=\"flex shrink-0 items-center gap-4 rounded-xl border border-neutral-100 bg-neutral-100/50 p-1 dark:border-neutral-800 dark:bg-neutral-900/50\">\n        <Label\n          htmlFor={id}\n          className=\"pl-2 text-[10px] font-bold tracking-widest text-neutral-500 uppercase dark:text-neutral-400\"\n        >\n          Rows\n        </Label>\n        <Select defaultValue=\"10\">\n          <SelectTrigger\n            id={id}\n            className=\"h-7 w-[60px] rounded-lg border-none bg-white px-2 text-xs font-bold shadow-none dark:bg-neutral-950\"\n          >\n            <SelectValue placeholder=\"10\" />\n          </SelectTrigger>\n          <SelectContent className=\"rounded-xl border-neutral-200 shadow-2xl dark:border-neutral-800\">\n            <SelectItem value=\"10\" className=\"rounded-lg\">\n              10\n            </SelectItem>\n            <SelectItem value=\"25\" className=\"rounded-lg\">\n              25\n            </SelectItem>\n            <SelectItem value=\"50\" className=\"rounded-lg\">\n              50\n            </SelectItem>\n          </SelectContent>\n        </Select>\n      </div>\n\n      <div className=\"flex items-center gap-6 max-sm:flex-col max-sm:justify-center max-sm:gap-4\">\n        <p\n          className=\"text-xs font-semibold text-neutral-500 dark:text-neutral-400\"\n          aria-live=\"polite\"\n        >\n          Showing{' '}\n          <span className=\"px-1 font-bold text-indigo-600 dark:text-indigo-400\">\n            1-10\n          </span>{' '}\n          of{' '}\n          <span className=\"px-1 font-bold text-neutral-900 dark:text-neutral-100\">\n            100\n          </span>{' '}\n          items\n        </p>\n        <Pagination className=\"w-auto\">\n          <PaginationContent className=\"gap-1.5 rounded-xl bg-neutral-100/50 p-1 max-sm:flex-wrap max-sm:justify-center max-sm:gap-1 dark:bg-neutral-900/50\">\n            <PaginationItem className=\"hidden sm:flex\">\n              <PaginationLink\n                href=\"#\"\n                aria-label=\"Jump Start\"\n                size=\"icon\"\n                className=\"rounded-xl border-none bg-white shadow-sm transition-all hover:scale-105 hover:bg-neutral-100 active:scale-95 dark:bg-neutral-950 dark:hover:bg-neutral-800\"\n              >\n                <IconChevronsLeft className=\"size-4\" />\n              </PaginationLink>\n            </PaginationItem>\n            <PaginationItem>\n              <PaginationLink\n                href=\"#\"\n                aria-label=\"Back\"\n                size=\"icon\"\n                className=\"rounded-lg border-none transition-all hover:bg-white active:scale-95 dark:hover:bg-neutral-100 dark:hover:bg-neutral-800\"\n              >\n                <IconChevronLeft className=\"size-4\" />\n              </PaginationLink>\n            </PaginationItem>\n            {pages.map((page) => (\n              <PaginationItem key={page}>\n                <PaginationLink\n                  href={`#${page}`}\n                  isActive={page === 2}\n                  className={cn(\n                    'rounded-lg font-bold transition-all',\n                    page === 2\n                      ? 'scale-110 bg-indigo-600 text-white shadow-lg shadow-indigo-200 hover:bg-indigo-700 hover:text-white dark:bg-indigo-600 dark:shadow-indigo-900/20 dark:hover:bg-indigo-700'\n                      : 'hover:bg-white dark:hover:bg-neutral-800',\n                  )}\n                >\n                  {page}\n                </PaginationLink>\n              </PaginationItem>\n            ))}\n            <PaginationItem>\n              <Tooltip>\n                <TooltipTrigger\n                  asChild\n                  className=\"flex size-8 items-center justify-center rounded-lg transition-all hover:bg-white active:scale-95 dark:hover:bg-neutral-100 dark:hover:bg-neutral-800\"\n                >\n                  <IconDots className=\"size-4 opacity-50\" />\n                </TooltipTrigger>\n                <TooltipContent className=\"rounded-lg border-none bg-neutral-900 px-3 py-1.5 text-white shadow-xl\">\n                  <p className=\"text-[10px] font-bold tracking-tight uppercase\">\n                    2 more pages\n                  </p>\n                </TooltipContent>\n              </Tooltip>\n            </PaginationItem>\n            <PaginationItem>\n              <PaginationLink\n                href=\"#\"\n                aria-label=\"Forward\"\n                size=\"icon\"\n                className=\"rounded-lg border-none transition-all hover:bg-white active:scale-95 dark:hover:bg-neutral-100 dark:hover:bg-neutral-800\"\n              >\n                <IconChevronRight className=\"size-4\" />\n              </PaginationLink>\n            </PaginationItem>\n            <PaginationItem className=\"hidden sm:flex\">\n              <PaginationLink\n                href=\"#\"\n                aria-label=\"Jump End\"\n                size=\"icon\"\n                className=\"rounded-lg border-none bg-white shadow-sm transition-all hover:scale-105 hover:bg-neutral-100 active:scale-95 dark:bg-neutral-950 dark:hover:bg-neutral-800\"\n              >\n                <IconChevronsRight className=\"size-4\" />\n              </PaginationLink>\n            </PaginationItem>\n          </PaginationContent>\n        </Pagination>\n      </div>\n    </div>\n  );\n};\n\nexport default Pagination15;\n"
    }
  ]
}
