Skip to main content
Module

x/clazzx/src/clazzx.ts

ClazzX is a small typesafe utility library for composing HTML classes.
Latest
import * as clazzx from "https://deno.land/x/clazzx@1.0.0/src/clazzx.ts";

Classes

Inherit ClazzX and define your own base, default, compounds, and classes. Compose them by calling the static compose method. Access the classes by calling the static get method.

Variables

clx accepts any number of strings, booleans, undefined, null, or arrays of those types and returns a string of all truthy values.

Type Aliases

StyleProps creates a type from a ClazzX class that is used to define the input to the compose method.