{"id":20821850,"url":"https://github.com/aidanaden/solid-glow","last_synced_at":"2026-04-20T08:05:03.028Z","repository":{"id":213251494,"uuid":"733395800","full_name":"aidanaden/solid-glow","owner":"aidanaden","description":"Add a mouse-tracing glow effect to SolidJS components.","archived":false,"fork":false,"pushed_at":"2024-01-18T23:22:59.000Z","size":6344,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-19T17:26:43.267Z","etag":null,"topics":["glow","solidjs","solidjs-component"],"latest_commit_sha":null,"homepage":"https://solid-glow.pages.dev/","language":"JavaScript","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/aidanaden.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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":"2023-12-19T08:30:28.000Z","updated_at":"2024-05-29T22:25:57.000Z","dependencies_parsed_at":"2024-01-19T00:59:24.253Z","dependency_job_id":null,"html_url":"https://github.com/aidanaden/solid-glow","commit_stats":null,"previous_names":["aidanaden/solid-glow"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aidanaden/solid-glow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-glow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-glow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-glow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-glow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aidanaden","download_url":"https://codeload.github.com/aidanaden/solid-glow/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aidanaden%2Fsolid-glow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32038456,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["glow","solidjs","solidjs-component"],"created_at":"2024-11-17T22:13:15.867Z","updated_at":"2026-04-20T08:05:02.993Z","avatar_url":"https://github.com/aidanaden.png","language":"JavaScript","readme":"\u003cp\u003e\n  \u003cimg width=\"100%\" src=\"https://assets.solidjs.com/banner?type=solid-glow\u0026background=tiles\u0026project=%20\" alt=\"solid-glow\"\u003e\n\u003c/p\u003e\n\n# solid-glow\n\n\u003e\n\n[![size](https://img.shields.io/bundlephobia/minzip/solid-glow?style=for-the-badge)](https://bundlephobia.com/package/solid-glow)\n[![size](https://img.shields.io/npm/v/solid-glow?style=for-the-badge)](https://www.npmjs.com/package/solid-glow)\n![npm](https://img.shields.io/npm/dw/solid-glow?style=for-the-badge)\n[![pnpm](https://img.shields.io/badge/maintained%20with-pnpm-cc00ff.svg?style=for-the-badge\u0026logo=pnpm)](https://pnpm.io/)\n\n[download-image]: https://img.shields.io/npm/dm/solid-glow.svg\n[download-url]: https://npmjs.org/package/solid-glow\n\n[![solid-glow](https://nodei.co/npm/solid-glow.png)](https://npmjs.org/package/solid-glow)\n\nAdd a mouse-tracing glow effect to Solid components.\n\n![gif of glow effect](./media/glow.gif)\n\nThe glow effect will only work using the mouse as the pointer. Touch events will not trigger it.\n\n## Quick start\n\nInstall it:\n\n```bash\nnpm i solid-glow\n# or\nyarn add solid-glow\n# or\npnpm add solid-glow\n```\n\nUse it:\n\nWrap any number of `\u003cGlow\u003e` components in a `\u003cGlowCapture\u003e` which will be used to track the mouse location.\n\n```jsx\n\u003cGlowCapture\u003e\n  \u003cspan\u003eThis won't glow\u003c/span\u003e\n  \u003cGlow color=\"purple\"\u003e\n    \u003cspan class=\"text-black glow:text-glow/50 glow:bg-red-100\"\u003e\n      This will glow purple when the mouse is passed over\n    \u003c/span\u003e\n  \u003c/Glow\u003e\n\u003c/GlowCapture\u003e\n```\n\nChildren of `\u003cGlow\u003e` can style themselves how to look when glowing. You might choose to leave some children unchanged, or highlight them with the `glow:` variant style.\n\nThe value of `color` will be available as a CSS variable `--glow-color`, as well as the Tailwind `glow` color.\nYou can pass any valid CSS color, including `hsl()` values etc.\nOf course, you might choose to use any other color; you can leave out the `color` prop entirely.\n\n## Tailwind\n\nAdd the tailwind plugin to unlock the `glow:` variant and `glow` color\n\n`tailwind.config.js`\n\n```js\nmodule.exports = {\n  ...\n  plugins: [\n    require('solid-glow/tailwind')\n  ]\n}\n```\n\nAs with all colors in Tailwind, you may add opacity by appending a percentage after the color, such as `bg-glow/20` for 20% opacity.\n\n## Vanilla CSS\n\nYou can style the glow effect with vanilla CSS:\n\n```jsx\n\u003cGlowCapture\u003e\n  \u003cspan\u003eThis won't glow\u003c/span\u003e\n  \u003cGlow color=\"hsl(338.69 100% 48.04%)\"\u003e\n    \u003cspan class=\"glowable-text\"\u003e\n      This will glow pink when the mouse is passed over\n    \u003c/span\u003e\n  \u003c/Glow\u003e\n\u003c/GlowCapture\u003e\n```\n\n```css\n.glowable-text {\n  color: black;\n}\n\n[glow] .glowable-text {\n  color: var(--glow-color);\n}\n```\n\n## Attribution\n\nSolidJS port of [react-glow](https://github.com/codaworks/react-glow).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidanaden%2Fsolid-glow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faidanaden%2Fsolid-glow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faidanaden%2Fsolid-glow/lists"}