Official Vue component for Font Awesome 7
87
A Vue 3 panel that renders two icons side by side, applying both string-based and object-based transforms while exposing incremental rotation and auto-width controls supplied by the icon library.
@generates
export interface IconTransformPanelProps {
primaryIcon: IconInput;
secondaryIcon: IconInput;
primaryTransform: string;
secondaryTransform: TransformConfig;
initialAutoWidth?: boolean;
rotateStep?: number;
}
export type IconInput = [string, string] | string | { prefix: string; iconName: string };
export interface TransformConfig {
x?: number;
y?: number;
size?: number;
rotate?: number;
flipX?: boolean;
flipY?: boolean;
}
export interface TransformState {
primaryTransform: string;
secondaryTransform: TransformConfig;
autoWidth: boolean;
rotationTurns: number;
}
export function mountIconTransformPanel(target: Element, props: IconTransformPanelProps): void;Vue bindings for Font Awesome icons with transform utilities and responsive width handling.
Install with Tessl CLI
npx tessl i tessl/npm-fortawesome--vue-fontawesomedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10