{"id":13691014,"url":"https://github.com/bentzibentz/tailwindcss-layered-box-shadow","last_synced_at":"2025-10-12T12:02:50.669Z","repository":{"id":58501181,"uuid":"532054718","full_name":"bentzibentz/tailwindcss-layered-box-shadow","owner":"bentzibentz","description":"Advanced layered box shadows for tailwindcss","archived":false,"fork":false,"pushed_at":"2022-09-03T07:44:59.000Z","size":263,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T14:45:26.801Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/bentzibentz.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}},"created_at":"2022-09-02T19:29:22.000Z","updated_at":"2024-04-13T10:50:43.000Z","dependencies_parsed_at":"2022-09-03T11:31:10.148Z","dependency_job_id":null,"html_url":"https://github.com/bentzibentz/tailwindcss-layered-box-shadow","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/bentzibentz/tailwindcss-layered-box-shadow","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentzibentz%2Ftailwindcss-layered-box-shadow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentzibentz%2Ftailwindcss-layered-box-shadow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentzibentz%2Ftailwindcss-layered-box-shadow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentzibentz%2Ftailwindcss-layered-box-shadow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bentzibentz","download_url":"https://codeload.github.com/bentzibentz/tailwindcss-layered-box-shadow/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bentzibentz%2Ftailwindcss-layered-box-shadow/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279011231,"owners_count":26084924,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"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":[],"created_at":"2024-08-02T17:00:38.656Z","updated_at":"2025-10-12T12:02:50.629Z","avatar_url":"https://github.com/bentzibentz.png","language":"JavaScript","funding_links":[],"categories":["More Tailwind CSS Plugins"],"sub_categories":["Available Animate CSS classes"],"readme":"# Advanced configurable layered Box Shadow classes for tailwindcss\n\n# tailwindcss-layered-box-shadow\n\nA plugin that provides advanced, more realistic and fully configurable layered box shadow classes for tailwindcss. \n\n## Installation\n\nInstall the plugin from npm:\n\n```sh\n# Using npm\nnpm install tailwindcss-layered-box-shadow\n\n# Using Yarn\nyarn add tailwindcss-layered-box-shadow\n```\n\nThen add the plugin to your `tailwind.config.js` file:\n\n```js\n// tailwind.config.js\nmodule.exports = {\n  theme: {\n    // ...\n  },\n  plugins: [\n    require('tailwindcss-layered-box-shadow'),\n    // ...\n  ],\n}\n```\n\n## Usage\n\nThe Plugin generates 6 default advanced shadow sizes with different number of layers:\n\n| Class                | Layers |\n|----------------------|--------|\n| `shadow-layered-xs`  | `3`    |\n| `shadow-layered-sm`  | `4`    |\n| `shadow-layered-md`  | `5`    |\n| `shadow-layered-lg`  | `6`    |\n| `shadow-layered-xl`  | `7`    |\n| `shadow-layered-2xl` | `8`    |\n\n## Example Usage\n\n```html\n\u003cdiv class=\"shadow-layered-xs hover:shadow-layered-lg\"\u003e\u003c/div\u003e\n```\n\nOutput:\n\n```css\n.shadow-layered-xs {\n    box-shadow: 2px 2px 10px -0.2px rgba(98,103,173,0.34),\n    3px 3px 10px -0.575px rgba(98,103,173,0.34),\n    4px 4px 10px -0.95px rgba(98,103,173,0.34)\n;\n}\n\nhover\\:.shadow-layered-lg {\n    box-shadow: 2px 2px 10px -0.2px rgba(98,103,173,0.34),\n    3px 3px 10px -0.575px rgba(98,103,173,0.34),\n    4px 4px 10px -0.95px rgba(98,103,173,0.34),\n    5px 5px 10px -1.325px rgba(98,103,173,0.34),\n    6px 6px 10px -1.7px rgba(98,103,173,0.34),\n    7px 7px 10px -2.075px rgba(98,103,173,0.34)\n;\n}\n```\n\n## Configuration\n\nYou can configure the shadow styles are generated by this plugin under the `shadowColor`, `shadowPositionX`, `shadowPositionY`, `shadowBlur`, `shadowSpread` and `shadowOpacity` keys in your `tailwind.config.js` file:\n\n```js\n// tailwind.config.js\nmodule.exports = {\n    theme: {\n        shadowColor: '#6267ad',\n        shadowPositionX: 1,\n        shadowPositionY: 1,\n        shadowBlur: 10,\n        shadowSpread: -0.2,\n        shadowOpacity: 0.34\n    }\n}\n```\n\n## Demo\n\n[https://bentzibentz.github.io/tailwindcss-layered-box-shadow/](https://bentzibentz.github.io/tailwindcss-layered-box-shadow/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbentzibentz%2Ftailwindcss-layered-box-shadow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbentzibentz%2Ftailwindcss-layered-box-shadow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbentzibentz%2Ftailwindcss-layered-box-shadow/lists"}