Skip to content
Yoltra 0.4 is in preview — APIs may change before 1.0.
YoltraYoltra
DocsAPIDemosGitHub
TSPyDS

Functions

applyThemeBadgeButtonButtonGroupButtonLinkCalloutCardCheckboxCodeBlockContainerContextMenuDialogDividerDrawerEmptyStateFieldsetFormFieldGridHeadingIconButtonInlineInlineCodeInputKbdLinkMenuMenuItemMenuSeparatorPopoverPortalRadioRadioGroupresolvePlacementSelectSkeletonSliderSpinnerStackSwitchTableTabsTBodyTDTextTextareaTHTHeadthemeCssThemeProviderTooltipTRuseThemeVisuallyHidden

Interfaces

AnchoredSurfacePropsAnchoredTriggerPropsBadgePropsButtonGroupPropsButtonLinkPropsButtonPropsCalloutPropsCardPropsCodeBlockPropsColorScaleContainerPropsContextMenuPropsDialogPropsDividerPropsDrawerPropsEmptyStatePropsFieldControlPropsFieldsetPropsFlowPropsFontStyleTokenFontTokensFormFieldPropsFoundationTokensGridPropsHeadingPropsIconButtonPropsInlinePropsInputPropsLinkPropsMenuItemPropsMenuPropsModalSurfacePropsPaletteTokensPlacementInputPlacementResultPointPopoverPropsPortalPropsRadioGroupPropsRectSelectPropsSemanticColorTokensSkeletonPropsSliderPropsSpinnerPropsTabItemTabsPropsTextareaPropsTextPropsThemeContextValueThemeTokensTogglePropsTooltipPropsTooltipTriggerPropsVisuallyHiddenProps

Type Aliases

AlignAlignmentButtonSizeButtonVariantCalloutKindCardElevationCheckboxPropsCSSLengthDialogSizeDrawerSideFieldSizeJustifyPlacementRadioPropsSideSpaceTokenStackPropsSwitchPropsTextSizeTextToneThemeId

Variables

darkThemefoundationTokenslightThemethemes

ButtonProps

interface
primitives/Button.tsx:14

extends ButtonHTMLAttributes<HTMLButtonElement>

Properties

NameTypeDescription
childrenReactNode
size?ButtonSize
variant?ButtonVariant

On this page

  • children
  • size
  • variant

© 2026 Yoltra · MIT · Built with Yoltra.