@sanity/ui
TypeScript icon, indicating that this package has built-in type declarations

1.3.3 • Public • Published

@sanity/ui

The Sanity UI components.

npm install @sanity/ui

# Install peer dependencies
npm install react react-dom react-is styled-components

npm version

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.

Install

npm i @sanity/ui

DownloadsWeekly Downloads

97,510

Version

1.3.3

License

MIT

Unpacked Size

2.74 MB

Total Files

546

Last publish

Collaborators

  • pauloborgesf
  • binoy14
  • simen.svale
  • benjaminakar
  • svirs
  • josh_sanity_io
  • joneidejohnsen
  • nina.andal
  • rankers
  • snorreeb
  • mattcraig
  • vincentquigley
  • stipsan
  • michael-sanity
  • rubioz
  • tonina
  • ritasdias
  • simeonsanity
  • kmelve
  • bjoerge
  • rexxars
  • skogsmaskin
  • robinpyon
  • mariuslundgard
  • sanity-io
  • evenw
  • radhe_sanity
  • rbotten
  • vicbergquist
  • judofyr
  • obliadp
  • dcilke
  • fredcarlsen
  • hermanw
  • mikolajsanity
  • sgulseth
  • atombender