{"_id":"astro-heroicons","_rev":"5-c97c5c8f063f54b5a22e6c35f02d2e27","name":"astro-heroicons","dist-tags":{"latest":"2.1.5-1"},"versions":{"0.1.0":{"name":"astro-heroicons","version":"0.1.0","keywords":["astro","astro-component","heroicons","icons"],"author":{"url":"https://seanmcp.com","name":"Sean McPherson","email":"sean@seanmcp.com"},"license":"ISC","_id":"astro-heroicons@0.1.0","maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"dist":{"shasum":"1da8c253bf800239309f8044e2cf4472e337042b","tarball":"https://registry.npmjs.org/astro-heroicons/-/astro-heroicons-0.1.0.tgz","fileCount":879,"integrity":"sha512-tOB5fn8p0Qv+hcrBEZ+dAx/b0zRfs1M9VEZJI//03wdQl+ct9PNGgzyUcVzAdAtC5fF1kCnQ/0fVnB1Yl6aDfw==","signatures":[{"sig":"MEYCIQDZJbC2ZR9KOSUvXUOoIc/sOQPnYdhjeOiegqJuP2SjUwIhALdyKW6cbqYLQ828pErpPsPw4lYOlozdR5EX5xz/7aSq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":471625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeARlACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpf9g//azQTj8ROiYPE1bsve7B2+deBKqsgdwPHc55EMhJEMc3lt/90\r\nAApnuxAd7rutFwDTEZuSWJhLG7wTterv/C6+oqU8P5K+hy2ZOdN9er5kiN8u\r\nux97G4l9i2LtCn7YEWaFyzArDdYqI2oTX09Iclkf576SNwt8UMv6+mcDYeZS\r\npt/WqoECNFKAZjqUzxzTllvZX5s5g/fT33M3sqTIRBIlsTzJ5bljWKKm5dk3\r\nvzjT5M5GH97oXasM3HDoH/7n2sUxrdPSFbHBkalm4esdrNQu2XVDbWaHO3BV\r\niakgJIrH23gzcNLTJNMxYdf8n3BHj4tfjY0FaD6/fKurxM2aIOP7fBKHLsW3\r\nSbAOHXjpYL6mzFFMEzvhW1JOnxj0OFaGrLCipHxRVFy+duzREEESl/4jkrs3\r\nZM+3wAlg7ENYjqn8yXPy1gFBV1LsZ4Ymlk2B/CtW4o2xrwXCTYY5SQtdmcWu\r\nr5It5G2PtVcfoEWlzltV5NT0ERkFkJV5ltq4S25MOiqaTF04vXU8AORSt3G+\r\n6/E5XwxxqP9L+3vHDOeZpkZPkxC4Yw2S89AmNuwJzu81qfaqu1KnnDlEG8Ti\r\npE0+y5V/Wlpehk6zGysig3r4zflT3MHTWwk5J/8WFUSJ1JB/VNmoQDL5Xy5t\r\nwBCZ6asTBdpYtbZ1woeZ9O6oR4XIJcRsBDU=\r\n=VdDb\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"1476d96a314537d8089dda06c0d193720606854f","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"node build.mjs"},"_npmUser":{"name":"seanmcp","email":"sean@seanmcp.com"},"_npmVersion":"8.5.0","description":"Heroicons as Astro components","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"heroicons":"^2.0.13","pascalcase":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-heroicons_0.1.0_1668809829685_0.6137444244058508","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"astro-heroicons","version":"0.2.0","keywords":["astro","astro-component","heroicons","icons"],"author":{"url":"https://github.com/seanmcp","name":"Sean McPherson","email":"sean@seanmcp.com"},"license":"MIT","_id":"astro-heroicons@0.2.0","maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"homepage":"https://github.com/seanmcp/astro-heroicons#readme","bugs":{"url":"https://github.com/seanmcp/astro-heroicons/issues"},"dist":{"shasum":"b126b3c826483263364e5673aefb95fe426f128d","tarball":"https://registry.npmjs.org/astro-heroicons/-/astro-heroicons-0.2.0.tgz","fileCount":879,"integrity":"sha512-WtrCUakuysqGF9GG8hw0Fm794Bag8BLz9QohHhNfjXsApufYCbpJzpGmUC9i9I/NlBSyX5gCHWjtCFcy2ltQEw==","signatures":[{"sig":"MEQCIE22iEI1FChTjqQclEkoJtzRo/MxKS53XQO6CCO7HdmWAiBbLgmnqY1JC2NP1Yf2ZpCslQTmXwcVE1Mxxw/GJJ66fw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":471761,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjeZQ7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpFeA//QS8nwdp5Wbb3AWXrnbfu9YXKmUSXnxI+v/6EnzmULv32nSnJ\r\nfq8LD62qoYqOdneAK+Bw3G5hrWAhZ2Ai7HTF7mevFzbnXDqGy94gxQC1uN97\r\nVpXedqTFpUivypmhPKXOv1Fn/lYpQV/rU+LYLzIYwZO7RVX+tLkUJBCro9Fu\r\nwYret1pTTaBZdaOXk2zRIVsc/XgZkVtDovgQcRBwtOXSrvXAFFpzx0BD42wr\r\n208Xd0MXqIzOk4zwG3svodtZ/2G06rU1bbTBcX6j8i7NEWpZ04TkreoCyvuB\r\noqqZEVh/jhQWU6+qtuZ5KwJnjSMKXeMZ8urabQ/FvvdMbgsPjQr5a2HMEn7A\r\n9egpWNwoYIFNdjh5fEJ2ieRTe6ukwBIhF+vydKYYxui2g4mRX5aDP+oSVvVk\r\nn/1OAKCCGMzVJEY3v7rirHjKWSxVXXAF6Ea/8Wng4O+ac8XvmEpySZ94BpD0\r\nBh4s3JsYPblPgfXicn48aaEuEwBmxY+VutnQ3txZAC8yW1K812t250BLWPlw\r\n4JoFCzR4I4IfJJJBlMD0gILLUhPeXJci+kxnX1H8rwyj5ggOfTwyWSVshO+j\r\nP9AdXato2tOwuhUz2MXhcS0V/huoNpGDZHh6MPJuXmuLUuc6Zq6hqwLNTnkU\r\n9MxsVT8282ONdvLZEBe2xvogjd9xgw+s5po=\r\n=YtZL\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"1f904f08513e3812c7c27b6ac0c6995291e6be67","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"node build.mjs"},"_npmUser":{"name":"seanmcp","email":"sean@seanmcp.com"},"repository":{"url":"git+https://github.com/seanmcp/astro-heroicons.git","type":"git"},"_npmVersion":"8.5.0","description":"Heroicons as Astro components","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"heroicons":"^2.0.13","pascalcase":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-heroicons_0.2.0_1668912187439_0.313753376009382","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"astro-heroicons","version":"0.3.0","keywords":["astro","astro-component","heroicons","icons"],"author":{"url":"https://github.com/seanmcp","name":"Sean McPherson","email":"sean@seanmcp.com"},"license":"MIT","_id":"astro-heroicons@0.3.0","maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"homepage":"https://github.com/seanmcp/astro-heroicons#readme","bugs":{"url":"https://github.com/seanmcp/astro-heroicons/issues"},"dist":{"shasum":"29c9cc89d15c93f7f1d614036b738329ab3315f3","tarball":"https://registry.npmjs.org/astro-heroicons/-/astro-heroicons-0.3.0.tgz","fileCount":879,"integrity":"sha512-dXtp0zMe7D6TuFLt1YA26w+4KjBEi6vqlotBlN8Jqv9qsoDwR4cSMuN9Qnr92P3B0R+4HWvDzVio9Y5TS/Knsw==","signatures":[{"sig":"MEYCIQD55daCEnzaXUGYTbt++lHPcQtYOszsdobdB70lZaVm5gIhAMolwiSndsNwCxOIcuYIqRhsZ3dk0mSMueWAwQV+8fxV","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":561877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjfLOHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNXQ//drOa6sWOf5lkzyZK8ze3Fc62dCIaHo1JEAyjbjPCbMn4iMxl\r\naZu+jtLuy64dNdwtXwzrGlI7hCZu95fHLI165AqlnjuXiiXi2eKJ8bAL8qfF\r\nZt86gK5VeszBogMn9p9ijH8/rpqBR1j62HzvqtL4bUQx3RQAXG6yYgCAJuTo\r\nis81Vw3tR3yNxnM2rWxmXEniI11nwkkU3p4W5kYrS9EvYYcy4jzYZ0+4/RfO\r\nqkUJca81IkLN8EQ/dsHnD301SY60PDYf7hdHuKy7VGr17nvKxfWbQlNpYHb7\r\ncJ/4t6XyYU7JjRTSa5xrhwe2EV534lCPnCoBrhXXW2x6cSgaa/oi/yw/+bKa\r\nTdSLKP6uCVwP3dK6EXU1pO9yrshGfarxImPiyVxMUzbkbjH0eV5xjOKDPCj1\r\ndjoPNJ1T5SraLPsvcsF28j284HOEOZt+P+u7bnuMDEU/iV3mDKxhkyNKK0zp\r\nTNxLgDHckJJ8Yn/rTpsBuL50DEyv2nOFRF93+V27GI1K5UfuQjpXrsV8Ro+Z\r\nkzYd85XA+Uh1nHjX5KcYJ7WlaZY+BLzeThRRCki5ibQFk4CHUxzgGSJU0WYT\r\n0kR37VKByrqZ7PLfjK6o00TYWqajTNvCxte6Ph6LINmrVZQON/peTYRJ/ED0\r\n572GQzfajTTSenJAtwQsI2+ZdeLzR3LeZJY=\r\n=LErT\r\n-----END PGP SIGNATURE-----\r\n"},"gitHead":"798f556fee240fce601125df107129de334c7f7c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"node build.mjs"},"_npmUser":{"name":"seanmcp","email":"sean@seanmcp.com"},"repository":{"url":"git+https://github.com/seanmcp/astro-heroicons.git","type":"git"},"_npmVersion":"8.5.0","description":"Heroicons as Astro components","directories":{},"_nodeVersion":"16.14.2","_hasShrinkwrap":false,"devDependencies":{"astro":"^1.6.10","heroicons":"^2.0.13","pascalcase":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-heroicons_0.3.0_1669116807313_0.8901996640385568","host":"s3://npm-registry-packages"}},"2.1.1":{"name":"astro-heroicons","version":"2.1.1","keywords":["astro","astro-component","heroicons","icons"],"author":{"url":"https://github.com/seanmcp","name":"Sean McPherson","email":"sean@seanmcp.com"},"license":"MIT","_id":"astro-heroicons@2.1.1","maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"homepage":"https://github.com/seanmcp/astro-heroicons#readme","bugs":{"url":"https://github.com/seanmcp/astro-heroicons/issues"},"dist":{"shasum":"8f67766ef756ee04561ea42dd3e6218f82c726b2","tarball":"https://registry.npmjs.org/astro-heroicons/-/astro-heroicons-2.1.1.tgz","fileCount":891,"integrity":"sha512-NcQIhCyF85hrbJEFssEVGo2t2vha1CqQilNfy/POTl1bknZFANjOjbKG6+Wndvxmumj4O8RTmUUNU7k8UDbw9g==","signatures":[{"sig":"MEUCIDGKTszneioVeZLZRziXpyjwWsOLy+N+QzVx7kQ89DBGAiEA8K4eD4EDd16SjM5nbGiUCvyrVmrRi29cisKkyWZjKN8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":596634},"gitHead":"dc31607f78e05d20118323259c95e352247c1382","scripts":{"test":"astro check","build":"node build.mjs"},"_npmUser":{"name":"seanmcp","email":"sean@seanmcp.com"},"repository":{"url":"git+https://github.com/seanmcp/astro-heroicons.git","type":"git"},"_npmVersion":"10.2.3","description":"Heroicons as Astro components","directories":{},"_nodeVersion":"20.10.0","_hasShrinkwrap":false,"devDependencies":{"astro":"^1.6.10","heroicons":"^2.1.1","pascalcase":"^2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/astro-heroicons_2.1.1_1703002800381_0.8321493689817032","host":"s3://npm-registry-packages"}},"2.1.5":{"name":"astro-heroicons","version":"2.1.5","keywords":["astro","astro-component","heroicons","icons"],"author":{"url":"https://github.com/seanmcp","name":"Sean McPherson","email":"sean@seanmcp.com"},"license":"MIT","_id":"astro-heroicons@2.1.5","maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"homepage":"https://github.com/seanmcp/astro-heroicons#readme","bugs":{"url":"https://github.com/seanmcp/astro-heroicons/issues"},"dist":{"shasum":"a603a0a47c156410f0048ac61433d6449fddf9c9","tarball":"https://registry.npmjs.org/astro-heroicons/-/astro-heroicons-2.1.5.tgz","fileCount":975,"integrity":"sha512-5o58jOnbxli8sec5Ht6Olmy/bgcl5nP+QyV3C7sYRP40D3OuJ3z1F9oMZn25wkwKymdQco0M9bOeJ3r90ZGGmQ==","signatures":[{"sig":"MEQCIDbHfq8F2OSWaThKSLYKBUGo0VtIEKA+dB3/00AcuejuAiBr4ciS3XjNojgK4gI0MB3CPBbIog5F8ZZWm4nC7KWJVQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":653012},"gitHead":"5018c1741e4903ccb705219a07cf50491814b81d","scripts":{"test":"astro check","build":"node build.mjs"},"_npmUser":{"name":"seanmcp","email":"sean@seanmcp.com"},"repository":{"url":"git+https://github.com/seanmcp/astro-heroicons.git","type":"git"},"_npmVersion":"10.7.0","description":"Heroicons as Astro components","directories":{},"_nodeVersion":"20.15.1","_hasShrinkwrap":false,"devDependencies":{"astro":"^4.12.2","heroicons":"^2.1.5","pascalcase":"^2.0.0","typescript":"^5.3.3","@astrojs/check":"^0.3.3"},"_npmOperationalInternal":{"tmp":"tmp/astro-heroicons_2.1.5_1721645799436_0.637516968355949","host":"s3://npm-registry-packages"}},"2.1.5-1":{"name":"astro-heroicons","version":"2.1.5-1","description":"Heroicons as Astro components","scripts":{"build":"node build.mjs","test":"astro check"},"keywords":["astro","astro-component","heroicons","icons"],"author":{"name":"Sean McPherson","email":"sean@seanmcp.com","url":"https://github.com/seanmcp"},"repository":{"type":"git","url":"git+https://github.com/seanmcp/astro-heroicons.git"},"homepage":"https://github.com/seanmcp/astro-heroicons#readme","license":"MIT","devDependencies":{"@astrojs/check":"^0.8.2","astro":"^4.12.2","heroicons":"^2.1.5","pascalcase":"^2.0.0","typescript":"^5.3.3"},"_id":"astro-heroicons@2.1.5-1","gitHead":"14722ad1ab798ae7564f073887c85b6e1e164d8f","bugs":{"url":"https://github.com/seanmcp/astro-heroicons/issues"},"_nodeVersion":"20.15.1","_npmVersion":"10.7.0","dist":{"integrity":"sha512-Ciy8T7YkH+ZIIUR6czHH8FG/tpI1jGpbUQhlRjB0bi9FTy3gZ1YoQqNhteGeZQHmak+t1GTwfr3b/Vv5ls7Wiw==","shasum":"030a88b4c32ec5f3c6f83b10346a64e1b1e58e70","tarball":"https://registry.npmjs.org/astro-heroicons/-/astro-heroicons-2.1.5-1.tgz","fileCount":1291,"unpackedSize":851394,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEt4JFvLQoW6Cd/1trHaNxFn8gFiVmvcdE1Pg3al2TMgIhAIKT+wYabDOxVE1AD6qiAQXG8TO3AhxU8oKGXC/0bYtR"}]},"_npmUser":{"name":"seanmcp","email":"sean@seanmcp.com"},"directories":{},"maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/astro-heroicons_2.1.5-1_1721659929597_0.8780927600473918"},"_hasShrinkwrap":false}},"time":{"created":"2022-11-18T22:17:09.685Z","modified":"2024-07-22T14:52:10.117Z","0.1.0":"2022-11-18T22:17:09.940Z","0.2.0":"2022-11-20T02:43:07.587Z","0.3.0":"2022-11-22T11:33:27.557Z","2.1.1":"2023-12-19T16:20:00.600Z","2.1.5":"2024-07-22T10:56:39.629Z","2.1.5-1":"2024-07-22T14:52:09.965Z"},"bugs":{"url":"https://github.com/seanmcp/astro-heroicons/issues"},"author":{"name":"Sean McPherson","email":"sean@seanmcp.com","url":"https://github.com/seanmcp"},"license":"MIT","homepage":"https://github.com/seanmcp/astro-heroicons#readme","keywords":["astro","astro-component","heroicons","icons"],"repository":{"type":"git","url":"git+https://github.com/seanmcp/astro-heroicons.git"},"description":"Heroicons as Astro components","maintainers":[{"name":"seanmcp","email":"sean@seanmcp.com"}],"readme":"# astro-heroicons\n\n[![npm](https://img.shields.io/npm/v/astro-heroicons.svg)](https://npmjs.com/package/astro-heroicons) [![npm](https://img.shields.io/npm/dt/astro-heroicons.svg)](https://npmjs.com/package/astro-heroicons)\n\n👩‍🚀 Heroicons as Astro components\n\n## Installation\n\nAdd `astro-heroicons` to your project:\n\n```sh\nnpm install astro-heroicons\n# or\nyarn add astro-heroicons\n```\n\n## Use\n\nImport the icons from `astro-hericons` and add it to your code:\n\n```jsx\n---\nimport Bold from 'astro-heroicons/solid/Bold.astro';\nimport Italic from 'astro-heroicons/outline/Italic.astro';\nimport Underline from 'astro-heroicons/mini/Underline.astro';\nimport Strikethrough from 'astro-heroicons/micro/Strikethrough.astro';\n---\n\n<p>\n  <Bold />\n  <Italic />\n  <Underline />\n  <Strikethrough>\n</p>\n```\n\n## Astro components\n\nThe components exported from `astro-heroicons` are the raw `svg` elements from Hericons with `{...Astro.props}` added to the root element. This should enable you to customize the element as you see fit.\n\n```jsx\n// mini/Bolt.astro\n<svg\n  {...Astro.props}\n  xmlns=\"http://www.w3.org/2000/svg\"\n  viewBox=\"0 0 20 20\"\n  fill=\"currentColor\"\n  aria-hidden=\"true\"\n>\n  <path d=\"M11.983 1.907a.75.75 0 00-1.292-.657l-8.5 9.5A.75.75 0 002.75 12h6.572l-1.305 6.093a.75.75 0 001.292.657l8.5-9.5A.75.75 0 0017.25 8h-6.572l1.305-6.093z\" />\n</svg>\n```\n\nAny prop that you pass to the component will be added to the top-level `svg` element:\n\n```jsx\n<Heart class=\"a few classes\" data-favorite=\"true\" id=\"id\" />\n```\n\n### `aria-hidden`\n\nHeroicons adds `aria-hidden=\"true\"` to its top-level `svg` elements by default. If you want those elements to be accessible to screenreaders, you need to manually pass `aria-hidden=\"false\"` to the component:\n\n```jsx\n<Bolt aria-hidden=\"false\" aria-label=\"Live\" />\n```\n\n## License\n\n[MIT](/LICENSE)\n","readmeFilename":"README.md"}