Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/v4/content/docs/components/radix/chart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ This prop adds keyboard access and screen reader support to your charts.
To enable RTL support in shadcn/ui, see the [RTL configuration guide](/docs/rtl).

<ComponentPreview
styleName="base-nova"
styleName="radix-nova"
name="chart-rtl"
direction="rtl"
previewClassName="h-92"
Expand Down
22 changes: 11 additions & 11 deletions apps/v4/content/docs/components/radix/combobox.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ links:
---

<ComponentPreview
styleName="base-nova"
styleName="radix-nova"
name="combobox-demo"
description="A combobox with a list of frameworks."
/>
Expand Down Expand Up @@ -44,7 +44,7 @@ npm install @base-ui/react
<ComponentSource
name="combobox"
title="components/ui/combobox.tsx"
styleName="base-nova"
styleName="radix-nova"
/>

<Step>Update the import paths to match your project setup.</Step>
Expand Down Expand Up @@ -256,55 +256,55 @@ export function ExampleComboboxMultiple() {

A simple combobox with a list of frameworks.

<ComponentPreview styleName="base-nova" name="combobox-basic" />
<ComponentPreview styleName="radix-nova" name="combobox-basic" />

### Multiple

A combobox with multiple selection using `multiple` and `ComboboxChips`.

<ComponentPreview styleName="base-nova" name="combobox-multiple" />
<ComponentPreview styleName="radix-nova" name="combobox-multiple" />

### Clear Button

Use the `showClear` prop to show a clear button.

<ComponentPreview styleName="base-nova" name="combobox-clear" />
<ComponentPreview styleName="radix-nova" name="combobox-clear" />

### Groups

Use `ComboboxGroup` and `ComboboxSeparator` to group items.

<ComponentPreview styleName="base-nova" name="combobox-groups" />
<ComponentPreview styleName="radix-nova" name="combobox-groups" />

### Custom Items

You can render a custom component inside `ComboboxItem`.

<ComponentPreview styleName="base-nova" name="combobox-custom" />
<ComponentPreview styleName="radix-nova" name="combobox-custom" />

### Invalid

Use the `aria-invalid` prop to make the combobox invalid.

<ComponentPreview styleName="base-nova" name="combobox-invalid" />
<ComponentPreview styleName="radix-nova" name="combobox-invalid" />

### Disabled

Use the `disabled` prop to disable the combobox.

<ComponentPreview styleName="base-nova" name="combobox-disabled" />
<ComponentPreview styleName="radix-nova" name="combobox-disabled" />

### Auto Highlight

Use the `autoHighlight` prop to automatically highlight the first item on filter.

<ComponentPreview styleName="base-nova" name="combobox-auto-highlight" />
<ComponentPreview styleName="radix-nova" name="combobox-auto-highlight" />

### Popup

You can trigger the combobox from a button or any other component by using the `render` prop. Move the `ComboboxInput` inside the `ComboboxContent`.

<ComponentPreview styleName="base-nova" name="combobox-popup" />
<ComponentPreview styleName="radix-nova" name="combobox-popup" />

### Input Group

Expand Down
Loading