Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Weekagenda met dagweergave New

Physio practice calendar in week and day view: appointments as blocks on a time axis, a now line that moves every minute, previous/next week, back to today and a detail card when you click a block (cancel works). CSS grid with positions calculated from minutes; on narrow screens it starts in day view. In production you connect it to your calendar API or an iCal feed.

How to use it

  1. Paste the HTML where the numbers & charts should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Weekagenda met dagweergave · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="kwk">
  <div class="kwk__head">
    <button type="button" class="kwk__today">Vandaag</button>
    <button type="button" class="kwk__nav" data-d="-1" aria-label="Vorige week"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="m14 6-6 6 6 6"/></svg></button>
    <button type="button" class="kwk__nav" data-d="1" aria-label="Volgende week"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="m10 6 6 6-6 6"/></svg></button>
    <h3 class="kwk__title" aria-live="polite"></h3>
    <div class="kwk__seg" role="group" aria-label="Weergave">
      <button type="button" data-v="week" aria-pressed="true">Week</button><button type="button" data-v="dag" aria-pressed="false">Dag</button>
    </div>
  </div>
  <div class="kwk__days"></div>
  <div class="kwk__scroll" tabindex="0" aria-label="Afspraken">
    <div class="kwk__grid"></div>
  </div>
  <div class="kwk__card" role="dialog" aria-labelledby="kwk-ct" hidden>
    <div class="kwk__ctop"><h4 class="kwk__ct" id="kwk-ct" tabindex="-1"></h4><button type="button" class="kwk__close" aria-label="Details sluiten"><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M6 6l12 12M18 6 6 18"/></svg></button></div>
    <p class="kwk__cm"></p>
    <div class="kwk__cact"><button type="button" class="kwk__cancel">Afspraak annuleren</button></div>
  </div>
  <p class="kwk__sr" aria-live="polite"></p>
</div>
</div>

More numbers & charts

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →