Knit UI
GitHub

Playground

Loading playground…

false
Playground
<Paper
  radius="md"
  withBorder={false}
  padding="$lg"
  width={280}
>
  <Text>Paper surface</Text>
</Paper>

Examples

Shadows

All five shadow levels side by side to compare elevation.

Loading example…

ShadowsSourceStorybook

Radii

All five radius values side by side, from sharp to fully rounded.

Loading example…

RadiiSourceStorybook

With Border

Border variant — a 1 px outline using the active theme's $borderColor token.

Loading example…

With BorderSourceStorybook

Shadow And Border

Shadow and border combined — useful for cards that need both depth and definition.

Loading example…

Shadow And BorderSourceStorybook

Card Layout

Paper used as a card layout with a title and body text.

Loading example…

Card LayoutSourceStorybook

Nested

Nesting two Paper surfaces to create a layered depth effect.

Loading example…

NestedSourceStorybook

Props

PropTypeDefaultDescription
disabled systemboolean | undefined
radius systemstring | number | undefined
xs · sm · md · lg · xl
mdCorner rounding — maps to the border-radius token scale.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
unset · xs · sm · md · lg · xl
Elevation level — maps to a box-shadow scale (xs→xl).
theme systemThemeName | null | undefinedApplies a theme to this element
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

Plus 499 inherited style props from Box — the full Tamagui/React Native style surface, including token shorthands like p, mx, bg and c. See Tokens for the scales they accept, or the full list.