# Split-Action (B 089)

Kategorie: Buttons  
Tags: split, dual, dropdown, solid  
Seite: https://designforai.dev/de/snippet/btn-089

## Prompt

Ein Split-Button: ein Haupt-Segment in Indigo #4f46e5 "Save" (weißer Text 14px semibold, 12px mal 18px Padding), verbunden mit einem schmaleren rechten Segment mit 14px Chevron-down SVG, getrennt durch eine 1px Linie in 25% Weiß, alles in einem Container mit 8px Radius und Schatten 0 1px 2px rgba(0,0,0,.15). Jede Hälfte hovert unabhängig auf #4338ca und drückt auf #3730a3. Fokus-Outline 2px Indigo.

## HTML

```html
<div class="btn-089"><button>Save</button><button aria-label="More options"><svg viewBox="0 0 24 24" width="14" height="14" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 9l6 6 6-6"/></svg></button></div>
```

## CSS

```css
.btn-089 {
  display: inline-flex;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.15)
}
.btn-089 button {
  font: 600 14px/1 system-ui,sans-serif;
  color: #fff;
  background: #4f46e5;
  border: 0;
  padding: 12px 18px;
  cursor: pointer;
  transition: background .15s
}
.btn-089 button+button {
  padding: 12px 10px;
  border-left: 1px solid rgba(255,255,255,.25);
  display: grid;
  place-items: center
}
.btn-089 button:hover {
  background: #4338ca
}
.btn-089 button:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
  position: relative;
  z-index: 1
}
.btn-089 button:active {
  background: #3730a3
}
```
