MCPcopy Create free account
hub / github.com/chakra-ui/panda / Keyframes

Function Keyframes

website/src/components/token-docs/keyframes.tsx:6–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4import { Token, token } from '@/styled-system/tokens'
5
6export const Keyframes = () => {
7 return (
8 <div className={grid({ columns: 3, gap: '8', fontSize: 'sm' })}>
9 {Object.keys(defaultKeyframes).map(keyframe => {
10 return (
11 <div key={keyframe} className={stack()}>
12 <div
13 className={square({
14 size: '12',
15 bg: 'pink.200'
16 })}
17 style={{ animation: token(`animations.${keyframe}` as Token) }}
18 />
19 <p className={css({ fontWeight: 'medium' })}>{keyframe}</p>
20 </div>
21 )
22 })}
23 </div>
24 )
25}

Callers

nothing calls this directly

Calls 6

gridFunction · 0.90
stackFunction · 0.90
squareFunction · 0.90
tokenFunction · 0.90
cssFunction · 0.90
keysMethod · 0.80

Tested by

no test coverage detected