{"id":50217949,"url":"https://github.com/gfazioli/mantine-lens-select","last_synced_at":"2026-05-26T10:02:30.616Z","repository":{"id":357392554,"uuid":"1194452213","full_name":"gfazioli/mantine-lens-select","owner":"gfazioli","description":"A fisheye/lens magnification select component for React built with Mantine. Supports count mode, min/max/step range, macOS Dock-like magnification, horizontal/vertical orientations.","archived":false,"fork":false,"pushed_at":"2026-05-12T14:41:11.000Z","size":9235,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-12T16:35:20.380Z","etag":null,"topics":["component","count","dock","extension","fisheye","lens","macos-dock","magnification","mantine","mantine-ui","mantine-v9","range","react","react-component","select","slider","typescript"],"latest_commit_sha":null,"homepage":"https://gfazioli.github.io/mantine-lens-select/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gfazioli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["gfazioli"]}},"created_at":"2026-03-28T11:28:55.000Z","updated_at":"2026-05-12T15:39:28.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gfazioli/mantine-lens-select","commit_stats":null,"previous_names":["gfazioli/mantine-lens-select"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/gfazioli/mantine-lens-select","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-lens-select","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-lens-select/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-lens-select/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-lens-select/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gfazioli","download_url":"https://codeload.github.com/gfazioli/mantine-lens-select/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gfazioli%2Fmantine-lens-select/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33475746,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-25T06:32:55.349Z","status":"ssl_error","status_checked_at":"2026-05-25T06:32:35.322Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["component","count","dock","extension","fisheye","lens","macos-dock","magnification","mantine","mantine-ui","mantine-v9","range","react","react-component","select","slider","typescript"],"created_at":"2026-05-26T10:02:18.826Z","updated_at":"2026-05-26T10:02:30.604Z","avatar_url":"https://github.com/gfazioli.png","language":"TypeScript","funding_links":["https://github.com/sponsors/gfazioli","https://github.com/sponsors/gfazioli?o=esc"],"categories":[],"sub_categories":[],"readme":"# Mantine Lens Select Component\n\n\u003cimg alt=\"Mantine Lens Select\" src=\"https://github.com/gfazioli/mantine-lens-select/blob/master/logo.jpeg\" /\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n  [![NPM version](https://img.shields.io/npm/v/%40gfazioli%2Fmantine-lens-select?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-lens-select)\n  [![NPM Downloads](https://img.shields.io/npm/dm/%40gfazioli%2Fmantine-lens-select?style=for-the-badge)](https://www.npmjs.com/package/@gfazioli/mantine-lens-select)\n  [![NPM Downloads](https://img.shields.io/npm/dy/%40gfazioli%2Fmantine-lens-select?style=for-the-badge\u0026label=%20\u0026color=f90)](https://www.npmjs.com/package/@gfazioli/mantine-lens-select)\n  ![NPM License](https://img.shields.io/npm/l/%40gfazioli%2Fmantine-lens-select?style=for-the-badge)\n\n---\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\n## Overview\n\nThis component is created on top of the [Mantine](https://mantine.dev/) library.\n\nThe [Mantine Lens Select](https://gfazioli.github.io/mantine-lens-select/) component is a fisheye/lens magnification select for React applications built with Mantine. It displays a list of items with a macOS Dock-like magnification effect on hover, where items near the cursor scale up creating an interactive and visually engaging selection experience.\n\n## Features\n\n- Fisheye/lens magnification effect on hover (macOS Dock-like)\n- **Count mode**: `\u003cLensSelect count={15} /\u003e` — no data array needed\n- **Range mode**: `min`/`max`/`step` props (like Mantine Slider)\n- Horizontal and vertical orientation support\n- Configurable magnification, lens range, scale, opacity, and blur effects\n- Controlled and uncontrolled modes via value/defaultValue/onChange\n- Keyboard navigation (Arrow keys, Home, End) with optional loop\n- Mouse wheel and touch/swipe navigation\n- Custom item rendering via renderItem callback\n- LensSelect.Indicator compound component for selection indicator\n- Full Mantine Styles API support\n- WAI-ARIA listbox pattern for accessibility\n- GPU-optimized with targeted will-change\n- TypeScript — full type safety out of the box\n\n\u003e [!note]\n\u003e\n\u003e [Demo and Documentation](https://gfazioli.github.io/mantine-lens-select/) | [More Mantine Components](https://mantine-extensions.vercel.app/)\n\n## Installation\n\n```sh\nnpm install @gfazioli/mantine-lens-select\n```\nor\n\n```sh\nyarn add @gfazioli/mantine-lens-select\n```\n\nAfter installation import package styles at the root of your application:\n\n```tsx\nimport '@gfazioli/mantine-lens-select/styles.css';\n```\n\n## Usage\n\n### Simple count mode\n\n```tsx\nimport { LensSelect } from '@gfazioli/mantine-lens-select';\n\nfunction Demo() {\n  return \u003cLensSelect count={20} /\u003e;\n}\n```\n\n### Range with step\n\n```tsx\n\u003cLensSelect min={0} max={100} step={10} withIndicator /\u003e\n```\n\n### Custom data\n\n```tsx\nimport { LensSelect } from '@gfazioli/mantine-lens-select';\n\nconst data = [\n  { value: 'home', view: \u003cspan\u003e🏠\u003c/span\u003e },\n  { value: 'search', view: \u003cspan\u003e🔍\u003c/span\u003e },\n  { value: 'mail', view: \u003cspan\u003e📧\u003c/span\u003e },\n  { value: 'settings', view: \u003cspan\u003e⚙️\u003c/span\u003e },\n];\n\nfunction Demo() {\n  return \u003cLensSelect data={data} withIndicator /\u003e;\n}\n```\n\n## Sponsor\n\n\u003cdiv align=\"center\"\u003e\n\n[\u003ckbd\u003e \u003cbr/\u003e ❤️ If this component has been useful to you or your team, please consider becoming a sponsor \u003cbr/\u003e \u003c/kbd\u003e](https://github.com/sponsors/gfazioli?o=esc)\n\n\u003c/div\u003e\n\nYour support helps me:\n\n- Keep the project actively maintained with timely bug fixes and security updates\n- Add new features, improve performance, and refine the developer experience\n- Expand test coverage and documentation for smoother adoption\n- Ensure long-term sustainability without relying on ad hoc free time\n- Prioritize community requests and roadmap items that matter most\n\nOpen source thrives when those who benefit can give back - even a small monthly contribution makes a real difference. Sponsorships help cover maintenance time, infrastructure, and the countless invisible tasks that keep a project healthy.\n\nYour help truly matters.\n\n[Become a sponsor](https://github.com/sponsors/gfazioli?o=esc) today and help me keep this project reliable, up-to-date, and growing for everyone.\n\n---\n\n[![Star History Chart](https://api.star-history.com/svg?repos=gfazioli/mantine-lens-select\u0026type=Timeline)](https://www.star-history.com/#gfazioli/mantine-lens-select\u0026Timeline)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfazioli%2Fmantine-lens-select","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgfazioli%2Fmantine-lens-select","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgfazioli%2Fmantine-lens-select/lists"}