UI Packs

Dusk UI Controls — checkbox, toggle and slider

Eight dusk purple interface controls: checkbox, radio, toggle and slider, each with on and off states drawn as different shapes. SVG plus transparent PNG.

  • ui
  • svg
  • transparent png
  • checkbox
  • toggle
  • slider
  • settings
  • controls
  • pixel art
  • retro
  • 2d
Game settings controls on a checkerboard background — an empty and a ticked checkbox, an unselected and a selected radio button, a toggle switch shown off and on, and a slider track with its knob
1600×741 previewtransparency shown as checkerboard

About this pack

Sixteen pixel controls for a settings screen that has to sit next to sixteen pixel type. At this size the difference between checked and unchecked cannot be a subtle tint, so it is a filled surface against an empty recess.

The set covers the four controls a settings screen actually needs: a checkbox, a radio button, a toggle switch and a slider with a separate knob. Each stateful control ships both states as its own file, at a 16×16 base — the toggle is 32×16 and the slider track is 128 px wide so it can be nine-sliced to any length.

On and off are drawn as different shapes, not different colours. An unchecked box is an empty recess; a checked one is a filled surface with a tick cut into it. That matters because a settings screen is exactly where a player is most likely to be running a colourblind mode, a greyscale shader, or a heavily tinted post-process — and a state you can only read by hue disappears under all three.

The slider ships as a track and a knob rather than a single sprite. Animating a one-piece slider means redrawing it per value; with two pieces you stretch the fill and move the knob, which is what every UI toolkit already expects. The knob carries a centre notch so its rotation and position stay readable at small sizes.

Everything is included as editable SVG and as flat transparent PNG at 1x, 2x and 4x, drawn from the same six night-violet tones as the rest of the Dusk family.

Download

Direct link · no sign-up · no wait page
Download ZIP13 kB

Complete set — 8 SVG sources, PNG exports at 1x/2x/4x, licence and readme

Files included in this pack
FileFormatSizeDownload
Complete set — 8 SVG sources, PNG exports at 1x/2x/4x, licence and readmeZIP13 kBGet →
Toggle switch (on state), editable SVGSVG504 BGet →
Slider track, editable SVGSVG455 BGet →

How to use it

  1. Swap the whole texture between the on and off files rather than tinting one sprite; the two states differ in shape, so a tint alone will not reproduce them.
  2. The slider track is nine-sliceable with a 5 px cap on each end — stretch the middle and the rounded ends stay intact at any width.
  3. In Unity, wire the two files to the Toggle component's Background and Checkmark graphics, or swap the sprite in an onValueChanged handler for a single-image setup.
  4. Keep the knob centred on the fill edge: its width is 14 px, so offset it by half that from the fill's right edge to make the handle sit on the value rather than after it.

License

Creative Commons Attribution 4.0 — Free for commercial use. Credit required. Full terms · What this means in practice

Copy-paste credit line
"Dusk UI Controls — checkbox, toggle and slider" by Oğuzhan Girgin, licensed under CC BY 4.0 — https://www.colorosse.com/assets/2d/ui/dusk-ui-controls