JSFiddle - React, Tailwind, and code Playground

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/swanky-purse/jquery-ui.css">
Just First Friday of month: <input type="text" id="datepicker" />

JavaScript

jQuery('#datepicker').datepicker({
        beforeShowDay: function(date) {
            var day = date.getDay();
            var day2 = date.getDate();
             return [(day == 3  && day2 <= 30), ''];
           // return [(day == 5 && day2 <= 7), ''];  
            
        }
    });