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

children?Node[]

Children nodes

style?Style

Styling properties for this container

tw?string

Tailwind classes for this container node

Text

A text node displays text.

Prop

Type

Description

textstring

Text content to be displayed

style?Style

Styling properties for this container

tw?string

Tailwind classes for this container node

Image

An image node displays rasterized or svg images.

Prop

Type

Description

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

style?Style

Styling properties for this container

tw?string

Tailwind classes for this container node

Style Properties

PropertyProperty ExpandedSupported Values
displayflex, grid, block, inline
positionrelative, absolute
widthSupported
heightSupported
maxWidthSupported
maxHeightSupported
minWidthSupported
minHeightSupported
aspectRatioSupported
paddingpaddingTop, paddingRight, paddingBottom, paddingLeftSupported
marginmarginTop, marginRight, marginBottom, marginLeftSupported
insettop, right, bottom, leftSupported
borderborderWidth (borderTopWidth, borderRightWidth, borderBottomWidth, borderLeftWidth), borderColorOnly solid style is supported
borderRadiusborderTopLeftRadius, borderTopRightRadius, borderBottomRightRadius, borderBottomLeftRadiusSupported
flexflexBasisSupported
flexGrowSupported
flexShrinkSupported
FlexboxflexDirectionSupported
justifyContentSupported
justifySelfSupported
alignContentSupported
justifyItemsSupported
alignItemsSupported
alignSelfSupported
justifySelfSupported
flexWrapnowrap, wrap, wrap-reverse
gapSupported
objectFitSupported
objectPositionSupported
overflowoverflowX, overflowYvisible, hidden
BackgroundbackgroundImagelinear-gradient(), radial-gradient(), noise-v1(), url()
backgroundPositionSupported
backgroundSizeSupported
backgroundRepeatSupported
backgroundColorSupported
boxShadowSupported
ClipclipPathinset(), circle(), ellipse(), polygon(), path()
clipRuleSupported
MaskmaskImageSupported
maskSizeSupported
maskPositionSupported
maskRepeatSupported
transformtranslateOnly 2D is supported
rotate
scale
transformOriginSupported
GridgridAutoColumnsSupported
gridAutoRowsSupported
gridAutoFlowSupported
gridColumnSupported
gridRowSupported
gridTemplateColumnsSupported
gridTemplateRowsSupported
gridTemplateAreasSupported
TypographytextOverflowellipsis, clip, custom character
textTransformnone, uppercase, lowercase, capitalize
fontStyleSupported
colorSupported
textShadowSupported
fontSizeSupported
fontFamilyFont fallback supported
lineHeightSupported
fontWeightSupported
fontVariationSettingsSupported
fontFeatureSettingsSupported
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>
textWrapModewrap, nowrap
textWrapwrap, nowrap
whiteSpaceCollapsepreserve, collapse, preserve-spaces, preserve-breaks
boxSizingSupported
opacitySupported
imageRenderingauto, smooth, pixelated
filterExcept blur() and drop-shadow()
WebkitTextStrokeWebkitTextStrokeWidth, WebkitTextStrokeColorSupported
textDecorationtextDecorationLineunderline, line-through, overline
textDecorationColorSupported
Edit on GitHub

Last updated on