• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
matthewmateo

matthewmateo

pala-component-library

Public
Like
pala-component-library
Home
Code
7
backend
1
components
2
.vtignore
AGENTS.md
README.md
deno.json
H
main.ts
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
components
/
card
/
README.md
Code
/
components
/
card
/
README.md
Search
11/9/2025
Viewing readonly version of main branch: v39
View latest version
README.md

Card Component

A simple card component for displaying content.

Props

  • title (string): Optional card title (default: '')
  • padding (string): Card padding size
    • 'small' - Compact padding
    • 'medium' (default) - Standard padding
    • 'large' - Large padding
  • elevated (boolean): Show elevation shadow (default: false)

Usage

<script> import Card from 'https://your-val.web.val.run/card' </script> <!-- Basic usage --> <Card> Simple card content </Card> <!-- With title --> <Card title="My Card"> Card with a title </Card> <!-- Elevated with large padding --> <Card title="Elevated Card" padding="large" elevated> This card has a shadow and large padding </Card>
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.