<%= graph font_size: 20 %>

<%= component Scenic.Primitive.Rectangle,
    {@width, @height},
    id: :box,
    input: [:cursor_button, :cursor_pos],
    fill: if(@selected or @hovered, do: @theme.active, else: @theme.background)
%>

<%= component Scenic.Primitive.Text,
    @label,
    id: :text,
    fill: if(@selected or @hovered, do: @theme.active_text, else: @theme.text),
    translate: {15, 25}
%>