Skip to content
Theme UI
GitHub
  • Getting Started
  • Theming
  • The sx Prop
  • Styling MDX
  • Color Modes
  • Themed
  • MDX Components
  • Hooks
  • API
  • Theme Specification
  • Customize
  • Demo
  • Resources
  • Components
  • Packages
    • @theme-ui/core
    • @theme-ui/components
    • @theme-ui/mdx
    • @theme-ui/presets
    • @theme-ui/prism
    • @theme-ui/color
    • @theme-ui/style-guide
    • @theme-ui/editor
    • gatsby-plugin-theme-ui
    • gatsby-theme-style-guide
    • gatsby-theme-ui-blog
    • @theme-ui/typography
    • @theme-ui/match-media
    • @theme-ui/sidenav
    • @theme-ui/tachyons
    • @theme-ui/tailwind
  • Guides
  • Recipes
  • Migrating
  • GitHub

@theme-ui/core

Core Emotion and JSX implementation for Theme UI

https://theme-ui.com

npm i @theme-ui/core

Usage

This package is already included in the main theme-ui package. However, for a minimal installation, it's possible to install this standalone and then subsequently install only the packages you require.

API

  • jsx
  • Context
  • useThemeUI
  • merge
  • ThemeProvider

Entry point /jsx-runtime

  • jsx
  • jsxs

Entry point /jsx-dev-runtime

  • jsxDEV
Edit the page on GitHub
Previous:
Packages
Next:
@theme-ui/components