sdxc

Type to search, or start from one of these:

layout

flex-wrap

Sets flex-wrap, defaulting to wrap.

import { flexWrap } from "@sdxc/u/layout";

Quick reference

Every documented call, beside the CSS it emits.

CallCSS
u.flexWrap()css({ flexWrap: "wrap" })
u.flexWrap("nowrap")css({ flexWrap: "nowrap" })

Using a custom value

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

u.flexWrap()

Applying on a state

Wrap the call in a state utility to scope it to one selector.

u.hover(u.flexWrap())

Responsive design

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

u.at("md", u.flexWrap())

Signature

u.flexWrap(value?: "wrap" | "nowrap" | "wrap-reverse")