Skip to main content

Public exports

Import components from silva-ui. Types are exported from the same root entry point.

Core

Theme, tokens, sprinkles, cls, splitSprinklesProps, toSprinklesClass, gradients, animations, colorScales, darkColorScales, colorTokens, darkColorTokens. Theme data and helpers: themeColors, lightTheme, darkTheme, emeraldTheme, emeraldDarkTheme, midnightTheme, themes, themeDefinitions, addTheme, getTheme, getThemes, replaceTheme, updateTheme, applyThemeTemplate, buildThemeSet, createThemes.

Layout and typography

Forms and display

Overlay families

For component prop types, import the matching *Props type, for example ButtonProps, ThemeProps, DialogContentProps or CreateThemesOptions.