ui
ui copied to clipboard
UI building blocks for Sanity.
Hello, it would be nice if the [website](https://www.sanity.io/ui) have a navigable way to the see the icons. Examples: - [react-icons](https://react-icons.github.io/react-icons/) - [heroicons](https://heroicons.com/)
The [`textinput`](https://github.com/sanity-io/design/edit/next/packages/@sanity/ui/src/primitives/textInput/textInput.tsx) [clear field button](https://github.com/sanity-io/design/blob/next/packages/%40sanity/ui/src/primitives/textInput/textInput.tsx#L293-L303) does not have a label. Maybe we can hardcode `aria-label="Clear field"`, or make the label a prop with a sensible default?
Hello, do you think it would make sense to add a NumberInput Component to the sanity/ui primitives? ATM i would use the TextInput component, which accepts a `type="number"` prop. But...
While using a card component, inputting any single number over 9 as a property for padding breaks the functionality. This works fine - padding is as expected: ``` Some content...
Steps to reproduce: 1. Open https://www.sanity.io/ui/docs/component/dialog 2. After the `Content` line in the editor, add `` 3. Click "Open dialog" 4. Press Esc (or Tab to focus the close button,...
Looking at https://www.sanity.io/ui/docs/primitive/button, the contrast ratio between text and background color for the "Publish" button does not seem high enough to meet [WCAG 2.0 criterion 1.4.3](https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast), i.e. at least 4.5:1...
Rendering 1000 plus items with svg icons in a menu list component freezes the ui on load and scrolling and the selector is pretty much unusable. Needs to be some...
### Description Draft PR to keep track of `styled-components@v6` as it implements interesting react 18 APIs such as `useInsertionEffect` hook. If it turns stable before studio v3 GA we might...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://togithub.com/actions/setup-node) | action | digest | `2fddd88` -> `969bd26` | ---...
[](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/cache](https://togithub.com/actions/cache) | action | digest | `fd5de65` -> `56461b9` | ---...