Icons
Frondlucide-react.Usage
The import, then a use to start from. Both copy as they are.
Import
import { Globe, Settings } from "@/components/icons";import { Button } from "@/components/ui/button";Example
<Globe className="text-muted size-4" /> <Button variant="ghostMuted" size="iconSm" aria-label="Settings"> <Settings /></Button>When to use
Use it for
- Every glyph and logo comes from
@/components/icons, drawn on a 16px grid with a 1.25px stroke. - 16px (
size-4) beside 14px text. Inside aButton, let the button size it. text-mutedunless the icon carries status or sits in an active control.
Avoid
- Importing from
lucide-react:check:design-systemflags it. - A sparkle for anything AI. The Fern Agent is
AgentMark. - An inline SVG drawn for one screen. Add it to the set by
icons/GUIDELINES.md.
Accessibility
Checks
- Decorative icons beside a label are
aria-hidden; an icon on its own needs a name on its control.
API
Read from each component's stories, the same source as COMPONENTS.md, and kept in step by check:design-system.
Icons
| Prop | Values |
|---|---|
| size | select |
VariantsAllReviewLightAndDark
Keep going
- AgentMarkThe Fern Agent's mark, at rest or thinking.Fiddle
- ButtonEvery clickable. Variants: default, outline, ghost, ghostMuted, destructive, destructiveOutline, link.Frond
Iconography
A distinctly Fern icon set that was crafted with meticulous care.