{"id":23442252,"url":"https://github.com/teamwertarbyte/material-ui-bottom-sheet","last_synced_at":"2025-04-13T11:10:33.353Z","repository":{"id":57292084,"uuid":"79050105","full_name":"TeamWertarbyte/material-ui-bottom-sheet","owner":"TeamWertarbyte","description":"Bottom sheets slide up from the bottom of the screen to reveal more content.","archived":false,"fork":false,"pushed_at":"2018-07-14T06:00:52.000Z","size":970,"stargazers_count":29,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T16:56:44.494Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://mui.wertarbyte.com/#material-ui-bottom-sheet","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/TeamWertarbyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2017-01-15T18:11:07.000Z","updated_at":"2023-12-09T08:51:00.000Z","dependencies_parsed_at":"2022-08-27T16:51:20.065Z","dependency_job_id":null,"html_url":"https://github.com/TeamWertarbyte/material-ui-bottom-sheet","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-bottom-sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-bottom-sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-bottom-sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-bottom-sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeamWertarbyte","download_url":"https://codeload.github.com/TeamWertarbyte/material-ui-bottom-sheet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248703199,"owners_count":21148118,"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-12-23T17:29:03.811Z","updated_at":"2025-04-13T11:10:33.332Z","avatar_url":"https://github.com/TeamWertarbyte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Material Bottom Sheet \n[![Build Status](https://travis-ci.org/TeamWertarbyte/material-ui-bottom-sheet.svg?branch=master)](https://travis-ci.org/TeamWertarbyte/material-ui-bottom-sheet)\n[![Greenkeeper badge](https://badges.greenkeeper.io/TeamWertarbyte/material-ui-bottom-sheet.svg)](https://greenkeeper.io/)\n\nBottom sheets slide up from the bottom of the screen to reveal more content. See the [material specs](https://material.io/guidelines/components/bottom-sheets.html#)\n\nThere are two variants:\n* Modal bottom sheets\n* Persistent bottom sheets\n\nFor now we'll focus on the modal variant.\n\nSee this component in [action](https://teamwertarbyte.github.io/material-ui-bottom-sheet/)\n\n## Installation\n```shell\nnpm i --save react-custom-scrollbars material-ui-bottom-sheet\n```\n\n## Usage\n```js\nimport { BottomSheet } from 'material-ui-bottom-sheet'\nimport { List, ListItem, Subheader } from 'material-ui'\n\n// ...\nrender() {\n  return(\n    \u003cdiv\u003e\n        \u003cBottomSheet\n            onRequestClose={() =\u003e console.log('close')}\n            open\n        \u003e\n            \u003cSubheader\u003eOpen in\u003c/Subheader\u003e\n            \u003cList\u003e\n                \u003cListItem primaryText=\"Google Plus\" /\u003e\n                \u003cListItem primaryText=\"Facebook\" /\u003e\n                \u003cListItem primaryText=\"Inbox\" /\u003e\n                \u003cListItem primaryText=\"TextEditor\" /\u003e\n            \u003c/List\u003e\n        \u003c/BottomSheet\u003e\n    \u003c/div\u003e\n  )\n}\n```\n\n### Material Bottom Sheet Properties\n\n|Name            |Type        |Default     |Description\n|----------------|------------|------------|--------------------------------\n|action          | `node`     |            | Adds an action element at the top right corner.\n|actionStyle     | `object`   |            | Override the inline-styles of the action element.\n|bodyStyle       | `object`   |            | Override the inline-styles of the body container.\n|contentStyle    | `object`   |            | Override the inline-styles of the content container.\n|onRequestClose* | `function` | `noop`     | Fired when the gray background of the popup is pressed when it is open.\n|open            | `bool`     | `false`    | Controls whether the bottom sheet is opened or not.\n|style           | `object`   |            | Override the inline-styles of the root element.\n\n\n\\* required property\n\n## License\n\nThe files included in this repository are licensed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-bottom-sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-bottom-sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-bottom-sheet/lists"}