Components
Composition Components

Composition Components

Cute-Kitty-UI provides specialized composition components for more complex use cases.

HoldingSignCat

A cat holding a customizable sign.

import { HoldingSignCat } from 'cute-kitty-ui-registry';
 
<HoldingSignCat 
  primaryColor="#FF6B6B"
  secondaryColor="#FFFFFF"
  signText="Hello World!"
  signBackgroundColor="#F8F9FA"
  signTextColor="#212529"
  size="medium"
  emotion="happy"
  animated={true}
/>

Additional Props

PropTypeDefaultDescription
signTextstring'Hello!'Text to display on the sign
signBackgroundColorstring'#FFFFFF'Background color of the sign
signTextColorstring'#000000'Color of the text on the sign
signBorderColorstring'#000000'Border color of the sign

PeekingCat

A cat peeking from an edge of the container.

import { PeekingCat } from 'cute-kitty-ui-registry';
 
<PeekingCat 
  primaryColor="#4ECDC4"
  secondaryColor="#FFFFFF"
  peekFrom="left"
  peekAmount={0.5}
  size="medium"
  emotion="curious"
  animated={true}
/>

Additional Props

PropTypeDefaultDescription
peekFrom'left' | 'right' | 'top' | 'bottom''left'Direction from which the cat peeks
peekAmountnumber0.5How much of the cat is visible (0-1)

FaceOnlyCat

Just the face of a cat.

import { FaceOnlyCat } from '@kitty-ui/registry';
 
<FaceOnlyCat 
  primaryColor="#FFD166"
  secondaryColor="#FFFFFF"
  showEars={true}
  size="medium"
  emotion="happy"
  animated={true}
/>

Additional Props

PropTypeDefaultDescription
showEarsbooleantrueWhether to show the cat's ears

Common Props

All composition components inherit the same common props as core components:

PropTypeDefaultDescription
primaryColorstring'#000000'Main color of the cat
secondaryColorstring'#FFFFFF'Secondary color for details
size'small' | 'medium' | 'large' | number'medium'Size of the component
emotionstring'neutral'Cat's facial expression
animatedbooleanfalseWhether the cat should be animated
animationSpeed'slow' | 'normal' | 'fast''normal'Speed of animations