{"id":13732870,"url":"https://github.com/rstudio/miniUI","last_synced_at":"2025-05-08T08:32:22.287Z","repository":{"id":66205545,"uuid":"48509649","full_name":"rstudio/miniUI","owner":"rstudio","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-17T22:05:33.000Z","size":154,"stargazers_count":108,"open_issues_count":6,"forks_count":31,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-25T19:35:45.305Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","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/rstudio.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}},"created_at":"2015-12-23T20:24:59.000Z","updated_at":"2025-04-25T16:17:43.000Z","dependencies_parsed_at":"2023-03-10T23:43:40.984Z","dependency_job_id":null,"html_url":"https://github.com/rstudio/miniUI","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2FminiUI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2FminiUI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2FminiUI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstudio%2FminiUI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstudio","download_url":"https://codeload.github.com/rstudio/miniUI/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253029205,"owners_count":21843047,"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-08-03T03:00:34.931Z","updated_at":"2025-05-08T08:32:22.279Z","avatar_url":"https://github.com/rstudio.png","language":"R","funding_links":[],"categories":["Theming","Tools","R"],"sub_categories":["Mobile Theming","Packages"],"readme":"# miniUI\n\nProvides UI widget and layout functions for writing Shiny apps that work well on small screens. Designed to work especially well for creating Shiny Gadgets.\n\nInspired by the lovely [Ratchet](http://goratchet.com/) CSS framework, though currently miniUI doesn't use any of Ratchet's CSS code.\n\n### Installing\n\n```r\ndevtools::install_github(\"rstudio/miniUI\")\n```\n\n### Getting started\n\nCheck out the [Designing Gadget UI](https://shiny.posit.co/articles/gadget-ui.html) article on [shiny.posit.co](https://shiny.posit.co/).\n\n\n### Example\n\n![Screenshot](tools/tabs.gif)\n\n```r\nui \u003c- miniPage(\n  gadgetTitleBar(\"Shiny gadget example\"),\n  miniTabstripPanel(\n    miniTabPanel(\"Parameters\", icon = icon(\"sliders\"),\n      miniContentPanel(\n        sliderInput(\"year\", \"Year\", 1978, 2010, c(2000, 2010), sep = \"\")\n      )\n    ),\n    miniTabPanel(\"Visualize\", icon = icon(\"area-chart\"),\n      miniContentPanel(\n        plotOutput(\"cars\", height = \"100%\")\n      )\n    ),\n    miniTabPanel(\"Map\", icon = icon(\"map-o\"),\n      miniContentPanel(padding = 0,\n        leafletOutput(\"map\", height = \"100%\")\n      ),\n      miniButtonBlock(\n        actionButton(\"resetMap\", \"Reset\")\n      )\n    ),\n    miniTabPanel(\"Data\", icon = icon(\"table\"),\n      miniContentPanel(\n        DT::dataTableOutput(\"table\")\n      )\n    )\n  )\n)\n```\n\nFull source at: https://github.com/rstudio/miniUI/blob/master/examples/tabs.R\n\n### License\n\nThe miniUI package is licensed under the [GPLv3](https://www.gnu.org/licenses/gpl-3.0.en.html).\n\n---\n\n### Compiling [Less](https://lesscss.org/) source to CSS\n\n**You generally don't need to do this.** This build step is only needed if you want to contribute to the development of the package by modifying the built-in CSS styles.\n\n#### One-time setup\n\n**Prerequisite:** You must have Node.js installed.\n\n```sh\n# Install the grunt command if necessary\nwhich grunt || sudo npm install -g grunt-cli\n\n# Install dependencies\ncd tools\nnpm install\n```\n\n#### Building\n\n```sh\ncd tools\ngrunt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2FminiUI","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstudio%2FminiUI","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstudio%2FminiUI/lists"}