+ With the beat property gives you a basic beat animation.
+
+ With the fade property gives you a basic fade animation.
+
+ With the fade property gives you a basic fade animation.
+
+ With the flip property you can mirror your icon on its x-axis, y-axis or both.
+
Get started with Amicons by running the following command in your project.
++ When the package is installed, you can add the styles to your project by importing it in + your JavaScript or TypeScript file. +
+Alternatively, you can add it in your CSS.
+
+ With the rotate property you can change the default rotation of your icon. You can pass any numeric
+ degree value for full flexibility.
+
1s when using pulse.
+ >
+ ),
+ },
+ {
+ name: "--ai-animation-timing-function",
+ default: "linear",
+ description: "The timing function used for the animation.",
+ },
+ {
+ name: "--ai-animation-iteration-count",
+ default: "infinite",
+ description: "Number of times the animation is repeated.",
+ },
+ {
+ name: "--ai-animation-pulse-steps",
+ default: 8,
+ description: (
+ <>
+ Number of steps when the spin property is set to pulse.
+ >
+ ),
+ },
+ ],
+ };
+
+ return (
+
+ With the spin property you can make your icons play a rotation animation.
+
+ When setting the property to pulse, some additional variables are available while some defaults are
+ changed.
+
+ {date} · Version {version} +
+{icon.old}{" "}
+ {icon.new}
+ {icon}
+ {parseMarkdownCode(item)}
+{match[1]});
+ lastIndex = regex.lastIndex;
+ }
+
+ // Add remaining text
+ if (lastIndex < text.length) {
+ parts.push(text.slice(lastIndex));
+ }
+
+ return parts.length === 1 ? parts[0] : parts;
+}
diff --git a/docs/src/app/Docs/playground/ApiTable.tsx b/docs/src/app/Docs/playground/ApiTable.tsx
new file mode 100644
index 00000000..1322bda1
--- /dev/null
+++ b/docs/src/app/Docs/playground/ApiTable.tsx
@@ -0,0 +1,42 @@
+import Code from "@/design/components/Code";
+
+import { type IIconCssVariables } from "./Playground";
+
+interface IApiTableProps {
+ cssVariables: IIconCssVariables[];
+}
+
+export default function ApiTable({ cssVariables }: IApiTableProps) {
+ return (
+ | + Property name + | ++ Default + | ++ Description + | +
|---|---|---|
+ {variable.name}
+ |
+
+ {variable.default}
+ |
+ {variable.description} | +
The page you're trying to reach cannot be found.
+Created
{" "} +Last updated
{" "} +Bounce
+Spin
+Pulse
+90°
+180°
+270°
+Beat
+Flip
+X
+Y
+
+ {children}
+
+ );
+}
diff --git a/docs/src/design/components/IconCard.tsx b/docs/src/design/components/IconCard.tsx
new file mode 100644
index 00000000..06a2b066
--- /dev/null
+++ b/docs/src/design/components/IconCard.tsx
@@ -0,0 +1,19 @@
+import { NavLink } from "react-router";
+
+import Amicon from "@studio384/amicons";
+
+import { type ILibraryIcon } from "@/types";
+
+export function IconCard({ icon }: { icon: ILibraryIcon }) {
+ return (
+