References
Component API reference for v1 — usage examples, variants, sizes, and code snippets.
On this page
Switch#
A toggle switch component used for boolean settings or states.
Examples#
Push Notifications
Receive notifications about events.
Marketing Emails
Receive emails about new products, features, and more.
Usage (React)
import { V1Switch } from "knowivate-ui/v1-switch";
import { useState } from "react";
export default function Example() {
const [enabled, setEnabled] = useState(false);
return (
<V1Switch
checked={enabled}
onChange={(e) => setEnabled(e.target.checked)}
/>
);
}V1LabelWithBeta#
A v1 component that automatically styles (Beta) suffixes as consistent blue superscripts. Import it from knowivate-ui as V1LabelWithBeta.
Example#
Advanced Reports Beta
Usage (React)
import { V1LabelWithBeta } from "knowivate-ui";
// V1LabelWithBeta — renders "(Beta)" as a blue superscript
<V1LabelWithBeta label="Advanced Reports (Beta)" />V1Badge#
A premium status pill used for hero sections, feature highlights, or state indications.
Variants#
Neutral (Design System)
Premium (Products)
Usage (React)
import { V1Badge } from "knowivate-ui";
<V1Badge variant="secondary">Default Label</V1Badge>
<V1Badge variant="primary">Highlight Label</V1Badge>