Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

Cols

Open .md
Live preview

Loading example…

Cols is part of the Containers set, imported from @jcsoftdev/ui/containers.

import { Cols } from "@jcsoftdev/ui/containers";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/cols.

<Cols>
<>
<Panel title="Agenda de hoy">12 citas, 3 por confirmar.</Panel>
<Panel title="Barberos">Diego, Mateo y Camila en turno.</Panel>
</>
</Cols>
Prop Type Default Description
variant "rail" | "half" | "calc" | "thirds" Column proportions. Omit for the base main + side split.

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/containers/cols/cols.tsx