node-zugferd
node-zugferd
@node-zugferd/validator-xsd
@node-zugferd/validator-mustang
@node-zugferd/traffiqx
@node-zugferd/templates
@node-zugferd/pdf-template
T
Align
F
aspectRatio
T
AssetSource
T
BackgroundImage
T
Border
T
BorderSides
I
BoxStyle
T
BoxTransform
T
BreakInside
F
brutalistTheme
F
button
I
ButtonOptions
T
CellVerticalAlign
F
checkbox
I
CheckboxOptions
F
cleanTheme
V
Colors
I
ColumnSpec
T
ColumnWidth
T
CrossAxis
F
definePdfTemplate
F
defineStyles
I
DocumentMetadata
F
dropdown
I
DropdownOptions
T
Edges
T
EdgesInput
F
editorialTheme
F
embedFont
F
flattenForm
F
flex
F
flowContinuation
I
FlowOptions
F
flowToPdf
I
FlowToPdfOptions
F
formatCurrency
I
FormFieldAppearance
T
FormFieldNode
T
FormFieldOptions
T
FormValue
T
Fragmentation
F
getFormValues
F
group
F
hex
F
hline
F
hstack
F
image
F
imageFit
F
inlineNode
I
InlineNodeRun
T
InlineVerticalAlign
T
Justify
F
keepTogether
F
link
F
linkRun
F
loadFont
I
LoadFontOptions
F
loadImage
T
MainAxis
I
MainAxisLayout
F
measure
F
measureContent
I
MeasureProfileEvent
T
Node
F
nodeAdapter
F
optionList
I
OptionListOptions
T
Overflow
F
pageContent
I
PageContext
F
pageInner
I
PageOptions
I
PageSize
V
PageSizes
F
paragraph
I
ParagraphFloat
I
ParagraphFloatLayout
T
ParagraphItem
I
ParagraphLayout
I
ParagraphProps
I
ParagraphRun
C
PDFDocument
C
PdfEncryptionError
T
PdfEncryptionErrorCode
I
PdfEncryptionOptions
C
PDFFont
C
PDFImage
C
PDFPage
I
PdfPermissions
T
Position
F
radioOption
I
RadioOptionOptions
T
RelativeLength
F
render
F
renderFlow
T
RenderFlowProfileCallback
I
RenderFlowProfileEvent
I
RenderOptions
F
renderToPdf
I
RenderToPdfOptions
F
resolveMainAxis
T
RGB
F
rgb255
F
run
F
savePdf
I
SavePdfOptions
F
setFormValues
I
Size
F
spacer
T
StandardFontFamily
F
standardFonts
E
StandardFonts
I
StandardFontSet
F
streamFlow
I
StreamFlowOptions
I
StreamPageContext
F
stripeTheme
F
svgPath
F
table
I
TableCell
T
TableCellInput
I
TableDivider
I
TableOptions
V
text
F
textField
I
TextFieldOptions
I
TextOptions
I
TextProps
I
TextRunStyle
I
Theme
I
ThemeColors
I
ThemedTextStyle
I
ThemeFonts
I
ThemeRadii
I
ThemeSpacing
I
ThemeType
T
TransformOrigin
F
vline
F
vstack
@node-zugferd/parser
@node-zugferd/magic-bytes
@node-zugferd/instrumentation
@node-zugferd/docx-template
@node-zugferd/default-template
@node-zugferd/data-types
@node-zugferd/core

TextProps

Interface TextProps

interface TextProps extends FlexItemStyle

Properties

align

Align

Horizontal alignment within the slot width.

alignSelf

CrossAxis

Cross-axis alignment override for this child within its parent stack.

breakWords

boolean

When true, allows shrink to reduce the text below its longest-word width by hard-breaking at character boundaries (CSS overflow-wrap: break-word). Off by default — prefer maxLines for truncation, this for char-level wrap (monospace tables, hashes).

color

RGB

font

PDFFont

letterSpacing

number

Extra space added between each character in points.

lineHeight

number

Line height in points; defaults to the font's full height for the size.

margin

EdgesInput

Margin around the text.

maxLines

number

Maximum number of wrapped lines (truncates with ellipsis when exceeded).

opacity

number

Alpha transparency, 0 = fully transparent, 1 = fully opaque.

shrink

number

Flex shrink weight along the parent's main axis. When set and the parent hstack/vstack overflows, the text's slot width is reduced proportionally and the text re-wraps. By default bounded below by the widest single whitespace-separated word — single-token strings (URLs, hashes) won't shrink unless breakWords or maxLines is also set.

size

number

strikethrough

boolean

Strike a line through each rendered line.

underline

boolean

Underline each rendered line.

width

number

Slot width (enables word wrapping). If omitted, width is intrinsic.

wrap

boolean

When false, explicit newlines still break but width does not soft-wrap.


llms.txt
I
TextOptions

I
TextRunStyle

Edit on GitHubPrivacyImprint