Cols
Loading example…
Cols is part of the Containers set, imported from @jcsoftdev/ui/containers.
Import
Section titled “Import”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" |
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).
Storybook stories
Section titled “Storybook stories”Source
Section titled “Source”packages/ui/src/containers/cols/cols.tsx