Tabs Generator

Create tabbed interface components with active states

Tabs

Position

Styling

16px
12px
8px
14px
500

Presets

Live Preview

Content for tab 1

Generated CSS

.tabs-container {
  display: flex;
  flex-direction: column;
}

.tabs-list {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 16px;
  margin-right: 0;
  margin-left: 0;
  margin-top: 0;
}

.tab-button {
  padding: 12px 16px;
  background: #e5e7eb;
  color: #6b7280;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.tab-button:hover {
  background: #d1d5db;
}

.tab-button.active {
  background: #3b82f6;
  color: white;
}

.tab-content {
  flex: 1;
  padding: 16px;
}