<Chipper />

base/chipper.svelte

""

Component Chipper examples :
Using slots
component Chipper demo using slots
some content
position position
bgTheme preset-theme
showChip boolean
code

<Chipper>
	<div class="pad-2">some content</div>
	<div slot="chipperChip"   class="theme-bg-primary radius-small w-full h-full"></div>
</Chipper>
Without slots
component Chipper demo without slots
Some props html content
position position
bgTheme preset-theme
showChip boolean
code

<Chipper
	content="<div class='pad'>Some props html content</div>"
	color="red" />
Api preview :
__propDef: {
    props: {
        class?: string | undefined;
        element?: HTMLDivElement | undefined;
        style?: string | undefined;
        /** position of the chipper */ position?: "left" | "right" | "top" | "bottom" | undefined;
        bgTheme?: string | undefined;
        /** css color code for the chip */ color?: string | undefined;
        /** text or html is slot is not used */ content?: string | undefined;
        /** show or hide the chip */ showChip?: boolean | undefined;
    };
    events: {
        [evt: string]: CustomEvent<any>;
    };
    slots: {
        default: {};
        chipperChip: {};
    };
};