Card
Cards are a flexible and extensible content container. They are commonly used within a page layout or as part of a related group of content.
Basic
Top spots to hit in 2024, no cap!
Installation
If you hit any issues, make sure you check out the installation guide here.
Composed Components
When you plug this component from the CLI, it autoloads all the composed components. No need to toss 'em in one at a time.
The Card's decked out with several components to make it bangin'.
Manual Installation
Sometimes, using the CLI is the way to go, so make sure you install the necessary dependencies for the components you want to use.
Anatomy
Import the components and use them as shown below, adapting the structure to fit each component.
With Form
Peep this for a slick login setup, easy peasy.
With Table
Check out the lowdown with all the deets laid out.
Users
# | Name | Gender | Age | Occupation | |
---|---|---|---|---|---|
1 | John Doe | Male | 30 | Software Engineer | |
2 | Jane Smith | Female | 25 | Marketing Manager | |
3 | Bob Johnson | Male | 40 | Doctor | |
4 | Emily Chen | Female | 28 | Teacher | |
5 | Michael Brown | Male | 35 | Lawyer | |
6 | Sarah Lee | Female | 32 | Designer | |
7 | Kevin White | Male | 45 | CEO | |
8 | Lisa Nguyen | Female | 29 | Engineer | |
9 | David Kim | Male | 38 | Consultant | |
10 | Hannah Patel | Female | 26 | Writer |
Section Title
Sometimes, you may only need a card header without wrapping container itself. Of course, you need don't want the default padding, right? So I have prop called withoutPadding
to help you out.
For table docs, check out the Table docs.