Back to buttons
// Built using Hyperiux Vault: https://vault.hyperiux.com
"use client";

import { ArrowRight } from "lucide-react";
import { useLayoutEffect, useState, type ComponentPropsWithoutRef, type ComponentType, type CSSProperties, type MouseEvent, type MouseEventHandler, type ReactNode } from "react";

const TABLET_BREAKPOINT = 1025;
const DEFAULT_TEXT = "Hover me";
const DEFAULT_MOBILE_TEXT = "Click me";
const DEFAULT_CLICKED_COLOR = "#ff6b00";
const DEFAULT_HREF = "#";

export interface LinkButtonOwnProps {
  text?: string;
  mobileText?: string;
  textColor?: string;
  hoverColor?: string;
  clickedColor?: string;
  href?: string;
  className?: string;
  linkProps?: Partial<ComponentPropsWithoutRef<"a">>;
  icon?: ComponentType<{ className?: string }>;
  iconClassName?: string;
  showIcon?: boolean;
  underlineHeight?: number;
  underlineOnHover?: boolean;
  iconRotation?: number;
  rotateIconOnHover?: boolean;
  transitionDuration?: number;
  children?: ReactNode;
  disableNavigation?: boolean;
  onClick?: MouseEventHandler<HTMLAnchorElement>;
}

export type LinkButtonProps = LinkButtonOwnProps & Omit<ComponentPropsWithoutRef<"a">, 'href' | 'onClick' | keyof LinkButtonOwnProps>;

export default function LinkButton({
  text = DEFAULT_TEXT,
  mobileText = DEFAULT_MOBILE_TEXT,
  textColor,
  hoverColor,
  clickedColor = DEFAULT_CLICKED_COLOR,
  href = DEFAULT_HREF,
  className = "",
  linkProps = {},
  icon: Icon = ArrowRight,
  iconClassName = "",
  showIcon = true,
  underlineHeight = 1.5,
  underlineOnHover = true,
  iconRotation = -45,
  rotateIconOnHover = true,
  transitionDuration = 0.5,
  children,
  disableNavigation = false,
  onClick,
  ...props
}: LinkButtonProps) {
  const { style: customStyle, ...restProps } = props;
  const [isCompactViewport, setIsCompactViewport] = useState(false);
  const [hasMeasuredViewport, setHasMeasuredViewport] = useState(false);
  const [isIconRotated, setIsIconRotated] = useState(false);

  useLayoutEffect(() => {
    const onResize = () => {
      setIsCompactViewport(window.innerWidth <= TABLET_BREAKPOINT);
      setHasMeasuredViewport(true);
    };

    onResize();
    window.addEventListener("resize", onResize);

    return () => {
      window.removeEventListener("resize", onResize);
    };
  }, []);

  const onLinkClick = (event: MouseEvent<HTMLAnchorElement>) => {
    setIsIconRotated((previousValue) => !previousValue);

    if (disableNavigation) {
      event.preventDefault();
    }

    onClick?.(event);
  };

  const displayText =
    hasMeasuredViewport && isCompactViewport ? mobileText : children || text;
  const clickedStyle =
    hasMeasuredViewport && isCompactViewport && isIconRotated
      ? { color: clickedColor }
      : undefined;
  const mergedStyle: CSSProperties & Record<`--${string}`, string> = {
    "--underline-height": `${underlineHeight}px`,
    "--icon-rotation": `${iconRotation}deg`,
    "--transition-duration": `${transitionDuration}s`,
    ...(hoverColor ? { "--link-hover-color": hoverColor } : null),
    ...(textColor ? { "--link-text-color": textColor } : null),
    ...customStyle,
    ...clickedStyle,
  };
  const iconClassNames = `${isIconRotated ? "motion-safe:-rotate-45" : ""} ${
    !isCompactViewport ? "motion-safe:group-hover:-rotate-45" : ""
  } size-[1em] shrink-0 max-md:translate-y-[0.1em] transition-transform duration-[var(--transition-duration)] motion-reduce:rotate-0 motion-reduce:transition-none ${iconClassName}`;
  const underlineClassNames = `btn-link-line relative inline-block w-fit after:absolute after:left-0 after:bottom-[-2%] after:h-[var(--underline-height)] after:w-full after:bg-current after:content-[''] after:transition-transform after:duration-[var(--transition-duration)] after:ease-[cubic-bezier(0.62,0.05,0.01,0.99)] motion-reduce:after:transition-none ${
    hasMeasuredViewport && isCompactViewport
      ? isIconRotated
        ? "after:origin-right after:scale-x-0 motion-safe:after:origin-left motion-safe:after:scale-x-100"
        : "after:origin-right after:scale-x-0"
      : "after:origin-right after:scale-x-0 motion-safe:group-hover:after:origin-left motion-safe:group-hover:after:scale-x-100"
  }`;

  return (
    <>
      <a
        href={href}
        {...linkProps}
        {...restProps}
        onClick={onLinkClick}
        className={`group block w-fit cursor-pointer scale-150 text-[1.1vw] leading-[1.2] duration-300 text-(--link-text-color) hover:text-(--link-hover-color) max-lg:text-[4vw] max-md:text-[6.5vw] ${className}`}
        style={mergedStyle}
      >
        <div className="flex items-center justify-start gap-2">
          <span
            className={underlineClassNames}
            style={{
              visibility: hasMeasuredViewport ? "visible" : "hidden",
            }}
          >
            {displayText}
          </span>

          <span className="sr-only">About {href}</span>

          {showIcon && Icon && <Icon className={iconClassNames} />}
        </div>
      </a>

      <style jsx>{`
        li :global(.btn-link-line)::after {
          bottom: -20%;
        }
      `}</style>
    </>
  );
}

Link Button

By Hyperiux Vault

Try the interaction, copy the React source files, or download the complete example.

About Link Button

Link Button is an animated React and Tailwind CSS button by Hyperiux Vault. Try the interaction, copy the React source, or download the example with creator credit.

Effects and categories
Hover effects, Animated
Using this example
Copy a TSX file or download the original source and standalone demo. Test keyboard focus, motion and contrast in your own project.

Usage, Tailwind and licensing questions

Read the source files

registry/effects/buttons/link-button/index.tsx

// Built using Hyperiux Vault: https://vault.hyperiux.com
"use client";

import { ArrowRight } from "lucide-react";
import { useLayoutEffect, useState, type ComponentPropsWithoutRef, type ComponentType, type CSSProperties, type MouseEvent, type MouseEventHandler, type ReactNode } from "react";

const TABLET_BREAKPOINT = 1025;
const DEFAULT_TEXT = "Hover me";
const DEFAULT_MOBILE_TEXT = "Click me";
const DEFAULT_CLICKED_COLOR = "#ff6b00";
const DEFAULT_HREF = "#";

export interface LinkButtonOwnProps {
  text?: string;
  mobileText?: string;
  textColor?: string;
  hoverColor?: string;
  clickedColor?: string;
  href?: string;
  className?: string;
  linkProps?: Partial<ComponentPropsWithoutRef<"a">>;
  icon?: ComponentType<{ className?: string }>;
  iconClassName?: string;
  showIcon?: boolean;
  underlineHeight?: number;
  underlineOnHover?: boolean;
  iconRotation?: number;
  rotateIconOnHover?: boolean;
  transitionDuration?: number;
  children?: ReactNode;
  disableNavigation?: boolean;
  onClick?: MouseEventHandler<HTMLAnchorElement>;
}

export type LinkButtonProps = LinkButtonOwnProps & Omit<ComponentPropsWithoutRef<"a">, 'href' | 'onClick' | keyof LinkButtonOwnProps>;

export default function LinkButton({
  text = DEFAULT_TEXT,
  mobileText = DEFAULT_MOBILE_TEXT,
  textColor,
  hoverColor,
  clickedColor = DEFAULT_CLICKED_COLOR,
  href = DEFAULT_HREF,
  className = "",
  linkProps = {},
  icon: Icon = ArrowRight,
  iconClassName = "",
  showIcon = true,
  underlineHeight = 1.5,
  underlineOnHover = true,
  iconRotation = -45,
  rotateIconOnHover = true,
  transitionDuration = 0.5,
  children,
  disableNavigation = false,
  onClick,
  ...props
}: LinkButtonProps) {
  const { style: customStyle, ...restProps } = props;
  const [isCompactViewport, setIsCompactViewport] = useState(false);
  const [hasMeasuredViewport, setHasMeasuredViewport] = useState(false);
  const [isIconRotated, setIsIconRotated] = useState(false);

  useLayoutEffect(() => {
    const onResize = () => {
      setIsCompactViewport(window.innerWidth <= TABLET_BREAKPOINT);
      setHasMeasuredViewport(true);
    };

    onResize();
    window.addEventListener("resize", onResize);

    return () => {
      window.removeEventListener("resize", onResize);
    };
  }, []);

  const onLinkClick = (event: MouseEvent<HTMLAnchorElement>) => {
    setIsIconRotated((previousValue) => !previousValue);

    if (disableNavigation) {
      event.preventDefault();
    }

    onClick?.(event);
  };

  const displayText =
    hasMeasuredViewport && isCompactViewport ? mobileText : children || text;
  const clickedStyle =
    hasMeasuredViewport && isCompactViewport && isIconRotated
      ? { color: clickedColor }
      : undefined;
  const mergedStyle: CSSProperties & Record<`--${string}`, string> = {
    "--underline-height": `${underlineHeight}px`,
    "--icon-rotation": `${iconRotation}deg`,
    "--transition-duration": `${transitionDuration}s`,
    ...(hoverColor ? { "--link-hover-color": hoverColor } : null),
    ...(textColor ? { "--link-text-color": textColor } : null),
    ...customStyle,
    ...clickedStyle,
  };
  const iconClassNames = `${isIconRotated ? "motion-safe:-rotate-45" : ""} ${
    !isCompactViewport ? "motion-safe:group-hover:-rotate-45" : ""
  } size-[1em] shrink-0 max-md:translate-y-[0.1em] transition-transform duration-[var(--transition-duration)] motion-reduce:rotate-0 motion-reduce:transition-none ${iconClassName}`;
  const underlineClassNames = `btn-link-line relative inline-block w-fit after:absolute after:left-0 after:bottom-[-2%] after:h-[var(--underline-height)] after:w-full after:bg-current after:content-[''] after:transition-transform after:duration-[var(--transition-duration)] after:ease-[cubic-bezier(0.62,0.05,0.01,0.99)] motion-reduce:after:transition-none ${
    hasMeasuredViewport && isCompactViewport
      ? isIconRotated
        ? "after:origin-right after:scale-x-0 motion-safe:after:origin-left motion-safe:after:scale-x-100"
        : "after:origin-right after:scale-x-0"
      : "after:origin-right after:scale-x-0 motion-safe:group-hover:after:origin-left motion-safe:group-hover:after:scale-x-100"
  }`;

  return (
    <>
      <a
        href={href}
        {...linkProps}
        {...restProps}
        onClick={onLinkClick}
        className={`group block w-fit cursor-pointer scale-150 text-[1.1vw] leading-[1.2] duration-300 text-(--link-text-color) hover:text-(--link-hover-color) max-lg:text-[4vw] max-md:text-[6.5vw] ${className}`}
        style={mergedStyle}
      >
        <div className="flex items-center justify-start gap-2">
          <span
            className={underlineClassNames}
            style={{
              visibility: hasMeasuredViewport ? "visible" : "hidden",
            }}
          >
            {displayText}
          </span>

          <span className="sr-only">About {href}</span>

          {showIcon && Icon && <Icon className={iconClassNames} />}
        </div>
      </a>

      <style jsx>{`
        li :global(.btn-link-line)::after {
          bottom: -20%;
        }
      `}</style>
    </>
  );
}

demo.tsx

export { default as default } from "@/registry/effects/buttons/link-button/index";

CSS

/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .relative {
    position: relative;
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .inline-block {
    display: inline-block;
  }
  .size-\[1em\] {
    width: 1em;
    height: 1em;
  }
  .w-fit {
    width: fit-content;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .scale-150 {
    --tw-scale-x: 150%;
    --tw-scale-y: 150%;
    --tw-scale-z: 150%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .items-center {
    align-items: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .text-\[1\.1vw\] {
    font-size: 1.1vw;
  }
  .leading-\[1\.2\] {
    --tw-leading: 1.2;
    line-height: 1.2;
  }
  .text-\(--link-text-color\) {
    color: var(--link-text-color);
  }
  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .duration-300 {
    --tw-duration: 300ms;
    transition-duration: 300ms;
  }
  .duration-\[var\(--transition-duration\)\] {
    --tw-duration: var(--transition-duration);
    transition-duration: var(--transition-duration);
  }
  .after\:absolute::after {
    content: var(--tw-content);
    position: absolute;
  }
  .after\:bottom-\[-2\%\]::after {
    content: var(--tw-content);
    bottom: -2%;
  }
  .after\:left-0::after {
    content: var(--tw-content);
    left: 0px;
  }
  .after\:h-\[var\(--underline-height\)\]::after {
    content: var(--tw-content);
    height: var(--underline-height);
  }
  .after\:w-full::after {
    content: var(--tw-content);
    width: 100%;
  }
  .after\:origin-right::after {
    content: var(--tw-content);
    transform-origin: 100%;
  }
  .after\:scale-x-0::after {
    content: var(--tw-content);
    --tw-scale-x: 0%;
    scale: var(--tw-scale-x) var(--tw-scale-y);
  }
  .after\:bg-current::after {
    content: var(--tw-content);
    background-color: currentcolor;
  }
  .after\:transition-transform::after {
    content: var(--tw-content);
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .after\:duration-\[var\(--transition-duration\)\]::after {
    content: var(--tw-content);
    --tw-duration: var(--transition-duration);
    transition-duration: var(--transition-duration);
  }
  .after\:ease-\[cubic-bezier\(0\.62\,0\.05\,0\.01\,0\.99\)\]::after {
    content: var(--tw-content);
    --tw-ease: cubic-bezier(0.62,0.05,0.01,0.99);
    transition-timing-function: cubic-bezier(0.62,0.05,0.01,0.99);
  }
  .after\:content-\[\'\'\]::after {
    --tw-content: '';
    content: var(--tw-content);
  }
  @media (hover: hover) {
    .hover\:text-\(--link-hover-color\):hover {
      color: var(--link-hover-color);
    }
  }
  @media (prefers-reduced-motion: no-preference) {
    .motion-safe\:-rotate-45 {
      rotate: calc(45deg * -1);
    }
    @media (hover: hover) {
      .motion-safe\:group-hover\:-rotate-45:is(:where(.group):hover *) {
        rotate: calc(45deg * -1);
      }
    }
    .motion-safe\:after\:origin-left::after {
      content: var(--tw-content);
      transform-origin: 0;
    }
    .motion-safe\:after\:scale-x-100::after {
      content: var(--tw-content);
      --tw-scale-x: 100%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }
    @media (hover: hover) {
      .motion-safe\:group-hover\:after\:origin-left:is(:where(.group):hover *)::after {
        content: var(--tw-content);
        transform-origin: 0;
      }
      .motion-safe\:group-hover\:after\:scale-x-100:is(:where(.group):hover *)::after {
        content: var(--tw-content);
        --tw-scale-x: 100%;
        scale: var(--tw-scale-x) var(--tw-scale-y);
      }
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .motion-reduce\:rotate-0 {
      rotate: 0deg;
    }
    .motion-reduce\:transition-none {
      transition-property: none;
    }
    .motion-reduce\:after\:transition-none::after {
      content: var(--tw-content);
      transition-property: none;
    }
  }
  @media (width < 64rem) {
    .max-lg\:text-\[4vw\] {
      font-size: 4vw;
    }
  }
  @media (width < 48rem) {
    .max-md\:translate-y-\[0\.1em\] {
      --tw-translate-y: 0.1em;
      translate: var(--tw-translate-x) var(--tw-translate-y);
    }
    .max-md\:text-\[6\.5vw\] {
      font-size: 6.5vw;
    }
  }
}
:root {
  --background: #fff;
  --foreground: #111;
  --primary: #171717;
  --primary-foreground: #fff;
  --secondary: #eee;
  --secondary-foreground: #171717;
  --muted: #eee;
  --muted-foreground: #666;
  --accent: #eee;
  --accent-foreground: #171717;
  --border: #ddd;
  --input: #ddd;
  --ring: #777;
  --destructive: #dc2626;
  --destructive-foreground: #fff;
  --popover: #fff;
  --popover-foreground: #111;
  --success: #15803d;
  --success-foreground: #fff;
  --radius: .625rem;
  --hairline: 1px;
}
.dark {
  --background: #090909;
  --foreground: #fafafa;
  --primary: #fafafa;
  --primary-foreground: #171717;
  --secondary: #262626;
  --secondary-foreground: #fafafa;
  --muted: #262626;
  --muted-foreground: #a3a3a3;
  --accent: #262626;
  --accent-foreground: #fafafa;
  --border: #333;
  --input: #333;
  --popover: #171717;
  --popover-foreground: #fafafa;
}
@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-duration {
  syntax: "*";
  inherits: false;
}
@property --tw-content {
  syntax: "*";
  initial-value: "";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-leading: initial;
      --tw-duration: initial;
      --tw-content: "";
      --tw-ease: initial;
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
    }
  }
}