Black Friday: 30% off Pro

Get 30% off

Updated

Type Fighter

Pro

Preview

Customize

Comet
Fly duration0.30s
Sparks14

Installation

Pro

Type Fighter is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/type-fighter

Usage

import { TypeFighter } from "@/components/uibrik/type-fighter/type-fighter";​<TypeFighter  mode="comet"  placeholder="Type something"  flyDuration={0.3}  sparkCount={14}/>

Where to use Type Fighter

  • Playful text fields

    Each typed glyph flying in like a comet makes typing feel energetic.

  • Writing apps

    A pen-written mode suits journaling and creative writing tools.

  • Interactive hero inputs

    A fun input on a landing page invites visitors to try the product.

Props

TypeFighter
mode
Type "comet" | "cursive"
"comet"
Typing style: flung comets or a pen.
placeholder
Type string
"Type something"
flyDuration
Type number
0.3
How long a comet glyph takes to fly in.
sparkCount
Type number
14
Sparks per impact.
penSpeed
Type number
380
Cursive pen speed, px per second.