Logo
KNEXT.JS
  • Blog
  • Docs
KNEXT.JS
  • Home
  • Docs
    • Components
    • Getting Started
    • Guides
    • Patterns
  • Blog
    • Patterns
    • Test
  1. Home
  2. docs
  3. components
  4. card

KNEXT.js

Your next project, supercharged with modern web development tools and best practices.

Resources

  • Documentation
  • Components
  • Templates

Company

  • About
  • Blog
  • Contact

Legal

  • Privacy Policy
  • Terms of Service

© 2025 KNEXT.js. All rights reserved.

GitHubBluesky
1 min read

Card

The Card component is a versatile container component that helps organize and group related content.

Basic Usage

Variants

Card Variants
Default
Outline
Elevated

API Reference

PropTypeDefaultDescription
variant'default' | 'outline' | 'elevated''default'Style variant
classNamestringundefinedAdditional CSS classes
childrenReactNodeundefinedCard content
import { Card } from '@/components/atoms/card';

function Example() { return ( <Card> <h3>Card Title</h3> <p>Card content goes
here</p> </Card> ); }