{"id":20485477,"url":"https://github.com/knowsuchagency/mantine-responsive-values","last_synced_at":"2026-05-07T13:11:10.737Z","repository":{"id":242609582,"uuid":"810039832","full_name":"knowsuchagency/mantine-responsive-values","owner":"knowsuchagency","description":"Simplifying responsive design with Mantine","archived":false,"fork":false,"pushed_at":"2024-06-04T02:51:42.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-18T22:33:03.727Z","etag":null,"topics":["design","mantine","react","web"],"latest_commit_sha":null,"homepage":"https://jsr.io/@knowsuchagency/mantine-responsive-values","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/knowsuchagency.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2024-06-03T23:49:52.000Z","updated_at":"2024-06-04T02:51:45.000Z","dependencies_parsed_at":"2024-06-04T02:04:10.450Z","dependency_job_id":"ae0a448b-bd61-405a-84a9-5113d3b5f69a","html_url":"https://github.com/knowsuchagency/mantine-responsive-values","commit_stats":null,"previous_names":["knowsuchagency/mantine-responsive-values"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/knowsuchagency/mantine-responsive-values","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowsuchagency%2Fmantine-responsive-values","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowsuchagency%2Fmantine-responsive-values/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowsuchagency%2Fmantine-responsive-values/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowsuchagency%2Fmantine-responsive-values/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/knowsuchagency","download_url":"https://codeload.github.com/knowsuchagency/mantine-responsive-values/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/knowsuchagency%2Fmantine-responsive-values/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32739031,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["design","mantine","react","web"],"created_at":"2024-11-15T16:30:59.278Z","updated_at":"2026-05-07T13:11:10.708Z","avatar_url":"https://github.com/knowsuchagency.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mantine Responsive Values\n\nA simple utility hook for applying responsive values to component props based on breakpoints defined in the Mantine theme.\n\n## Installation\n\n```bash\nnpx jsr add @knowsuchagency/mantine-responsive-values\n```\n\n## Usage\n\n```tsx\nimport { MantineProvider, Box, Text, Title, Button } from \"@mantine/core\";\nimport { useResponsive as responsive } from \"@knowsuchagency/mantine-responsive-values\";\n\nfunction HeroSection() {\n  return (\n    \u003cBox\n      mt={responsive(20, { sm: 30, md: 50, lg: 60, xl: 80 })}\n      mb={responsive(30, { sm: 40, md: 70, lg: 80, xl: 100 })}\n      px={responsive(10, { sm: 15, md: 30, lg: 40, xl: 50 })}\n      style={{\n        textAlign: responsive(\"center\", { md: \"left\" }),\n      }}\n    \u003e\n      \u003cTitle\n        order={1}\n        fz={responsive(24, { sm: 32, md: 40, lg: 56, xl: 64 })}\n        mb={responsive(10, { sm: 15, md: 25, lg: 30, xl: 35 })}\n      \u003e\n        Welcome to Our App\n      \u003c/Title\u003e\n      \u003cText\n        fz={responsive(16, { sm: 18, md: 20, lg: 28, xl: 32 })}\n        mb={responsive(15, { sm: 20, md: 35, lg: 40, xl: 45 })}\n      \u003e\n        Discover a new way to manage your tasks and boost your productivity.\n      \u003c/Text\u003e\n      \u003cButton\n        size={responsive(\"sm\", { md: \"md\", lg: \"lg\" })}\n        style={{\n          padding: responsive(\"8px 16px\", {\n            md: \"12px 24px\",\n            lg: \"16px 32px\",\n          }),\n        }}\n      \u003e\n        Get Started\n      \u003c/Button\u003e\n    \u003c/Box\u003e\n  );\n}\n```\n\n### Parameters\n\n- `defaultValue`: The default value to use if no breakpoints match.\n- `values`: An object containing the values for different breakpoints. The keys should match the breakpoint names defined in the Mantine theme.\n\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowsuchagency%2Fmantine-responsive-values","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fknowsuchagency%2Fmantine-responsive-values","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fknowsuchagency%2Fmantine-responsive-values/lists"}