TakumiTakumi

Reference

List of everything in Takumi.

Node Types

Container

A container node is used to group other nodes and arrange them in a layout.

Prop

Type

Description

tagName?string

Element tag name used for HTML preset and selector matching

className?string

Element class name used for selector matching

id?string

Element id used for selector matching

children?Node[]

Children nodes

preset?Style

Default HTML element styles (lowest priority)

style?Style

Inline styling properties (highest priority)

tw?string

Tailwind classes (medium priority, overrides preset)

Text

A text node displays text.

Prop

Type

Description

tagName?string

Element tag name used for HTML preset and selector matching

className?string

Element class name used for selector matching

id?string

Element id used for selector matching

textstring

Text content to be displayed

preset?Style

Default HTML element styles (lowest priority)

style?Style

Inline styling properties (highest priority)

tw?string

Tailwind classes (medium priority, overrides preset)

Image

An image node displays rasterized or svg images.

Prop

Type

Description

tagName?string

Element tag name used for HTML preset and selector matching

className?string

Element class name used for selector matching

id?string

Element id used for selector matching

srcstring

The source URL / persistent image key to the image

width?number

Overwrite the intrinsic width of the image

height?number

Overwrite the intrinsic height of the image

preset?Style

Default HTML element styles (lowest priority)

style?Style

Inline styling properties (highest priority)

tw?string

Tailwind classes (medium priority, overrides preset)

Style Properties

PropertyProperty ExpandedSupported Values
displaynone, flex, inline-flex, grid, inline-grid, block, inline-block, inline
positionrelative, absolute
zIndexSupported
widthSupported
heightSupported
maxWidthSupported
maxHeightSupported
minWidthSupported
minHeightSupported
aspectRatioSupported
animationanimationNameSupported
animationDurationSupported
animationDelaySupported
animationTimingFunctionlinear, ease, ease-in, ease-out, ease-in-out, step-start, step-end, steps(), cubic-bezier()
animationIterationCountSupported
animationDirectionSupported
animationFillModeSupported
animationPlayStateSupported
paddingpaddingTop, paddingRight, paddingBottom, paddingLeft, paddingInline, paddingBlockSupported
marginmarginTop, marginRight, marginBottom, marginLeft, marginInline, marginBlockSupported
insettop, right, bottom, left, insetInline, insetBlockSupported
borderborderWidth (borderTopWidth, borderRightWidth, borderBottomWidth, borderLeftWidth, borderInlineWidth, borderBlockWidth)Supported
borderStylesolid, none
borderColorSupported
borderRadiusborderTopLeftRadius, borderTopRightRadius, borderBottomRightRadius, borderBottomLeftRadiusSupported
outlineoutlineWidthSupported
outlineStylesolid, none
outlineColorSupported
outlineOffsetSupported
flexflexBasisSupported
flexGrowSupported
flexShrinkSupported
orderSupported
FlexboxflexDirectionSupported
flexFlowSupported
justifyContentSupported
justifySelfSupported
alignContentSupported
placeContentSupported
justifyItemsSupported
alignItemsSupported
placeItemsSupported
alignSelfSupported
placeSelfSupported
flexWrapnowrap, wrap, wrap-reverse
gap (columnGap, rowGap)Supported
objectFitSupported
objectPositionSupported
overflowoverflowX, overflowYvisible, clip, hidden
backgroundbackgroundImagelinear-gradient(), radial-gradient(), conic-gradient(), repeating-linear-gradient(), repeating-radial-gradient(), repeating-conic-gradient(), url()
backgroundPositionSupported
backgroundSizeSupported
backgroundRepeatSupported
backgroundColorSupported
backgroundClipSupported
backgroundBlendModeSupported
boxShadowSupported
ClipclipPath<basic-shape>
clipRuleSupported
maskmaskImageSupported
maskSizeSupported
maskPositionSupported
maskRepeatSupported
transformtranslate (translateX, translateY)Only 2D is supported
rotate
scale (scaleX, scaleY)
transformOriginSupported
GridgridAutoColumnsSupported
gridAutoRowsSupported
gridAutoFlowSupported
gridColumn (gridColumnStart, gridColumnEnd)Supported
gridRow (gridRowStart, gridRowEnd)Supported
gridArea (gridRowStart, gridColumnStart, gridRowEnd, gridColumnEnd)Supported
gridTemplateColumnsSupported
gridTemplateRowsSupported
gridTemplateAreasSupported
TypographytextOverflowellipsis, clip, custom character
textTransformnone, uppercase, lowercase, capitalize
fontStyleSupported
colorSupported
textShadowSupported
fontSizeSupported
fontFamilyFont fallback supported
lineHeightSupported
verticalAlignSupported
fontWeightSupported
fontStretchSupported
fontVariationSettingsSupported
fontFeatureSettingsSupported
fontSynthesisnone, weight, style
fontSynthesisWeightauto, none
fontSynthesisStyleauto, none
lineClampnumber, 1 "ellipsis character"
textAlignSupported
letterSpacingSupported
wordSpacingSupported
overflowWrapSupported
wordBreaknormal, break-all, keep-all, break-word
whiteSpacenormal, pre, pre-wrap, pre-line, <text-wrap-mode> <white-space-collapse>
whiteSpaceCollapsepreserve, collapse, preserve-spaces, preserve-breaks
textWraptextWrapModewrap, nowrap
textWrapStyleauto, balance, pretty
boxSizingSupported
opacitySupported
imageRenderingauto, smooth, pixelated
filter<filter-function>
backdropFilter<filter-function>
WebkitTextStrokeWebkitTextStrokeWidth, WebkitTextStrokeColor, WebkitTextFillColorSupported
strokeLinejoinmiter, round, bevel
textDecorationtextDecorationLineunderline, line-through, overline
textDecorationStylesolid
textDecorationColorSupported
textDecorationThicknessSupported
textDecorationSkipInkauto, none
isolationSupported
mixBlendModeSupported
visibilityvisible, hidden
Edit on GitHub

Last updated on

On this page