Page UI logo

Landing Leading Pill components

The LandingLeadingPill is a versatile inline component perfect for announcements, badges, feature highlights, and call-to-action elements. It features SVG-based borders for all variants ensuring perfect rounded corners, supports multiple color variants including rainbow gradients, glass backgrounds, and can be made clickable as either a link or button. It also supports left and right components, custom text components, children, and custom opacity.

Key Features:

  • Rainbow gradient borders with smooth color transitions
  • Glass background effects with backdrop blur
  • Flexible content support
  • Clickable variants (link or button)
  • Responsive design with proper dimension handling

These work well together with LandingPrimaryImageCtaSection, LandingPrimaryTextCtaSection, LandingPrimaryVideoCtaSection, LandingProductFeature, LandingProductVideoFeature as the leadingComponent prop.

Latest integration is here

Usage

import { LandingLeadingPill } from '@/components/landing/leading/LandingLeadingPill';
<LandingLeadingPill
  text="New Feature"
  borderVariant="primary"
  textVariant="primary"
/>

Full Examples

News Announcement

NewLatest integration is here

With Announcement & Notification

Latest integration is here

With Announcement & Read More

Latest integration is hereRead More →

With Clean Icon

Made for you

With Clean Background

Made for you

With Icon and Background

Made for you

With Clean End Arrow

Latest integration is here

With Clean Read More

Latest integration is hereRead More →

With Icon and Read More

Latest integration is hereRead More →

With Start Emoji

🎉Latest integration is here

With Stand Out Border and Badge

NewLatest integration is here

With Modern Glass Background

Latest integration is here

With Primary CTA

Best generator

Landing page in minutes

Get 10x more done with Shadcn UI, React & Next.js, and say goodbye to repetitive tasks. You'll never go back.

Sample image

With Product Feature

Join today

The wait is over

Give your project the home it deserves. Your users will love you for it.

Sample image

Variant Examples

Basic Border Variants

All borders are now rendered using SVG for perfect consistency and rounded corners.

Default
Primary
Secondary
Light Gray
Dark Gray

Rainbow Gradient Border Variants

Rainbow borders use SVG gradients with smooth color transitions and automatic white/black text for optimal contrast.

Pink Rainbow
Purple Rainbow
Yellow Rainbow
Green Rainbow

Text Variants

Default Text
Primary Text
Secondary Text

Background Variants

Default BG
Primary BG
Secondary BG
Glass
Primary Glass
Secondary Glass

Text Styling

capitalized text
uppercase text

With Left and Right Components

New Feature
Get Started
🚀Version 2.0

Clickable Pills

API Reference

Prop NameProp TypeRequiredDefault
className stringNo-
textVariant 'default' | 'primary' | 'secondary' | 'lightGray' | 'darkGray' | 'white' | 'black'No'default'
borderVariant 'default' | 'primary' | 'secondary' | 'lightGray' | 'darkGray' | 'pinkRainbow' | 'purpleRainbow' | 'yellowRainbow' | 'greenRainbow'No'default'
backgroundVariant 'default' | 'primary' | 'secondary' | 'glass' | 'primaryGlass' | 'secondaryGlass'No'default'
withBackground booleanNofalse
withBorder booleanNotrue
borderWidth numberNo1
text stringNo-
textComponent React.ReactNodeNo-
children React.ReactNodeNo-
textStyle 'default' | 'capitalize' | 'uppercase'No'default'
leftComponent React.ReactNodeNo-
rightComponent React.ReactNodeNo-
href stringNo-
onClick () => voidNo-

More Examples

For more even more examples, see our Landing Page Component Examples page or see complete landing page examples by Exploring Our Landing Page Templates.

Also see: