{"_id":"@brutalvik/skewnav","_rev":"2-6f43913b055afa18c6d4fa55e4240ad4","name":"@brutalvik/skewnav","dist-tags":{"latest":"0.1.2"},"versions":{"0.1.2":{"name":"@brutalvik/skewnav","version":"0.1.2","license":"MIT","_id":"@brutalvik/skewnav@0.1.2","maintainers":[{"name":"brutalvik","email":"vikcanada90@gmail.com"}],"dist":{"shasum":"4a0a13fa3490d7b1baf6eaacf95c150146e19d22","tarball":"https://registry.npmjs.org/@brutalvik/skewnav/-/skewnav-0.1.2.tgz","fileCount":7,"integrity":"sha512-aX8J0sXp3g/QfNaKyKyRAGJSol7dPwixd2fDwzshn9f7TUuQ9TXE553FBJ61EGhBcuzM0QLEmq0IUIMntLgm5A==","signatures":[{"sig":"MEQCIF6T2zE7bAyLMqYkLqBQDgthwrE14lxV53MeBIKGVAcOAiBjFeCUSNIpY97rD95Oss9QbWRhQPEmtrRBJ7kO3HNHaw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14397},"main":"dist/index.cjs","type":"module","types":"dist/index.d.ts","module":"dist/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"./styles.css":"./dist/styles.css"},"gitHead":"b02d9908b946a26a295877c751ebf5eed8db2754","scripts":{"dev":"tsup src/index.ts --dts --format esm,cjs --watch --clean","build":"tsup src/index.ts --dts --format esm,cjs --clean && node scripts/postbuild.mjs","prepublishOnly":"npm run build"},"_npmUser":{"name":"brutalvik","email":"vikcanada90@gmail.com"},"_npmVersion":"11.6.2","description":"> **Skewed 3D navigation tiles with optional iOS-style glass blur** — built for React + TypeScript by **Vikram Kumar (V-Bytes)**.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"25.1.0","_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.0","cpy-cli":"^6.0.0","typescript":"^5.9.3","@types/react":"^19.2.3","@types/react-dom":"^19.2.2"},"peerDependencies":{"react":">=18","react-dom":">=18"},"_npmOperationalInternal":{"tmp":"tmp/skewnav_0.1.2_1762905943494_0.5280796158360141","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to 'skewnav'. Please install 'skewnav'."}},"time":{"created":"2025-11-12T00:05:43.359Z","modified":"2025-11-12T00:33:00.445Z","0.1.2":"2025-11-12T00:05:43.703Z"},"license":"MIT","description":"> **Skewed 3D navigation tiles with optional iOS-style glass blur** — built for React + TypeScript by **Vikram Kumar (V-Bytes)**.","maintainers":[{"name":"brutalvik","email":"vikcanada90@gmail.com"}],"readme":"# 🌀 @vbytes/skewnav\n\n> **Skewed 3D navigation tiles with optional iOS-style glass blur** — built for React + TypeScript by **Vikram Kumar (V-Bytes)**.\n\n[![npm version](https://img.shields.io/npm/v/@vbytes/skewnav?color=1DA1F2&style=flat-square)](https://www.npmjs.com/package/@vbytes/skewnav)\n[![npm downloads](https://img.shields.io/npm/dm/@vbytes/skewnav?style=flat-square)](https://www.npmjs.com/package/@vbytes/skewnav)\n[![license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](LICENSE)\n[![typescript](https://img.shields.io/badge/%3C%2F%3E-TypeScript-3178c6?style=flat-square)](https://www.typescriptlang.org/)\n\n---\n\n## ✨ Overview\n\n`@vbytes/skewnav` is a lightweight React component library that renders a **skewed 3D navigation bar** with optional **glassmorphism** (blur, transparency, and saturation inspired by iOS).  \nIt’s fully themable, written in TypeScript, and works seamlessly with **Next.js**, **Vite**, and other modern React frameworks.\n\n**Key Features**\n\n- ⚛️ React 18+ / Next.js compatible\n- 💎 TypeScript typings included\n- 🎨 Optional glass blur (iOS style)\n- 🧩 Fully themable via props or CSS variables\n- 📦 ESM + CJS + type declarations\n- 🪶 Zero runtime dependencies\n\n---\n\n## 🚀 Installation\n\n```bash\nnpm install @vbytes/skewnav\n# or\nyarn add @vbytes/skewnav\n# or\npnpm add @vbytes/skewnav\n```\n\n## 💡 Usage Example\n\n```tsx\nimport { SkewNav } from \"@vbytes/skewnav\";\nimport \"@vbytes/skewnav/styles.css\"; // required stylesheet\n\nexport default function ExampleNav() {\n  return (\n    <SkewNav\n      glass\n      items={[\n        { icon: \"icon-reorder\", href: \"#\", label: \"Menu\" },\n        { icon: \"icon-th-large\", href: \"#\", label: \"Grid\" },\n        { icon: \"icon-bar-chart\", href: \"#\", label: \"Charts\" },\n        { icon: \"icon-tasks\", href: \"#\", label: \"Tasks\" },\n        { icon: \"icon-bell\", href: \"#\", label: \"Alerts\" },\n      ]}\n      theme={{\n        bg: \"#000\",\n        fg: \"#777\",\n        hoverBg: \"#ff6e42\",\n        hoverFg: \"#fff\",\n        ring: \"#b65234\",\n        side1: \"#121212\",\n        side2: \"#181818\",\n        shadow: \"#e1e1e1\",\n      }}\n    />\n  );\n}\n```\n\n## 🧠 Props Reference\n\n| Prop            | Type                         | Default           | Description                                              |\n| --------------- | ---------------------------- | ----------------- | -------------------------------------------------------- |\n| **`items`**     | `SkewNavItem[]`              | —                 | Array of navigation tiles.                               |\n| **`rotateDeg`** | `number`                     | `-35`             | Rotation angle of the entire strip (in degrees).         |\n| **`skew`**      | `{ x?: number; y?: number }` | `{ x: 20, y: 5 }` | Skew angles applied along X and Y axes.                  |\n| **`sizeEm`**    | `number`                     | `2.5`             | Height of each tile (in em).                             |\n| **`theme`**     | `Partial<ThemeVars>`         | —                 | Customize tile colors, edges, and shadows.               |\n| **`className`** | `string`                     | —                 | Adds an extra CSS class to the container.                |\n| **`glass`**     | `boolean`                    | `false`           | Enables iOS-style blur and translucency (glassmorphism). |\n\n## 📜 License\n\n**MIT License**  \nCopyright © 2025 [Vikram Kumar (V-Bytes)](https://v-bytes.cloud)\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n---\n\n## 💬 Feedback & Support\n\n- 🐞 **Report issues:** [GitHub Issues](https://github.com/vbytes/skewnav/issues)\n- 💡 **Request features:** [LinkedIn](https://www.linkedin.com/in/vikram-kumar-vbytes)\n- ⭐ **Star the repo if you like it!**\n\n> Built with ❤️ by **V-Bytes (Vikram Kumar)**  \n> 🌐 [v-bytes.cloud](https://v-bytes.cloud)\n","readmeFilename":"Readme.md"}