diff --git a/apps/website/docs/apis/checkbox.md b/apps/website/docs/apis/checkbox.md
index 5875b5f..193a36c 100644
--- a/apps/website/docs/apis/checkbox.md
+++ b/apps/website/docs/apis/checkbox.md
@@ -42,7 +42,7 @@ Other props are as follows:
The icon to display when the component is checked.
- Type: `ReactNode`
-- Default: ``, where `` is an icon component imported from [react-icons](https://www.npmjs.com/package/react-icons).
+- Default: ``, where `` is an icon component imported from [react-icons](https://www.npmjs.com/package/react-icons).
### `color`
@@ -71,7 +71,7 @@ This does not set the native input element to indeterminate due to inconsistent
The icon to display when the component is indeterminate.
- Type: `ReactNode`
-- Default: ``, where `` is an icon component imported from [react-icons](https://www.npmjs.com/package/react-icons).
+- Default: ``, where `` is an icon component imported from [react-icons](https://www.npmjs.com/package/react-icons).
### `label`
diff --git a/apps/website/docs/apis/icon-adapter.md b/apps/website/docs/apis/icon-adapter.md
index 299ab5e..581118b 100644
--- a/apps/website/docs/apis/icon-adapter.md
+++ b/apps/website/docs/apis/icon-adapter.md
@@ -5,6 +5,8 @@ title:
# IconAdapter API
+
+
API reference docs for the React IconAdapter component.
Learn about the props of this exported module.
diff --git a/apps/website/docs/components/button-group.mdx b/apps/website/docs/components/button-group.mdx
index 5820c61..78a7335 100644
--- a/apps/website/docs/components/button-group.mdx
+++ b/apps/website/docs/components/button-group.mdx
@@ -26,9 +26,7 @@ export function ButtonGroupBasics() {
-
-
-
+
@@ -38,12 +36,7 @@ export function ButtonGroupBasics() {
```jsx
-import {
- Button,
- ButtonGroup,
- IconAdapter,
- IconButton,
-} from 'tailwind-joy/components';
+import { Button, ButtonGroup, IconButton } from 'tailwind-joy/components';
import { MdSettings } from 'react-icons/md';
export function ButtonGroupBasics() {
@@ -54,9 +47,7 @@ export function ButtonGroupBasics() {
-
-
-
+
@@ -279,9 +270,7 @@ export function ButtonGroupDisabled() {
-
-
-
+
@@ -291,12 +280,7 @@ export function ButtonGroupDisabled() {
```jsx
-import {
- Button,
- ButtonGroup,
- IconAdapter,
- IconButton,
-} from 'tailwind-joy/components';
+import { Button, ButtonGroup, IconButton } from 'tailwind-joy/components';
import { MdSettings } from 'react-icons/md';
export function ButtonGroupDisabled() {
@@ -307,9 +291,7 @@ export function ButtonGroupDisabled() {
-
-
-
+
@@ -330,9 +312,7 @@ export function ButtonGroupSpacing() {
-
-
-
+
@@ -342,12 +322,7 @@ export function ButtonGroupSpacing() {
```jsx
-import {
- Button,
- ButtonGroup,
- IconAdapter,
- IconButton,
-} from 'tailwind-joy/components';
+import { Button, ButtonGroup, IconButton } from 'tailwind-joy/components';
import { MdSettings } from 'react-icons/md';
export function ButtonGroupSpacing() {
@@ -358,9 +333,7 @@ export function ButtonGroupSpacing() {
-
-
-
+
@@ -380,9 +353,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -390,9 +361,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -400,9 +369,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -410,9 +377,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -422,12 +387,7 @@ export function ButtonGroupVertical() {
```jsx
-import {
- Button,
- ButtonGroup,
- IconAdapter,
- IconButton,
-} from 'tailwind-joy/components';
+import { Button, ButtonGroup, IconButton } from 'tailwind-joy/components';
import { MdSettings } from 'react-icons/md';
export function ButtonGroupVertical() {
@@ -438,9 +398,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -448,9 +406,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -458,9 +414,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -468,9 +422,7 @@ export function ButtonGroupVertical() {
-
-
-
+
@@ -490,9 +442,7 @@ export function ButtonGroupStretching1() {
-
-
-
+
@@ -502,12 +452,7 @@ export function ButtonGroupStretching1() {
```jsx
-import {
- Button,
- ButtonGroup,
- IconAdapter,
- IconButton,
-} from 'tailwind-joy/components';
+import { Button, ButtonGroup, IconButton } from 'tailwind-joy/components';
import { MdSettings } from 'react-icons/md';
export function ButtonGroupStretching1() {
@@ -518,9 +463,7 @@ export function ButtonGroupStretching1() {
-
-
-
+
@@ -645,5 +588,4 @@ See the documentation below for a complete reference to all of the props availab
- [``](../apis/button)
- [``](../apis/button-group)
-- [``](../apis/icon-adapter)
- [``](../apis/icon-button)
diff --git a/apps/website/docs/components/button.mdx b/apps/website/docs/components/button.mdx
index 850feba..802aac7 100644
--- a/apps/website/docs/components/button.mdx
+++ b/apps/website/docs/components/button.mdx
@@ -247,24 +247,10 @@ import { MdAdd, MdKeyboardArrowRight } from 'react-icons/md';
export function ButtonDecorators() {
return (
-
-
-
-
- }
- >
+ }>
Go to checkout
@@ -274,30 +260,16 @@ export function ButtonDecorators() {
```jsx
-import { Button, IconAdapter } from 'tailwind-joy/components';
+import { Button } from 'tailwind-joy/components';
import { MdAdd, MdKeyboardArrowRight } from 'react-icons/md';
export function ButtonDecorators() {
return (
-
-
-
- }
- >
+ }>
Add to cart
-
-
-
- }
- >
+ }>
Go to checkout
@@ -355,15 +327,7 @@ export function ButtonLoadingPosition() {
Start
-
-
-
- }
- >
+ }>
End
@@ -373,7 +337,7 @@ export function ButtonLoadingPosition() {
```jsx
-import { Button, IconAdapter } from 'tailwind-joy/components';
+import { Button } from 'tailwind-joy/components';
import { MdSend } from 'react-icons/md';
export function ButtonLoadingPosition() {
@@ -382,15 +346,7 @@ export function ButtonLoadingPosition() {
Start
-
-
-
- }
- >
+ }>
End
@@ -412,24 +368,16 @@ export function IconButtonBasics() {
return (
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
);
@@ -438,43 +386,29 @@ export function IconButtonBasics() {
```jsx
-import { IconAdapter, IconButton } from 'tailwind-joy/components';
+import { IconButton } from 'tailwind-joy/components';
import { MdFavoriteBorder } from 'react-icons/md';
export function IconButtonBasics() {
return (
-
-
-
+
-
-
-
+
-
-
-
+
-
-
-
+
);
}
```
-:::info
-
-[``](./icon-adapter) is an original component of Tailwind-Joy.
-
-:::
-
## Anatomy
The Button component is composed of a single root `` element that wraps around its contents:
@@ -490,5 +424,4 @@ The Button component is composed of a single root `` element that wraps
See the documentation below for a complete reference to all of the props available to the components mentioned here.
- [``](../apis/button)
-- [``](../apis/icon-adapter)
- [``](../apis/icon-button)
diff --git a/apps/website/docs/components/checkbox.mdx b/apps/website/docs/components/checkbox.mdx
index 283a621..b1d7e8b 100644
--- a/apps/website/docs/components/checkbox.mdx
+++ b/apps/website/docs/components/checkbox.mdx
@@ -154,11 +154,7 @@ export function CheckboxIcons() {
-
-
- }
+ uncheckedIcon={}
/>
);
@@ -167,7 +163,7 @@ export function CheckboxIcons() {
```jsx
-import { Checkbox, IconAdapter } from 'tailwind-joy/components';
+import { Checkbox } from 'tailwind-joy/components';
import { MdClose } from 'react-icons/md';
export function CheckboxIcons() {
@@ -175,11 +171,7 @@ export function CheckboxIcons() {
-
-
- }
+ uncheckedIcon={}
/>
);
@@ -199,11 +191,7 @@ export function CheckboxAppearOnHover() {
-
-
- }
+ uncheckedIcon={}
className="[&:has(:checked)_svg]:opacity-100 [&:has(:focus-visible)_svg]:opacity-100 [&:hover_svg]:opacity-100 [&_svg]:opacity-0"
/>
@@ -213,7 +201,7 @@ export function CheckboxAppearOnHover() {
```jsx
-import { Checkbox, IconAdapter } from 'tailwind-joy/components';
+import { Checkbox } from 'tailwind-joy/components';
import { MdCheck } from 'react-icons/md';
export function CheckboxAppearOnHover() {
@@ -221,11 +209,7 @@ export function CheckboxAppearOnHover() {
@@ -518,4 +502,3 @@ Note that the actual `` is doubly nested within ``
See the documentation below for a complete reference to all of the props available to the components mentioned here.
- [``](../apis/checkbox)
-- [``](../apis/icon-adapter)
diff --git a/apps/website/docs/components/circular-progress.mdx b/apps/website/docs/components/circular-progress.mdx
index bfc11c2..9dabcdb 100644
--- a/apps/website/docs/components/circular-progress.mdx
+++ b/apps/website/docs/components/circular-progress.mdx
@@ -180,9 +180,7 @@ export function CircularProgressChildren() {
return (
-
-
-
+
2 / 3
@@ -191,9 +189,7 @@ export function CircularProgressChildren() {
color="danger"
className="[--CircularProgress-size:80px]"
>
-
-
-
+
);
@@ -202,16 +198,14 @@ export function CircularProgressChildren() {
```jsx
-import { CircularProgress, IconAdapter } from 'tailwind-joy/components';
+import { CircularProgress } from 'tailwind-joy/components';
import { MdWarning, MdReport } from 'react-icons/md';
export function CircularProgressChildren() {
return (