Documentation Index
Fetch the complete documentation index at: https://mintlify.com/felipe-software/react-native-jelly-tabs/llms.txt
Use this file to discover all available pages before exploring further.
Overview
All dimensional values in Jelly Tabs live underconfig.layout. Because config accepts a DeepPartial, you only supply the keys you want to change — everything else stays at its default. Additional props at the component level (maxWidth, displayScale) control the outer sizing of the bar.
The TabBarLayoutConfig interface
Defaults
| Key | Default | Description |
|---|---|---|
iconSize | 28 | Base icon size (px) passed to each activeIcon / inactiveIcon render function. |
itemHeight | 56 | Height of a single tab and the animated selected pill. |
trackHeight | 64 | Height of the full track / pill container. |
trackInset | 4 | Padding between the track edge and the tab items. |
maskOverscanX | 48 | Extra horizontal bleed of the pill mask beyond the track edges. |
maskOverscanY | 16 | Extra vertical bleed of the pill mask beyond the track edges. |
Tip:trackHeightshould always be ≥itemHeight + 2 × trackInset. The default values already satisfy this (64 ≥ 56 + 8).
Passing layout overrides via config
config is a DeepPartial<TabBarConfig>, so nest your values under config.layout:
maxWidth prop
Type: DimensionValue — Default: 400
Constrains the track to a maximum width. The bar always centers itself within its parent. Pass a number for pixels, or any React Native DimensionValue string such as "80%".
displayScale prop
Type: number — Default: 1
Multiplies every resolved layout dimension uniformly. Useful for producing high-quality screenshots or video recordings where you want the bar rendered at 2× or 3× size without changing any individual config values.
Sizing the wrapper for JellyTabBarHeadless
JellyTabBarHeadless does not add its own wrapper height. Your container must be sized to exactly: