dragonruby-ui

Installation
SKILL.md

This skill covers DragonRuby UI patterns. Layout grid and basic label/rect output are in the main dragonruby skill.

Layout Grid

# 12×24 grid in landscape — each cell maps to pixel coords:
rect = Layout.rect(row: 0, col: 0, w: 6, h: 2)
# => { x:, y:, w:, h:, center: { x:, y: } }

point = Layout.point(row: 5, col: 4, row_anchor: 0.5, col_anchor: 0.5)

# Group of rects spaced horizontally:
group = Layout.rect_group(row: 10, dcol: 1, w: 1, h: 1, group: items)

# Visualise the grid during development:
args.outputs.debug << Layout.debug_primitives

Button

Related skills
Installs
6
GitHub Stars
2
First Seen
Mar 9, 2026