Skip to content

Card - Frameworks

Card is an interactive layout component to display information.

ElementsreleasedReactreleasedVuereleased

Vue

Import

Use in entire app

js
import { Card } from '@warp-ds/vue'
app.use(Card)

Use in one component and special imports

You can import the component like so:

js
import { wCard } from '@warp-ds/vue';

or import it individually to optimize your JS bundle size by adding only the components you need:

js
import { wCard } from '@warp-ds/vue/card'

Props

Optional Props

NameTypeDefaultDescription
selectedbooleanIf the card is selected
flatbooleanRemoves box shadow around card
asstringdivThe DOM element to emit

Questions?

Feel free to ask any questions on usage in the Warp DS Slack channel: #warp-design-system