Featured Icon

Stable

Decorative icon containers used to visually highlight icons in feature sections, empty states, and modal headers. Available in 6 theme variants with brand, gray, and semantic color options.

Installation

You can add this component using our CLI or manually:

$npx omnira-ui@latest add featured-icon

Light Theme

Soft, light-colored background with a brand-colored icon. Subtle and minimal.

Light — All Colors

Gradient Theme

Background uses a gradient wash for more visual depth than the light theme.

Gradient — All Colors

Dark Theme

Inverted color scheme — dark/solid background with lighter icon rendering. High contrast.

Dark — All Colors

Outline Theme

Transparent background with a visible border ring. Clean, line-based aesthetic.

Outline — All Colors

Modern Theme

Card-style container with subtle border and shadow. Contemporary flat styling.

Modern — All Colors

Modern Neue Theme

Refined modern variant with an outer ring shadow for added depth and emphasis.

Modern Neue — All Colors

Sizes

Four size options for different contexts — from compact inline use to large feature displays.

Sizes — Light Brand

Sizes — Dark Brand

Usage

Import the FeaturedIcon component and pass any icon element.

tsx
import { FeaturedIcon } from "omnira-ui/FeaturedIcon";
import { TickCircle } from "iconsax-react";

export default function MyFeature() {
    return (
        <div>
            <FeaturedIcon
                icon={<TickCircle size={24} variant="Bulk" />}
                theme="modern-neue"
                color="brand"
                size="lg"
            />
            <h3>Feature Title</h3>
            <p>Feature description goes here.</p>
        </div>
    );
}

Props

PropTypeDefaultDescription
iconReactNodeIcon element to display inside the container
color"brand" | "gray" | "error" | "warning" | "success""brand"Color scheme
theme"light" | "gradient" | "dark" | "outline" | "modern" | "modern-neue""light"Visual theme variant
size"sm" | "md" | "lg" | "xl""md"Container size