Free Cartoon UI Kit: Game UI Pieces (PNG and SVG)

Buttons in four states, icon buttons, a panel, bars, toggles, a slider, stars and hearts. Buttons in four states, icon buttons, a stretchable panel, bars, toggles, a slider and HUD icons, as PNG, @2x PNG and SVG, with the nine-slice margins in a JSON file. Free with credit, no login.

  • 34 pieces
  • PNG + @2x + SVG
  • Nine-slice
  • CC BY 4.0

All 34 pieces, in 8 groups

The previews play the real files. Press View and download for every file and format.

Buttons

8 pieces · PNG + SVG

Two colours in four states: normal, hover, pressed and disabled. They stretch to any width (nine-slice).

Icon Buttons

8 pieces · PNG + SVG

Play, pause, restart, home, settings, sound on and off, close.

Panel

1 piece · PNG + SVG

A window panel that stretches to any size without blurring its corners.

Bars

5 pieces · PNG + SVG

A frame and four fills for health, energy, mana and XP.

Toggles and Checkboxes

4 pieces · PNG + SVG

On and off switches for settings screens.

Slider

2 pieces · PNG + SVG

A track and a knob for volume and settings sliders.

HUD Icons

5 pieces · PNG + SVG

Full, half and empty states for lives, shields, stars and energy.

Banner and Extras

1 piece · PNG + SVG

A title banner and extra pieces.

How to use these assets

Animated sprites come as one PNG sprite sheet each, with a frame map next to it: a TexturePacker-style JSON (frame names, sizes, animations and speed) that most 2D engines read, plus a Godot 4 SpriteFrames file. Tilesets come with Tiled .tsx files.

Phaser

Load the PNG and JSON with this.load.atlas and build each animation from its frame names, as in the code below.

Godot 4

Drop the PNG and the .tres in your project and pick the .tres as the SpriteFrames of an AnimatedSprite2D. All animations and speeds are already set.

Unity

Set the texture to Sprite (Multiple), slice by cell size (it is in the JSON and on each card) and drag the frames onto the scene to make an animation.

Tiled

Open the .tsx tileset. Top-down sets have corner (Wang) sets, so the terrain brush paints shores, paths and kerbs with the right edge tiles.

this.load.atlas('knight', 'knight.png', 'knight.json');   // in preload()

this.anims.create({                                       // in create()
  key: 'run',
  frames: this.anims.generateFrameNames('knight', { prefix: 'knight-run-', start: 0, end: 7, zeroPad: 2 }),
  frameRate: 16,
  repeat: -1
});
const hero = this.add.sprite(200, 300, 'knight');
hero.setOrigin(0.5, hero.frame.customData.pivot.y);       // the pivot in the JSON is at the feet
hero.play('run');

Every PNG has clean transparency: the colour under see-through pixels is filled in from the edges, so scaled sprites get no white or dark halo.

How to credit (CC BY 4.0)

All assets are made by vinish.dev and released under Creative Commons Attribution 4.0. Use them in personal and commercial games and apps, change them and share them. The one condition is credit:

  1. Copy a credit line below.
  2. Paste it where players can see it: your game's credits screen, store page or About screen.
  3. If you changed an asset, add that after the credit, for example "recoloured".

Used many assets? One line for the whole library is enough:

2D game assets by vinish.dev (https://vinish.dev/free-2d-game-assets), CC BY 4.0

Or credit one asset by name:

"Cartoon UI Kit" by vinish.dev (https://vinish.dev/free-2d-game-assets), CC BY 4.0

Questions

Can I use these in a commercial game?

Yes. CC BY 4.0 allows commercial use. Put the credit line in your credits or About screen.

Do I need an account?

No. There is no login, sign-up or email. Press View and download and the files are yours.

Can I change them?

Yes. Recolour, resize or cut them. Keep the credit and mention that you changed them.

More from vinish.dev