MCPcopy Create free account
hub / github.com/adobe/react-spectrum / LibraryCards

Function LibraryCards

packages/dev/s2-docs/pages/WelcomeHeader.tsx:33–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33export function LibraryCards() {
34 return (
35 <div
36 className={style({
37 display: 'flex',
38 gap: 20,
39 flexWrap: 'wrap',
40 justifyContent: {default: 'center', lg: 'start'}
41 })}>
42 <ProductCard size="L">
43 {TAB_DEFS['react-spectrum'].icon}
44 <Content>
45 <Text slot="title">{TAB_DEFS['react-spectrum'].label}</Text>
46 <Text slot="description">{TAB_DEFS['react-spectrum'].description}</Text>
47 </Content>
48 <Footer>
49 <LinkButton href="s2/" variant="accent">
50 Get started
51 </LinkButton>
52 </Footer>
53 </ProductCard>
54
55 <ProductCard size="L">
56 {TAB_DEFS['react-aria'].icon}
57 <Content>
58 <Text slot="title">{TAB_DEFS['react-aria'].label}</Text>
59 <Text slot="description">{TAB_DEFS['react-aria'].description}</Text>
60 </Content>
61 <Footer>
62 <LinkButton href="react-aria/" variant="accent">
63 Explore
64 </LinkButton>
65 </Footer>
66 </ProductCard>
67 </div>
68 );
69}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected