@sanity/ui
The Sanity UI components.
npm install @sanity/ui
# Install peer dependencies
npm install react react-dom react-is styled-components
Usage
import {Button, ThemeProvider, studioTheme} from '@sanity/ui'
import {createRoot} from 'react-dom/client'
const root = createRoot(document.getElementById('root'))
root.render(
<ThemeProvider theme={studioTheme}>
<Button text="Hello, world" />
</ThemeProvider>,
)
License
MIT-licensed. See LICENSE.