// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Card} from '@astryxdesign/core/Card'; import {Stack} from '@astryxdesign/core/Layout'; import {Grid} from '@astryxdesign/core/Grid'; import {Text, Heading} from '@astryxdesign/core/Text'; const LEVELS = [ {elevation: 'none' as const, caption: 'Flat — sits on the page (default)'}, {elevation: 'low' as const, caption: 'Low — lifts off slightly'}, {elevation: 'med' as const, caption: 'Med — clearly raised'}, {elevation: 'high' as const, caption: 'High — floats well above'}, ]; export default function CardElevations() { return ( {LEVELS.map(({elevation, caption}) => ( elevation="{elevation}" {caption} ))} ); }