arbitrary value

Tailwind's square-bracket syntax, such as bg-[var(--brand)] or p-[13px], for using a value that is not in the theme.

In more detail

Arbitrary values are an escape hatch for one-off cases. In a design system they should be rare; a value used repeatedly belongs in the theme as a token.

Related terms

Taught in

References