# Split button

A primary action with a menu of nearby alternatives.

- ID: `split-button`
- Import: `animui/split-button`
- Category: Actions
- Runtime exports: `SplitButton`, `default`
- Declaration: `types/free/components/split-button.d.ts`
- Type provenance: emitted-original-typescript
- Related: button, dropdown-menu, action-button, copy-button

```tsx
import { SplitButton } from 'animui/split-button';
```

This import example is not a complete render recipe: read the declaration below and its local references for required props, data, callbacks and provider context. Use `animui info split-button` to resolve the local declaration graph. Global setup is in `llms.txt`.

```ts
export { SplitButton, default } from '../registry/components/split-button/split-button.js';
export type { SplitButtonAction, SplitButtonProps } from '../registry/components/split-button/split-button.js';
```
