BF2025UIRelease 3.0.0
The forth release of Intent UI. It includes all the components and utilities that you need to build your next project.
Introduction
Almost every component has been rewritten. This release improves the developer experience and introduces a more consistent API across components. You may also notice that v3 is slightly more compact than v2, with improved usability on mobile devices.
New component
What's change
- Upgraded to the latest versions of React Aria Components and Tailwind CSS.
- Removed legacy size values (
square-petite,extra-small,small,medium,large) from thesizeprop inButtonandToggle. Now usingxs,sm,md,lg, andsq-[xs, sm, md, lg]. - Removed legacy size values (
small,medium,large,extra-largefrom thesizeprop inAvatar. Now usingxs,sm,md,lg,xl. - Removed the
shapeprop fromButton,Badge,Tag, andToggle. Use theisCircleprop instead. - Removed
focusRingandfocusStylesfromprimitive.ts—they are no longer used. classNamesremove for bothSheetandModalcomponents. Now, you can use theclassNameprop to customize the styles on theModal.ContentandSheet.Contentcomponents.- We make default
gap=0andcolumns=1forChoiceboxcomponent. - Add
LoadertoFileTriggerwhen the pending state is true. - We no longer use Compound Pattern in
Tabscomponent. Instead, we use a more straightforward approach withTabs,TabList,Tab, andTabPanelcomponents. - We also remove
motionfromTabscomponent, so you can use any animation library you prefer or leave it unanimated. - The
Chartcomponent has been completely rewritten to use the latest version of Recharts (v3).
Toggle Group
The ToggleGroup component has been introduced to provide a more intuitive way for users to switch between multiple options, supporting both single and multi-selection modes.
Button
The Button component has undergone significant changes, including the removal of the shape prop and the introduction of the isCircle prop. The size values have also been updated to be more concise.
Toggle
The Toggle component has been updated to use the new size values and the isCircle prop. The shape prop has been removed.
CheckBox and Radio
We’ve improved the user experience on Checkbox, CheckboxGroup, and RadioGroup by allowing direct use of Label and Description components inside them. This gives you more flexibility to customize content. If you prefer using the label and description props, they’re still fully supported.
Component "controls/checkbox-group/switch-description-demo" not found in the registry.
Switch
The Switch component now supports descriptions. You can use the label and description props, or use the Label and Description components directly—both approaches work.
Charts
We've completely rewritten the charts to use recharts v3. We're also introducing dedicated components for common chart types: AreaChart, BarChart, LineChart, and PieChart.
Area Chart
Bar Chart
Line Chart
Pie Chart
Primitive
We also now changes the composeTailwindRenderProps to accept ClassNameValue, so you might want to update it manually if you already have one.