# Icon box split (B 080)

Category: Buttons  
Tags: icon, arrow, boxed-icon, two-part  
Page: https://designforai.dev/snippet/btn-080

## Prompt

A rose #e11d48 button, 44px tall, white 14px semibold text with 20px left padding, and a darker boxed section on the right (20% black overlay, 12px horizontal padding) holding a 16px inline SVG diagonal arrow. On hover the button darkens to #be123c and the arrow shifts 2px up-right. Active #9f1239. 8px radius. Focus outline 2px rose.

## HTML

```html
<button class="btn-080">Book a call<span><svg viewBox="0 0 24 24" width="16" height="16" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M7 17L17 7M8 7h9v9"/></svg></span></button>
```

## CSS

```css
.btn-080 {
  display: inline-flex;
  align-items: stretch;
  font: 600 14px/1 system-ui,sans-serif;
  color: #fff;
  background: #e11d48;
  border: 0;
  border-radius: 8px;
  padding: 0 0 0 20px;
  cursor: pointer;
  overflow: hidden;
  transition: background .15s
}
.btn-080 span {
  display: grid;
  place-items: center;
  margin-left: 16px;
  padding: 0 12px;
  background: rgba(0,0,0,.2);
  transition: background .15s
}
.btn-080 span svg {
  transition: transform .2s
}
.btn-080 {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 44px
}
.btn-080:hover {
  background: #be123c
}
.btn-080:hover span svg {
  transform: translate(2px,-2px)
}
.btn-080:focus-visible {
  outline: 2px solid #e11d48;
  outline-offset: 3px
}
.btn-080:active {
  background: #9f1239
}
```
