Theme Card

display

Preview card for displaying a color theme with swatches and name.

Preview

No preview available

Check the code examples below.

Installation

npm install @launchapp/design-system
Import
import { ThemeCard } from "@launchapp/design-system";

Examples

Theme selection card

<ThemeCard  name="Ocean Blue"  colors={["#0f172a", "#1e40af", "#3b82f6", "#bfdbfe"]}  isActive={false}  onSelect={() => console.log("selected")}/>

Props

PropTypeDefaultDescription
name*
stringTheme name.
colors*
string[]Array of hex color swatches.
isActive
booleanHighlights the card as the active theme.
onSelect
() => voidCalled when the card is selected.