# `ArrayField` Sometimes you need highly dynamic forms where the data is represented by an array. **Note:** how you can dynamically add or remove fields. ```jsx import { Debug, ArrayField } from 'informed'; import { Form, Button, Input } from 'YourComponents'; const initialValue = [ { name: 'Matt', age: '28' }, { name: 'Hope', age: '23' } ]; const Example = () => (
{({ add }) => { return ( <> {({ remove, name }) => ( <>

{name}

)}
); }}
); export default Example; ``` ```jsx import { Debug, ArrayField } from 'informed'; import { Form, Button, Input } from 'YourComponents'; const initialValue = [ { name: 'Matt', age: '28' }, { name: 'Hope', age: '23' } ]; const Example = () => (
{({ add }) => { return ( <> {({ remove, name }) => ( <>

{name}

)}
); }}
); export default Example; ```