Sketchy

Hand-drawn style with rough, artistic borders

$ npx @hritik-sharmaa/repeat-ui add button-sketchy
Category
Button
Added
Aug 14, 2025
Version
2.0.0
Packages
None
Flavors
TS · JS · Tailwind · CSS
Live preview
Customize
4px
import ButtonSketchy from "@/components/repeat-ui/button-sketchy/preview";

<ButtonSketchy>Sketchy</ButtonSketchy>

Installation

  1. Run the command

    Adds the files and installs any packages they need. Works with npm, pnpm, yarn and bun.

    $ npx @hritik-sharmaa/repeat-ui add button-sketchy --variant ts-tailwind
  2. Use it

    The files are in components/repeat-ui/button-sketchy/.

    import ButtonSketchy from "@/components/repeat-ui/button-sketchy/preview";
    
    export default function Page() {
      return <ButtonSketchy />;
    }

Props

PropTypeDefaultDescriptionOptions
childrenReactNode-The button label.-
size"sm" | "md" | "lg""md"Height, padding and font size. Every Repeat UI button shares this scale.sm | md | lg
colorstring"#ffffff"Background colour.-
textColorstring"#0a0a0a"Text colour.-
inkColorstring"#0a0a0a"Outline and shadow colour on hover.-
offsetnumber4How far the hard shadow drops, in pixels.-
onClick(event: MouseEvent) => void-Click event handler.-
classNamestring""Extra classes for the button.-

More button

See all