Skip to Content
No-Code EditorProperties & Styling

Properties & Styling

Every component has a set of style properties that control its appearance and layout. These map directly to CSS properties, with a few AppFunnel-specific additions.

Layout

Containers (Stack, Grid) use flexbox or grid for layout. Child components have flex-child properties.

Container Properties

PropertyValuesDescription
flexDirectionrow, column, row-reverse, column-reverseMain axis direction.
justifyContentflex-start, flex-end, center, space-between, space-around, space-evenlyAlignment along the main axis.
alignItemsflex-start, flex-end, center, stretch, baselineAlignment along the cross axis.
flexWrapnowrap, wrap, wrap-reverseWhether children wrap to new lines.
gapCSS lengthSpace between children.

Flex Child Properties

PropertyDescription
flexGrowHow much the item grows relative to siblings.
flexShrinkHow much the item shrinks relative to siblings.
flexBasisInitial size before grow/shrink is applied.
alignSelfOverride parent’s alignItems for this child.
orderVisual order override.

Grid Properties

PropertyDescription
gridTemplateColumnsColumn track sizes (e.g., 1fr 1fr, repeat(3, 1fr)).
gridTemplateRowsRow track sizes.
justifyItemsDefault alignment for all grid items: start, end, center, stretch.

Size

PropertyDescription
widthExplicit width.
heightExplicit height.
minWidth / maxWidthWidth constraints.
minHeight / maxHeightHeight constraints.

All size values accept any CSS length unit: px, %, vh, vw, rem, etc.

Spacing

Padding

Controls the internal space between a component’s border and its content.

PropertyDescription
paddingTopTop padding.
paddingRightRight padding.
paddingBottomBottom padding.
paddingLeftLeft padding.

Margin

Controls the external space around a component.

PropertyDescription
marginTopTop margin.
marginRightRight margin.
marginBottomBottom margin.
marginLeftLeft margin.
marginShorthand for all sides.

Virtual Properties

AppFunnel adds virtual spacing properties that set both sides of an axis at once:

Virtual PropertySets
paddingVerticalpaddingTop + paddingBottom
paddingHorizontalpaddingLeft + paddingRight
marginVerticalmarginTop + marginBottom
marginHorizontalmarginLeft + marginRight

Individual side values always take precedence over virtual properties. If you set paddingVertical: 16px and paddingTop: 8px, the top will be 8px and the bottom will be 16px.

Typography

PropertyValuesDescription
fontSizeCSS lengthFont size.
fontWeight100900, or named weightsFont weight.
fontFamilyFont nameFont family.
lineHeightNumber or CSS lengthLine height.
letterSpacingCSS lengthLetter spacing.
textAlignleft, center, right, justifyHorizontal text alignment.
textDecorationnone, underline, line-through, etc.Text decoration.
textTransformnone, uppercase, lowercase, capitalizeText case transformation.
fontStylenormal, italic, obliqueFont style.
whiteSpacenormal, nowrap, pre, pre-line, pre-wrapWhitespace handling.

Colors

PropertyDescription
colorText and icon color.
backgroundBackground color, gradient, or image.
borderColorBorder color (all sides).
borderTopColor / borderRightColor / borderBottomColor / borderLeftColorPer-side border colors.

All color properties accept any CSS color value: hex (#ff0000), rgb, rgba, hsl, named colors, or CSS variables (var(--color-primary)).

Funnel Color Variables

Colors defined in funnel settings are available as CSS custom properties: var(--color-{name}). Define a color named primary in settings, then reference it as var(--color-primary) in any color property or Custom CSS.

Borders

PropertyDescription
borderWidthBorder width (all sides).
borderTopWidth / borderRightWidth / borderBottomWidth / borderLeftWidthPer-side border width.
borderStylenone, solid, dashed, dotted, double.
borderRadiusCorner radius (all corners).
borderTopLeftRadius / borderTopRightRadius / borderBottomRightRadius / borderBottomLeftRadiusPer-corner radius.

Effects

PropertyDescription
opacity0 (transparent) to 1 (opaque).
boxShadowCSS box shadow (e.g., 0 4px 12px rgba(0,0,0,0.1)).
backdropFilterBackdrop effects (e.g., blur(10px)).
filterCSS filters (e.g., blur(), brightness(), grayscale()).
transformCSS transforms (e.g., rotate(5deg), scale(1.1)).

Position

ModeBehavior
staticDefault document flow.
relativeOffset from normal position. Use top, right, bottom, left for offset.
absolutePositioned relative to the nearest positioned ancestor. Removed from document flow.
fixedPositioned relative to the viewport. Stays in place on scroll.
stickySticks to a scroll position. Normal flow until the scroll threshold, then fixed.

When using absolute, fixed, or sticky, configure top, right, bottom, left, and zIndex to control placement.

Visibility & Display

PropertyValuesDescription
displayflex, block, inline, none, gridDisplay mode. none hides the element.
visibilityvisible, hiddenHides the element but preserves its space in the layout.
hiddentrue, falseAppFunnel-specific: completely removes the component from rendering.

The hidden property is the recommended way to conditionally show/hide components. Combine it with Dynamic Properties to toggle visibility based on variable values.

Overflow & Clipping

PropertyValuesDescription
overflowvisible, hidden, scroll, autoHow content that exceeds the component’s bounds is handled.
overflowX / overflowYSame as overflowPer-axis overflow control.

Object Fit (Images & Video)

PropertyValuesDescription
objectFitfill, contain, cover, none, scale-downHow the media scales within its container.
objectPositionCSS position (e.g., center, top left)Alignment of the media within its container.
aspectRatioRatio string (e.g., 16/9, 1/1)Fixed aspect ratio.
Last updated on