Icons
A premium collection of brand and social icons with built-in micro-animations. Every icon is a pure SVG React component that can be used statically or with motion. Designed to give your project a professional, polished feel out of the box.
ui
Installation
$npm install futureuikit
Import
import { GithubIcon } from "futureuikit/icons"
Usage Example
A basic implementation example to get you started.
Example Implementation
import { GithubIcon, InstagramIcon, DiscordIcon } from'futureuikit/icons';
export default function Example() {
return (
<div className="flex gap-6 items-center">
{/* Animated Variant */}
<InstagramIcon animate size={32} className="text-primary"/>
{/* Static Variant */}
<GithubIcon size={32} className="text-foreground"/>
{/* Custom Interaction */}
<DiscordIcon animate size={40} className="text-[#5865F2]"/>
</div>
);
}Features
Key capabilities and highlights.
Key Capabilities
- ◆Premium Motion: Built-in micro-animations powered by Framer Motion.
- ◆Toggleable: Enable or disable animations using the'animate'prop (defaults to false).
- ◆Native Implementation: Pure SVG React components with zero external dependencies.
- ◆Ships with Package: Included in the main'futureuikit'package for easy access.
- ◆Fully Responsive: Supports size, width, height, className, and custom styling.
- ◆Growing Library: Includes GitHub, LinkedIn, X (Twitter), Instagram, Discord, and YouTube.
Notes
Important implementation details to consider.
Implementation Details
- ◆Install: Run'npx futureuikit add icons'to install the icons.
- ◆Animation: Pass the'animate'prop to enable premium hover and entry motions.
- ◆Static Mode: Omit the'animate'prop (or pass false) to use icons as standard SVGs.
- ◆Import:'import { XIcon, YoutubeIcon } from "futureuikit/icons";'
- ◆Style: Use Tailwind classes or the'style'prop for custom colors and spacing.