Hiyve Components - v1.0.0
    Preparing search index...

    Interface ReactionEffect

    Defines a single reaction effect available in the picker.

    Built-in effects use type: 'floating' (emoji/image burst) or type: 'fullscreen' (confetti). Consumers can register custom effects with type: 'custom' and a renderer component.

    interface ReactionEffect {
        count?: number;
        duration?: number;
        id: string;
        items?: string[];
        label: string;
        renderer?: ComponentType<CustomEffectProps>;
        thumbnail?: string;
        type: ReactionEffectType;
    }
    Index

    Properties

    count?: number

    Number of items to spawn for floating effects (default: 8)

    duration?: number

    Animation duration in ms (default: 3500 for floating, 5000 for fullscreen)

    id: string

    Unique effect identifier

    items?: string[]

    For 'floating' effects: emoji characters or image URLs to animate

    label: string

    Display label shown in the picker

    renderer?: ComponentType<CustomEffectProps>

    For 'custom' effects: React component that renders the animation

    thumbnail?: string

    Thumbnail shown in the picker — emoji character or image URL

    Rendering strategy