sdxc

Type to search, or start from one of these:

state

indeterminate

Matches indeterminate checkboxes and ARIA mixed-state widgets, painting a third visual state; it also matches radios in an unselected group and valueless <progress>, so scope it to the control you mean.

import { indeterminate } from "@sdxc/u/state";

Quick reference

Every documented call, beside the CSS it emits.

CallCSS
u.indeterminate(u.bg("brand.solid"))css({ '&:indeterminate, &[aria-checked="mixed"]': { backgroundColor: "..." } })

Using a custom value

Every scale argument also takes a raw CSS value, which passes through untouched.

u.indeterminate(u.bg("brand.solid"))

Responsive design

Wrap the call in a container query to scope it to one width.

u.at("md", u.indeterminate(u.bg("brand.solid")))

Signature

u.indeterminate(input: UtilityInput<Node>)