@codeandfunction/callaloo
v5.6.0
Published
Callaloo is a Vue UI library. It is easy to integrate into any Vue3+ project, has a small footprint, can be easily themed, and provides commonly used components.
Maintainers
Readme
Callaloo
Callaloo is a Vue UI library. It is easy to integrate into any Vue3+ project, has a small footprint, can be easily themed, and provides commonly used components.
Installation
pnpm add @codeandfunction/callalooor
npm install @codeandfunction/callalooor
yarn add @codeandfunction/callalooExample
The following example demonstrates how to use a Callaloo component in your Vue project.
<script setup lang="ts">
import CLThemeProvider from '@codeandfunction/callaloo/CLThemeProvider';
import CLButton from '@codeandfunction/callaloo/CLButton';
import { CLSizes } from '@codeandfunction/callaloo';
const onClickHandler = (evt?: Event) => {
alert('Hello World!');
};
</script>
<template>
<div class="my-awesome-app">
<CLThemeProvider>
<CLButton :on-click="onClickHandler" :size="CLSizes.Medium">Hello world</CLButton>
</CLThemeProvider>
</div>
</template>Usage via CDN
If you want to try Callaloo without a build step, you can load it directly from a CDN a detailed example is available in the docs.
Available components
Callaloo ships a growing set of production-ready Vue 3 components and composables. Core building blocks include:
Providers
- CLThemeProvider – application-level theming and design tokens
- CLToastProvider – toast notification provider
Layout & containers
Navigation & links
Buttons & actions
Form inputs
Typography & content
Feedback, status & overlays
Icons
Composables
For detailed usage, props, and examples for each component, see https://callaloo.dev/docs/components/.
Documentation
To learn more about how to theme components, and more detailed documentation and examples, please visit the official documentation site.
