# Native select: Long content

> Long selected labels end with an ellipsis instead of running under the chevron.

Example: https://hextaui.com/docs/native-select/examples/long-content
Component docs: https://hextaui.com/docs/native-select.md

## Add this example

```bash
npx shadcn@latest add https://hextaui.com/r/native-select-long-content.json
```

This adds `components/examples/native-select/long-content.tsx` with the Native select component and the HextaUI theme tokens.

## Source

```tsx title="components/examples/native-select/long-content.tsx"
import { NativeSelect, NativeSelectOption } from "@/components/ui/native-select"

export function NativeSelectLongContent() {
  return (
    <div className="w-56 max-w-full">
      <NativeSelect
        aria-label="Billing account"
        defaultValue="long"
        className="w-full"
      >
        <NativeSelectOption value="short">Personal</NativeSelectOption>
        <NativeSelectOption value="long">
          The International Subsidiary Billing Account for Europe and Asia
        </NativeSelectOption>
      </NativeSelect>
    </div>
  )
}
```

## Props in this example

### NativeSelect

| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `className` | `string` | – | Applied to the wrapper, so it sizes the whole control. |
| `defaultValue` | `string` | – |  |

## More Native select examples

- [Groups](https://hextaui.com/docs/native-select/examples/groups.md)
- [Sizes](https://hextaui.com/docs/native-select/examples/sizes.md)
- [Field](https://hextaui.com/docs/native-select/examples/field.md)
- [Invalid](https://hextaui.com/docs/native-select/examples/invalid.md)
- [Disabled](https://hextaui.com/docs/native-select/examples/disabled.md)
- [Controlled](https://hextaui.com/docs/native-select/examples/controlled.md)
- [Right to left](https://hextaui.com/docs/native-select/examples/rtl.md)
