Feature Tabs

Tabbed feature showcase

Marketing BlockFeatures

Overview

Displays a set of feature tabs, each with a title, description, optional bullet list, image, and CTA. Supports three visual styles (bar, pills, accordion) and an optional auto-rotation timer.

Usage

import { FeatureTabs } from "@leanicon/web-builder-library";

Bar variant (default)

Full-width tab strip with bordered triggers.

Powerful Analytics

Understand your users with real-time dashboards and in-depth reporting tools that help you make data-driven decisions.

Explore analytics
  • Real-time dashboards with custom widgets
  • Funnel analysis and conversion tracking
  • Exportable reports in PDF and CSV
Analytics dashboard

Bar — sharp corners

Powerful Analytics

Understand your users with real-time dashboards and in-depth reporting tools.

  • Real-time dashboards
  • Funnel analysis
  • Exportable reports
Analytics dashboard

Bar — auto-rotating

Set autoRotate with a rotationInterval (in ms) to cycle through tabs automatically.

Powerful Analytics

Real-time dashboards and reporting tools.

Analytics dashboard

Bar — auto-rotating with fill progress

Set progressStyle="fill" to use the progress as a background fill on the active tab instead of a bottom bar.

Powerful Analytics

Real-time dashboards and reporting tools.

Analytics dashboard

Pills variant

Centered pill buttons with an optional section header.

Put AI to work

No matter the team, and no matter the task, our platform frees your teams to focus on the work that propels your business forward.

Powerful Analytics

Understand your users with real-time dashboards and in-depth reporting tools.

  • Real-time dashboards with custom widgets
  • Funnel analysis and conversion tracking
  • Exportable reports in PDF and CSV
Explore analytics
Analytics dashboard

Pills — sharp corners

Put AI to work

Powerful Analytics

Real-time dashboards and reporting.

Analytics dashboard

Accordion variant

Vertical accordion list on the right, image panel on the left.

Our models. All business.

Understand your users with real-time dashboards and in-depth reporting tools.

  • Real-time dashboards with custom widgets
  • Funnel analysis and conversion tracking
  • Exportable reports in PDF and CSV
Explore analytics
Analytics dashboard

Accordion — auto-rotating

Auto-rotation works on the accordion variant too. A progress bar appears on the active item's top border. Clicking any tab stops auto-rotation.

Our models. All business.

Understand your users with real-time dashboards and in-depth reporting tools.

  • Real-time dashboards with custom widgets
  • Funnel analysis and conversion tracking
Analytics dashboard

Bar — dark mode

Powerful Analytics

Real-time dashboards and in-depth reporting tools.

Explore analytics
  • Real-time dashboards
  • Funnel analysis
  • Exportable reports
Analytics dashboard

Pills — dark mode

Put AI to work

No matter the team, our platform frees your teams to focus on the work that propels your business forward.

Powerful Analytics

Real-time dashboards and reporting.

  • Custom widgets
  • Funnel analysis
  • PDF/CSV export
Explore analytics
Analytics dashboard

Accordion — dark mode

Our models. All business.

Real-time dashboards and in-depth reporting.

  • Custom widgets
  • Funnel analysis
  • PDF/CSV export
Explore analytics
Analytics dashboard

Variants

Variant

Description

bar

Full-width tab strip with bordered triggers (Apollo.io style)

pills

Centered pill buttons with optional section header

accordion

Vertical accordion list on the right; image panel on the left

Props

Prop

Type

Default

Description

tabs

FeatureTab[]

—

Array of tab data (required)

variant

"bar" | "pills" | "accordion"

"bar"

Visual style

sectionHeader

SectionHeader?

—

Heading + optional subheading above the tabs

autoRotate

boolean

false

Auto-cycle through tabs

rotationInterval

number

5000

Interval in ms between auto-rotations

transitionDuration

number

300

Transition animation duration in ms

progressStyle

"bar" | "fill"

"bar"

Auto-rotate progress: bottom bar or background fill

corners

"rounded" | "sharp"

"rounded"

Border-radius style for triggers and images

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

FeatureTab

Field

Type

Description

label

string

Tab trigger text (required)

title

string

Panel heading (required)

description

string

Panel description (required)

features

(string | FeatureBulletItem)[]?

Bullet checklist

image

ImageProps?

Panel image

cta

CTAButton?

Call-to-action button

Notes

  • Auto-rotation works on all three variants. The accordion shows a progress bar on the active item's top border.
  • Auto-rotation stops permanently when the user manually clicks any tab.
  • corners="sharp" affects both the tab triggers and the panel images.
  • Dark mode: pass colorScheme="dark" or place inside a .dark ancestor.

Props

NameTypeDefaultRequiredDescription
variantenumbarNo
tabsFeatureTab[]—Yes
sectionHeaderSectionHeader—No
autoRotatebooleanfalseNo
rotationIntervalnumber5000No
transitionDurationnumber300No
progressStyleenumbarNo
cornersenumroundedNo
colorSchemeenum—No
classNamestring—No