Skip to content
menu palettetanreidark_modetranslate

Color mode

Contrast

Design system

Showcase systems imitate other design systems to show how far Tanrei can go. They are examples, not designs Tanrei supports.

Copy linkEdit theme
palettetanrei

Color mode

Contrast

Design system

Showcase systems imitate other design systems to show how far Tanrei can go. They are examples, not designs Tanrei supports.

Copy linkEdit theme
Getting startedWebReactSwiftUIJetpack ComposeFlutterReact NativePresetsYour own design systemUsing Tanrei with AI agentsBrandDesign tokensDesign systems and customizationTheme StudioColorTypographyIconsShapeElevationMotionInteraction statesBehaviourLayoutSize and densityAccessibilityWordsColor tokensTypescale tokensShape tokensElevation tokensMotion tokensState tokensSpace and measure tokensComponentsButtonMain action buttonSegmented buttonShipped by cupertino, m3-likeButton groupButton with menuToolbarCopy buttonCheckboxRadio buttonSwitchChipMenuSliderSlider fieldCalendarDateTimePickerField groupRadio groupCheckbox groupSelectSelect fieldMenubarFile uploadFile picker AdvancedDrop zoneRatingText input AdvancedText fieldChip fieldFieldCombobox AdvancedCombobox fieldNumber input AdvancedNumber fieldColor input AdvancedColor fieldOne-time-code input AdvancedOne-time-code fieldEmbedded text input AdvancedChat composerCardDividerModal layer AdvancedDialogListList rowBottom sheetSide sheetCarouselCode blockTablePopoverStepsAccordionDescription listFigureApp shellPage headerTree viewTimelineImage previewHandleResizable frameSplit viewScroll areaSize transitionBadgeProgress indicatorMeterNumber tickerLoading indicatorSnackbarTooltipKeyboard shortcutTagInline codeCalloutAvatarEmpty stateTag groupSkeletonFile itemSwatchMarquee textTabsTab viewApp barNavigation barNavigation drawerSearchLinkPaginationPrevious and next linksStepperBreadcrumbsTable of contentsLink cardFAB menuShipped by m3-likeStatusHow Tanrei is builtContributingLicense and attribution
HomeToken referenceElevation tokens

Elevation tokens

The six elevation levels as composite shadow values for light and dark.

content_copyView as Markdown

Composite shadows under tanrei.sys.elevation. The first layer of every level above zero is the hairline ring. For guidance, read Elevation.

level0
level1
level2
level3
level4
level5
Token Light Dark
--tanrei-sys-elevation-level0
--tanrei-sys-elevation-level1
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 0px 0px 1px rgb(0 0 0 / 0.08)
--tanrei-sys-elevation-level2
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 1px 2px 0px rgb(0 0 0 / 0.04)
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 1px 2px 0px rgb(0 0 0 / 0.04)
--tanrei-sys-elevation-level3
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 1px 1px 0px rgb(0 0 0 / 0.04)
0px 4px 8px -4px rgb(0 0 0 / 0.04)
0px 16px 24px -8px rgb(0 0 0 / 0.06)
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 1px 1px 0px rgb(0 0 0 / 0.04)
0px 4px 8px -4px rgb(0 0 0 / 0.04)
0px 16px 24px -8px rgb(0 0 0 / 0.06)
--tanrei-sys-elevation-level4
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 1px 1px 0px rgb(0 0 0 / 0.04)
0px 8px 16px -4px rgb(0 0 0 / 0.04)
0px 24px 32px -8px rgb(0 0 0 / 0.06)
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 1px 1px 0px rgb(0 0 0 / 0.04)
0px 8px 16px -4px rgb(0 0 0 / 0.04)
0px 24px 32px -8px rgb(0 0 0 / 0.06)
--tanrei-sys-elevation-level5
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 8px 24px -12px rgb(0 0 0 / 0.12)
0px 8px 32px -12px rgb(0 0 0 / 0.06)
0px 32px 72px -12px rgb(0 0 0 / 0.06)
0px 0px 0px 1px rgb(0 0 0 / 0.08)
0px 8px 24px -12px rgb(0 0 0 / 0.12)
0px 8px 32px -12px rgb(0 0 0 / 0.06)
0px 32px 72px -12px rgb(0 0 0 / 0.06)

Generated from design/tokens/tanrei.light.tokens.json, design/tokens/tanrei.dark.tokens.json, tokens/sys/elevation.tokens.json