Featured Icon
ReadyAn icon on a styled tile.
Installation
$ npx @oratiq-js/ui add featured-iconCopies the component and everything it depends on into your project, then lists the npm packages to install. The code is yours after this.
Usage
import
import { FeaturedIcon, featuredIconVariants } from "@/components/ui/featured-icon";Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "light" | "solid" | "outline" | "light" | Tile treatment. |
tone | "primary" | "success" | "warning" | "destructive" | "info" | "muted" | "primary" | Colour role. |
size | "sm" | "default" | "lg" | "xl" | "default" | Tile and icon size. |
Always decorative (aria-hidden) — the meaning belongs to the text next to it, never to the tile.
View source on GitHub → components/ui/featured-icon.tsx