gamifiedUI

Game-style 2D / 2.5D components for Tailwind CSS v4.

GitHub Sponsor

Get started

Get started

Install with npm, then import the styles after Tailwind. Every class starts with gx-.

npm i gamifiedui-css gamifiedui-icons

@import "tailwindcss";
@import "gamifiedui-css";
@import "gamifiedui-icons";

Controls

Buttons

New character

Shown above your character.
Use 2 to 5 letters.
Class
Hardcore: one life, no saves.

Quest log and settings

The iron ore1/3
Bring 3 iron ore to the blacksmith in the village.
Lost cat0/1
Someone heard meowing near the old tree.
Dragon's denLv 20
Come back when you are stronger.

New Epic
Sort by ▼

Level select

Time and dates

Raid

Run

Type YYYY-MM-DD or pick from the calendar.

Pick the first day, then the last.

Daily login

Bonus day

File upload

No file chosen

Uploads

    Nothing uploaded yet.

    Game HUD

    Party

    Hero Lv 7 OK
    HP
    100 / 100
    MP
    26 / 40
    XP
    42%

    Bag

    HUD

    1250 340

    The iron ore

    • Talk to the blacksmith(done)
    • Mine iron ore1/3
    • Return to the village
      Slime, the training target

      Press 1, 2 or 3, or click a skill.

      Leaderboard

      Weekly top scores
      Rank Player Level Score
      1Ayla4298,120
      2Bob3987,400
      3Chen3780,050
      4You1212,300
      5Dee119,870

      Feedback

      Alerts and notifications

      New quest

      The blacksmith wants 3 iron ore.

      Saved

      Progress written to slot 1.

      Bag almost full

      18 of 20 slots used.

      Loading world…

      Hints and status

      E Talk to the Old Sage Esc Menu

      Made with gamifiedUI · Sponsor · Share your theme

      Save slots

      Slot 1 · Meadow · Level 12

      Saved3 / 10

      Dialogue

      Particles

      Mini-games

      Gauges, a rhythm lane and a four-way pad for quick-time games. Your game loop writes the numbers as custom properties; holdButton() keeps a hold going when a thumb slides off.

      Timing

      Rhythm

      Sound effects

      gamifiedui-sfx makes chiptune sounds with Web Audio, so there are no audio files. Add data-gx-sfx="coin" to any button. Most buttons on this page already have one.

      Media and scenes

      Sprite and isometric

      Images and video

      Pixel art of a castle on a hill at sunset
      Castle Hill, drawn in code.
      AY B Slime
      Cutscene with captions in English and Traditional Chinese.

      Desktop shell

      Adventure Hub

      World map

      Route map

      Starts fitted to the width. A plain wheel scrolls the page; hold Ctrl (⌘ on Mac) to zoom. Plates size themselves to the labels in each language.

      Icons

      Icons

      341 pixel icons on a 16px grid, including emoji and a Hong Kong set. Each one is a single CSS class.

      Animated

      Frame strips played with steps(). They hold still under reduced motion.

      Loading

      All icons

      Every icon has an animated twin: swap gx-i-NAME for gx-ia-NAME. Stop them with gx-icon-paused, gx-icon-hover-play, or gx-icons-paused on a container.

      Save game?

      Your progress will be written to slot 1.

      Dialogue log

        Paused

        Treasure!

        Sun trophy

        Legendary. Added to your bag.