HIV bslib

an educational Shiny App on PrEP

Sam Parmar

Quick post: Thought of this idea a few weeks back. Had some time after work yesterday and today. PrEP is a medicine people at risk of HIV take to prevent getting HIV from sex or injection drug use. The main aim of the app is to educate folks on PrEP for HIV prevention.

In the process of building the Shiny app yesterday evening, I found out about the Greater than AIDS public information response from KFF. They already have a very educational website on many different topics from PrEP to testing. Nevertheless, I thought it would be a valuable exercise to build a relatively simple Shiny app around their resources, in hopes that their content gets more views. Embedded videos from their YouTube channel in combination with the PrEP locator widget from CDC’s NPIN. Used shiny, bslib, and vembedr R packages. Consider this the second of my App in a Week blog series. Hope to encourage readers to go out and build an app. It’s easier than ever with R Shiny and a few other packages.


Distill is a publication format for scientific and technical writing, native to the web.

Learn more about using Distill at


If you see mistakes or want to suggest changes, please create an issue on the source repository.


For attribution, please cite this work as

Parmar (2021, May 14). Data Breadcrumbs: Prep4PrEP. Retrieved from

BibTeX citation

  author = {Parmar, Sam},
  title = {Data Breadcrumbs: Prep4PrEP},
  url = {},
  year = {2021}