Small components
for big ideas.

Community-built Rocket components for the Datastar ecosystem. Copy, use, remix, and launch something great.

Powered by Datastar

Community Components

A collection of reusable components built by the Datastar community.

  • Nebula

    A drifting WebGL nebula in dithered pixels. Speed, density and palette are attributes.

    mbolli 3.6 kB1
  • Starfield

    A warp-speed pixel starfield. Speed, density and colour are attributes.

    zweiundeins 1.9 kB1
  • Your component is live.

    Alert

    Contextual feedback messages for your app.

    zweiundeins 1.4 kB0
  • Blast off

    Button

    A versatile button component with Datastar interactions.

    zweiundeins 1.5 kB0
  • A violet planet rising over pixel hills

    Card

    Flexible container for content and actions.

    zweiundeins 1.2 kB0
  • Code Editor

    A light code field with pixel-theme highlighting, smart tabs and line numbers.

    zweiundeins 11.8 kB0
  • Code Playground

    Edit a component's code and HTML side by side, with a live sandboxed preview.

    zweiundeins 15.3 kB0
  • go run .

    Copy Button

    One-click copy to clipboard with a friendly confirmation.

    zweiundeins 1.7 kB0
  • Gauge

    A pixel dial whose needle springs to its value, with warning zones.

    zweiundeins 2.3 kB0
  • Input

    Styled input with built-in reactivity and validation.

    zweiundeins 2.6 kB0
  • Meter

    A segmented pixel bar for levels, progress and resources.

    zweiundeins 1.2 kB0
  • Are you ready to launch?CancelLaunch

    Modal

    Accessible modal dialogs for any use case.

    zweiundeins 1.8 kB0
  • Pixel Board

    A paintable pixel canvas, made for multiplayer: the server owns the cells.

    zweiundeins 3.4 kB0
  • QR Code

    Pixel-perfect QR codes for any text or URL, with optional brand-coloured corners.

    zweiundeins 8.1 kB0
  • Range

    A two-thumb pixel slider for a start and an end, committed as one value.

    zweiundeins 3.1 kB0
  • Rating

    Pixel hearts or stars for a score, with half steps, hover preview and keys.

    zweiundeins 2.9 kB0
  • 22 Sep 2026

    Relative Time

    "3 minutes ago" that stays current, in any language, with a server fallback.

    zweiundeins 1.8 kB0
  • Select

    A select that can filter, pick several, or autocomplete from the server.

    zweiundeins 5.2 kB0
  • Slider

    A pixel range control that steers anything through signals.

    zweiundeins 2.6 kB0
  • Sparkline

    A tiny stepped pixel chart that grows with every pushed value.

    zweiundeins 2.4 kB0
  • Tabs

    Organize content with style.

    zweiundeins 1.9 kB0
  • Theme Switch

    Auto, dark or light (or your own themes), remembered in a cookie, with no flash.

    zweiundeins 3.1 kB0
  • Toggle

    A switch component with smooth Datastar interactions.

    zweiundeins 1.9 kB0
  • Info

    Tooltip

    Helpful hints, right where you need them.

    zweiundeins 1.1 kB0
  • Tree

    A keyboard-friendly tree whose branches can load lazily from the server.

    zweiundeins 4.0 kB0
  • Voxel

    A tiny 3D voxel renderer you steer with signals. No WebGL.

    zweiundeins 4.4 kB0