Components
Classes
Types
No results found.
If this is a bug, please report it.
Scroll
Open
Sometimes we miss things. We rely on user feedback to tell us how we're doing.
Columns are flex boxes that flow vertically and have convenience props for controlling basic props like align-items and gap.
<Column
alignItems="center"
justifyContent="start"
gap="md"
>
{children}
</Column>
Note: Other React frameworks are not currently supported, but they might still work. Try at your own risk.
Method | Instructions |
---|---|
LiftKit CLI |
From any Next.js project, run the following command in your terminal.
npm run add column
content_copy
|
Github | open_in_new View on Github |
Method | Instructions |
---|---|
Webflow | open_in_new Clone from Made In Webflow |
Figma | open_in_new Clone from Figma Community |
Props unique to this component.
Name | Required | Type | Description | Default Val |
---|---|---|---|---|
alignItems | no | "start" | "center" | "end" | "stretch" | Sets card padding equal to the font size of the passed LkFontClass. | “body” |
defaultChildBehavior | no | "auto-grow" | "auto-shrink" | "ignoreFlexRules" | "ignoreIntrinsicSize" | Determines the default manner in which children elements will behave. | undefined |
gap | no | LkUnit | Sets the gap between column children. | “md” |
justifyContent | no | "start" | "center" | "end" | "space-between" | "space-around" | Changes the overall style of the card | “fill” |
wrapChildren | no | boolean | Turns wrapping either on or off. | false |
Props with globally-defined behavior that are used in multiple components.
Common Props | Status |
---|---|
{children} | Supported |
Native HTML attributes | Supported |