Dev Design Library

For

Used to loop over an array and render a component for each item.

For preview
Library
Chakra UI
Framework
React
Type
component
License
MIT
Install
npm i @chakra-ui/react @emotion/react
Files
  • packages/react/src/components/for/for.tsx
  • packages/react/src/components/for/index.ts
  • packages/react/src/utils/index.ts
  • packages/react/src/utils/call-all.ts
  • packages/react/src/utils/clone.ts
  • packages/react/src/utils/compact.ts
  • packages/react/src/utils/create-props.ts
  • packages/react/src/utils/cx.ts
Source
https://github.com/chakra-ui/chakra-ui

Categories

More from Chakra UI