Knit UI
GitHub

Playground

Loading playground…

Playground
<Blockquote
  radius="md"
  size="md"
>
  The only way to do great work is to love what you do. If you haven't found it yet, keep looking. Don't settle.
</Blockquote>

Examples

Default

A plain quote with no icon or attribution.

Loading example…

DefaultSourceStorybook

With Cite

A string cite prop renders a dimmed attribution line beneath the quote.

Loading example…

With CiteSourceStorybook

With Icon

An icon node is rendered in a circular badge floated over the top-left corner.

Loading example…

With IconSourceStorybook

Sizes

All seven token sizes drive padding, text, and cite spacing.

Loading example…

SizesSourceStorybook

Shadows

Elevation via the shared shadow ladder — inherited from Box, so every component accepts it; no shadow unless set.

Loading example…

ShadowsSourceStorybook

Icon Sizes

Icon badge size can be adjusted; the badge repositions itself relative to its size.

Loading example…

Icon SizesSourceStorybook

Radii

All radius values — only the inline-end corners are rounded; the bordered edge stays square.

Loading example…

RadiiSourceStorybook

Custom Cite Node

A non-string cite renders any React node as-is in place of the default cite text.

Loading example…

Custom Cite NodeSourceStorybook

Themed

The accent color follows the active theme — same component, different hue.

Loading example…

ThemedSourceStorybook

Styles

Per-slot styles targets individual parts — here the text body and cite line.

Loading example…

StylesSourceStorybook

Props

PropTypeDefaultDescription
citeReactNodeAttribution for the quote, rendered beneath it.
disabled systemboolean | undefined
iconReactNodeIcon displayed in a badge at the top-left of the quote.
iconSizeBlockquoteIconSize | undefined
unset · xxs · xs · sm · md · lg · xl · xxl
"xl"Width and height of the icon badge from the `$size` scale. Numbers are also supported.
radius systemstring | number | undefined
xs · sm · md · lg · xl · none · full
mdRounds the inline-end corners of the blockquote frame.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
size system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
xxs · xs · sm · md · lg · xl · xxl
"md"Controls token-driven padding, body text, and cite spacing/type.
styles systemSlotStyles<BlockquoteStyles> | undefinedPer-slot style sugar — props spread onto the matching styled part.
theme systemThemeName | null | undefined
unset · blue · red · green · yellow · pink · gray
Active theme accent — recolors the border and icon via the palette ramp.

Style slots

Every part of Blockquote can be styled through the styles prop. Explicit props on the component always win over slot styles.

SlotUsage
citestyles={{ cite: { … } }}
iconstyles={{ icon: { … } }}
textstyles={{ text: { … } }}
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

Plus 498 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.