Documentation
Icon

Icon

Forui Icons is flutter library that provides a set of high-quality icons from Lucide (opens in a new tab).

Installation

Forui Icons is bundled with forui package. You don't need to install it separately if you installed forui.

From your Flutter project directory, run the following command to install Forui Icon.

bash
flutter pub install forui_assets

Usage

The best way to find a list of icons is to visit the Lucide (opens in a new tab) website. We periodically update the icons in the Forui Icons package. If you notice a missing icon in Forui Icons, please open an issue (opens in a new tab).

import 'package:forui/forui.dart';
 
// alternatively; if you've only installed forui_assets.
import 'package:forui_assets/forui_assets.dart';
 
// Bird icon as a Widget.
final birdIconWidget = FAssets.icons.bird();
 
// White cat icon with a size of 24x24.
final catIconWidget = FAssets.icons.cat(
  width: 24,
  height: 24,
  colorFilter: const ColorFilter.mode(Color(0xFFFFFFFF), BlendMode.srcIn),
);
 
// Saving an icon to a variable for later use.
final rabbitSvgAsset = FAssets.icons.rabbit;
final rabbitIconWidget = rabbitSvgAsset();