Skip to content

Quill docs

Number input

A labelled numeric input with min/max/step and themed increment/decrement controls.

Preview#

This preview is server-rendered from the real qquill-design builder; the page ships the component CSS that builder returns, so the docs cannot drift from the crate API.

Design-system contract#

  • BUILT: min, max, step, disabled, required, and invalid state come from qquill-ui.
  • BUILT: buttons disable at bounds in the headless state tests.
  • Use for capacity-style settings such as threads, RAM, or storage caps.

Code#

Construct the component with its builder:

NumberInput::new("workers", "Worker threads")
    .value(4)
    .min(1)
    .max(64)
    .step(1)
    .render()