Newsletter

Newsletter provides you with a built-in form to handle your emailing list, with a light interface to add text content around.

Default

No caption

No description

Title only

Custom controls

Extended

This component was extended using styled() from styled-components.

Props

NameTypeDefaultDescription
captionstringThe newsletter's caption. Often used to display clear consent sentence. Do not forget to mention you are not sending spam ;)
childrennodeThe components to render inside the form. You can either use the ones exposed from Newsletter or bring your owns.
descriptionstringThe description of your newsletter. You can use it to explain why the users should subscribe to your newsletter!
titlestringThe newsletter's title.

The ref will be forwarded to the html root element, as well as any other props.



Newsletter.Button

Default Button

Various props

Extended

This component was extended using styled() from styled-components.

Props

This component extends Material's UI <Button> so you can use all its props as well. Check out its Api.

The ref will be forwarded to the html root element, as well as any other props.



Newsletter.Input

Default Input

Various props

:)

Error state

Extended

This component was extended using styled() from styled-components.

Props

This component extends Material's UI <OutlinedInput> so you can use all its props as well. Check out its Api.

The ref will be forwarded to the html root element, as well as any other props.