{"id":13480143,"url":"https://github.com/jonaskay/tailwindcss-elevation","last_synced_at":"2026-01-12T02:34:30.525Z","repository":{"id":34303583,"uuid":"176580454","full_name":"jonaskay/tailwindcss-elevation","owner":"jonaskay","description":"Tailwind CSS plugin for Material Components elevation classes","archived":false,"fork":false,"pushed_at":"2023-05-22T13:57:01.000Z","size":1921,"stargazers_count":166,"open_issues_count":9,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-28T10:17:36.928Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/tailwindcss-elevation","language":"JavaScript","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/jonaskay.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}},"created_at":"2019-03-19T19:02:24.000Z","updated_at":"2024-07-10T12:10:05.000Z","dependencies_parsed_at":"2024-01-22T04:49:33.602Z","dependency_job_id":null,"html_url":"https://github.com/jonaskay/tailwindcss-elevation","commit_stats":{"total_commits":140,"total_committers":3,"mean_commits":"46.666666666666664","dds":0.3214285714285714,"last_synced_commit":"b989fe12d55bfd486ea6c14c47bf33721d806dd8"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskay%2Ftailwindcss-elevation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskay%2Ftailwindcss-elevation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskay%2Ftailwindcss-elevation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonaskay%2Ftailwindcss-elevation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonaskay","download_url":"https://codeload.github.com/jonaskay/tailwindcss-elevation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222230713,"owners_count":16952694,"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","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-07-31T17:00:35.096Z","updated_at":"2026-01-12T02:34:30.519Z","avatar_url":"https://github.com/jonaskay.png","language":"JavaScript","funding_links":[],"categories":["Plugins","JavaScript"],"sub_categories":[],"readme":"# tailwindcss-elevation\n[![Build Status](https://travis-ci.com/jonaskay/tailwindcss-elevation.svg?branch=master)](https://travis-ci.com/jonaskay/tailwindcss-elevation) [![Test Coverage](https://api.codeclimate.com/v1/badges/0c8c89a338155da523e7/test_coverage)](https://codeclimate.com/github/jonaskay/tailwindcss-elevation/test_coverage)\n\nAdd Material Components elevation classes to your [Tailwind CSS](https://tailwindcss.com/docs/what-is-tailwind/) project. Check out the [demo](https://jonaskay.github.io/tailwindcss-elevation/)!\n\n## Installation\n\nTo install the package, run\n\n    npm install tailwindcss-elevation\n\nTo activate the plugin, add a `tailwind.config.js` file to the root of your project:\n\n```javascript\nmodule.exports = {\n  plugins: [\n    require('tailwindcss-elevation'),\n  ]\n}\n```\n\nTo learn more about configuring your Tailwind CSS installation, see https://tailwindcss.com/docs/configuration.\n\n### Configuration\n\nTo change the default configurations, you can include an options object:\n\n```javascript\nmodule.exports = {\n  plugins: [\n    require('tailwindcss-elevation')(\n      {\n        color: '77,192,181',\n        opacityBoost: '0.23'\n      }\n    )\n  ]\n}\n```\n\nOptions accept the following properties:\n\n* `color` changes the default box-shadow base color and accepts an RGB (e.g. `'77,192,181'`) or HEX triplet (e.g. `'#4dc0b5'`) as its value. When using a CSS custom property (variable) as the value, you have to use an RGB triplet.\n* `opacityBoost` is added to the default box-shadow opacity and accepts a number between 0.0 and 1.0\n\n## Basic usage\n\nYou can apply elevation to an element using the `.elevation-{z-value}` utilities.\n\n```html\n\u003cbutton class=\"elevation-2\"\u003eButton\u003c/button\u003e\n```\n\nThe z values range from 0 to 24.\n\n## Changelog\n\nYou can find the changelog of the `tailwindcss-elevation` package [here](/tailwindcss-elevation/CHANGELOG.md).\n\n## Material documentation\n* [Material Design: Elevation](https://material.io/design/environment/elevation.html)\n* [Material Components for the web](https://material.io/develop/web/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaskay%2Ftailwindcss-elevation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonaskay%2Ftailwindcss-elevation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonaskay%2Ftailwindcss-elevation/lists"}