Datastar 🚀

Load HTML

Click this button to load a response with HTML:

Message: Datastar responses will be displayed here.

Click this button to generate 100 element updates 10 milliseconds apart:

Backend-synced signals

Counter

Click this button to increment the counter inside the browser only:

Click this button to sync the counter with the backend (15):

Show and hide

Click this button to toggle the panel below:

I'm hiding in plain sight

Click this button to make the backend force show the panel:

Custom plugins

Click this button to generate a new timestamp and display it in your own timezone and locale:

    Custom elements

    Choose an option in the menu and see the input update:

  • Link
  • Prototyping

    This page contains mocked API routes for handling datastar fetching. This allows us to create prototypes directly in the browser which are then easily adapted for a real API.

    This task list is persisted in localStorage to simulate database operations.

      FLIP Animations

      Click this button to add an animated element to the list: