Jack UI logoJackUI
ComponentsButtons

Ink Fill Button

A smooth ink-fill animation button with character-by-character text lighting effect.

Open in

Installation

bunx shadcn@latest add https://jackui.com/r/InkFillBtn.json
npx shadcn@latest add https://jackui.com/r/InkFillBtn.json
pnpm dlx shadcn@latest add https://jackui.com/r/InkFillBtn.json

The CLI will automatically install the required dependencies and copy the component file into your project at:

components/jackui/buttons/InkFillBtn.tsx

Usage

"use client";

import React from "react";
import InkFillBtn from "@/components/jackui/buttons/InkFillBtn";

export function InkFillBtnDemo() {
  return (
    <div className="flex h-40 w-full items-center justify-center">
      <InkFillBtn />
    </div>
  );
}

Props

PropTypeDescription
childrenReact.ReactNodeOptional. The content to render inside the button. Default: "Initialize App".
variant"dark" | "light" | "coral" | "neon"Optional. Sizing variant adjusting the color theme. Default: "dark".
tagstringOptional. A small text tag displayed alongside the children text.
...propsReact.ButtonHTMLAttributes<HTMLButtonElement>Optional. Any additional standard HTML button element properties (e.g. onClick, disabled, className) can be passed and are spread onto the button.

On this page