Module

x/fresh/plugins/twindv1_deps.ts>cx

The next-gen web framework.
Extremely Popular
Latest
function cx
import { cx } from "https://dotland.deno.dev/x/fresh@1.7.3/plugins/twindv1_deps.ts";

Constructs class strings conditionally.

Twinds version of popular libraries like classnames or clsx. The key advantage of cx is that it supports twinds enhanced class name syntax like grouping and aliases.

Parameters

...input: Class[]

Returns

string