Explore
npx shadcn@latest add peacenode/minim/exploreBasic usage
import { ExploreIcon } from "@/components/minim-icons/explore-icon"
export function Example() {
return (
<div className="flex items-center gap-4">
<ExploreIcon className="size-8" title="Explore" />
<ExploreIcon
variant="selected"
className="size-8"
title="Explore selected"
/>
</div>
)
}Navigation usage
import Link from "next/link"
import { Button } from "@/components/ui/button"
import { ExploreIcon } from "@/components/minim-icons/explore-icon"
interface IconNavItemProps {
active: boolean
}
export function IconNavItem({ active }: IconNavItemProps) {
return (
<Button
asChild
variant={active ? "secondary" : "ghost"}
>
<Link
href="/explore"
aria-current={active ? "page" : undefined}
>
<ExploreIcon
variant={active ? "selected" : "default"}
className="size-8"
/>
<span>Explore</span>
</Link>
</Button>
)
}