v1.5

Create UI 1.5.17

Visible keyboard focus, form fields that announce their help and errors, readable light themes, and four new component pages.

1.5.17 is mostly an accessibility release. Keyboard focus is visible where it was not, form fields announce their help text and errors, and text and borders hold their contrast in light themes. Copied components do not change on their own, so read "Before you upgrade" first.

For developers

Accessibility

  • Focus is visible. Tabs, Tab Menu, Stepper, Breadcrumb, Rating, Table, Chain of Thought, Slider, Chip and the items of Dropdown Menu, Select, Combobox, Context Menu and Input Tag now draw a focus ring. In Tailwind 4.1, outline-none also resets the outline style, so many rings never showed. Stepper, Rating and Table now use outline-strong instead of primary-base.
  • Field wires itself up. FieldLabel, FieldDescription, FieldHelper and FieldError connect to Input, Textarea and Select, in the server HTML too. Repeated parts get their own ids, and descriptions are read in the order they appear. A Select trigger is a button, so its label connects by aria-labelledby instead of for. New export: useFieldControl.
  • Placeholder and helper text use neutral-500 in light and neutral-400 in dark, to reach 4.5:1.
  • Status colors are darker in light mode. Success, warning, verified and away base and strong tokens move to the 700 and 800 steps. Solid success, warning, verified and away badges use 700, the solid success Button uses 700, and a loading Button keeps its resting fill.
  • New on-primary token for text on solid primary fills. On the lime, green, orange, yellow and cyan themes, that text and the loading spinner are near-black. Indigo, red and blue keep white.
  • New stroke-control token gives Input, Textarea, Select and unchecked Checkbox and Radio a neutral-500 resting border, for 3:1 against the page.
  • Icon-only controls get a name. App Store Badge and Social Login Button have a default accessible name in iconOnly mode. In development, an icon-only Button, Badge or Text Link without a name logs a warning once.
  • Chip: a clickable chip puts its lead and label in a native <button>. It announces pressed or not pressed only when you pass selected. The close control is named Remove <label> and has a hit area of at least 24px. A chip without onClick is not focusable.
  • Slider forwards aria-label and aria-labelledby to its thumbs. On a range, the thumbs read "minimum" and "maximum" after your label.
  • Stepper dots have a larger hit area that never covers the next dot. Tab Menu links rendered with asChild get aria-current="page" on the selected item.
  • Textarea no longer re-renders forever while it is hidden.

Components

  • Phone Input, Date Input and Credit Card Input take value and onChange, and work with React Hook Form through Controller. register works for submit only; use Controller when you need reset or setValue. Each has a new <name>-react-hook-form example.
  • Credit Card Input reports onValueChange only when the user types. It no longer fires on mount with defaultValue.
  • Date Input defaultValue also accepts an ISO string or YYYY-MM-DD. Its onValueChange reports typed changes only, not a default or a value you set from the parent.
  • Input OTP inside Field size="md" renders the lg slots instead of losing its size classes.
  • Toast never drops a queued danger toast unseen. It shows once a slot frees up, with its own countdown.
  • Checkbox Group and Switch Group disabled now disables the controls inside. Pass disabled={false} on a child to keep it interactive.
  • Pro Sidebar takes mobileBehavior="drawer", with mobileOpen and onMobileOpenChange. Below 768px it becomes a modal drawer that stays mounted, so menu state survives. The default, static, is unchanged.
  • Pro Tabs and Tab Menu keep their current look. In development, one without variant logs a one-time warning: the default changes from vertical-button to horizontal-line in 2.0, so pass variant to keep your look. A horizontal-line without indicator logs a second warning, because it will get the bottom line in 2.0.
  • overlay-10 (cookie consent block) starts with only Essential on, and adds a "Reject all" button.

Docs and AI

  • New pages: Country Flag, Credit Card Input, Date Input and Phone Input.
  • llms-full.txt now ships next to llms.txt. It holds every public docs page as one text file.
  • The component notes that AI assistants read are corrected for Chip, Radio Group, Tooltip, Info Tooltip, Toast, Dropdown Menu, Context Menu, and Pro Tabs and Tab Menu.

Before you upgrade

Copied components do not change on their own. These apply when you add a component again.

Markup that tests may rely on

  • Chip: the root no longer has role="button" and no longer takes focus. A clickable chip has an inner <button data-slot="chip-action">, and aria-label, aria-labelledby and aria-describedby move to it. ref.focus() on the root does nothing, and selectors like [data-slot=chip][role=button] stop matching. The close control is now a tab stop of its own.
  • Slider: aria-label goes to the thumbs, not the root. A test that finds the root with getByLabelText needs to look for the thumb.
  • Field: FieldLabel always renders a <label>. Input and Textarea get their id automatically and the label's for points at it. A Select trigger is named through aria-labelledby instead. All three get aria-describedby automatically. Your own id and aria-describedby are kept.
  • Button, Badge, Text Link: an iconOnly use without a name logs console.warn in development. Test setups that fail on warnings will flag it.
  • Pro Tabs and Tab Menu: a missing variant logs console.warn in development, as described above.
  • Checkbox Group and Switch Group: a disabled control is not submitted with a native form. If a form relied on a disabled group still sending its values, pass disabled={false} on the children.
  • Credit Card Input and Date Input: onValueChange reports typed changes only. Credit Card Input no longer fires it on mount with defaultValue, and Date Input does not fire it for a default or a value set from the parent. Code that read that first call as the initial value needs to read defaultValue instead.

Look

  • Form controls you add again get a darker resting border, and placeholder and helper text get darker in light mode.
  • On the lime, green, orange, yellow and cyan themes, text on solid primary fills turns near-black.
  • Status colors are darker in light mode, and solid success buttons and badges darken with them. Danger Button hover moves to red-700.

For designers

  • The Figma kit does not change in this release.
  • What you will see on the site and in freshly added code:
    • Text on solid primary uses on-primary: white on indigo, red and blue, near-black on lime, green, orange, yellow and cyan.
    • Form control borders use stroke-control: neutral-500 in light and dark.
    • Placeholder text moves one step: neutral-500 in light, neutral-400 in dark.
    • Success, warning, verified and away use the 700 and 800 steps in light mode, and solid badges use 700.
    • Keyboard focus rings use outline-strong on Stepper, Rating and Table.

On the site

  • The cookie notice appears once more, where consent is required, for visitors who answered it before. The cookie policy now lists our own first-touch and last-touch cookies, cui_ft (90 days) and cui_lt (30 days). Privacy and cookie policy pages show a new "Last updated" date.
  • The docs use a full-width frame with a centered 1120px content column.
  • Wide prop tables scroll, close buttons, breadcrumbs and the table of contents have larger hit areas, and the 404 page has its own page background.

Also shipped since 1.5

Releases 1.5.10 to 1.5.16 had no changelog page. This is what reached the site and docs.

  • Social Login Button shows "GitLab" with the right capitalization, and its icon-only demos name each brand correctly.
  • The site runs on Next.js 16.4.6, a security update.
  • The site shows a cookie notice on the first visit and asks before loading Google Analytics, Google Ads or Microsoft Clarity where consent is required. A "Cookie settings" link in the footer reopens the choice.
  • Hotjar is gone, and Clarity masks account and sign-in pages in its recordings.
  • The privacy and cookie policy pages were rewritten.