For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Resources
Get started
ReferenceChangelog
ReferenceChangelog
  • Flowkit v2.0.0
    • Components
      • Cards
      • Buttons
      • Tag
      • Dropdown
      • Accordion
      • Images
      • Rich Text
      • Forms
      • Tabs
      • Slider
      • Divider
    • Utility Classes
LogoLogo
Resources
Get started
On this page
  • Class Naming
  • Surface Modifiers
  • Card Elements
Flowkit v2.0.0Components

Cards

Was this page helpful?
Previous

Buttons

Next
Built with

Class Naming

Cards are layout containers used to group and display content like text, images, and interactive elements. They are styled using the base class card for standard cards and card-link for interactive cards.

These classes can be extended using modifiers for different styles, backgrounds, and layouts.

Surface Modifiers

Use these modifiers (combo classes) to adapt the card appearance based on the background context.

Naming convention: card on-Surface and card-link on-Surface, where card surface can be primary, secondary, inverse, accent-primary, accent-secondary, accent-tertiary

Example:

  • card on-accent-primary
  • card-link on-inverse

Card Elements

These modifiers allow additional control over spacing and card behavior across responsive layouts.

ClassDescription
card_bodyDefault card padding.
card_body_smallSmall card padding.
card is-featuredMakes the card stand out from others. Useful for featured pricing cards.