jelly card

preview

strawberry

sweet and delicious

blueberry

sweet and delicious

lime

sweet and delicious

lemon

sweet and delicious

usage

Compose card title and description helpers inside a tinted container for small feature panels.

import { JellyCard, JellyCardDescription, JellyCardTitle } from "@/components/jelly/jelly-card"

export function FlavorCard() {
  return (
    <JellyCard color="blue" hoverable>
      <JellyCardTitle>blueberry</JellyCardTitle>
      <JellyCardDescription>sweet and delicious</JellyCardDescription>
    </JellyCard>
  )
}

setup notes

Requires React, TypeScript, Tailwind CSS, and the included cn helper. No additional animation setup is required.

props

proptypedefaultpurpose
color"pink" | "blue" | "green" | "yellow" | "orange" | "red" | "clear""clear"Sets the pastel surface tint.
hoverablebooleanfalseEnables a subtle lift on hover.
childrenReactNode-Sets the card contents.