Nutro Docs

Educative.io Inspirations

Educative.io Inspirations

Educative.io is an ed-tech website with awesome clean UI. Few components inspired from their site can be found below

Check educative.io original website here

Note:

  • All the below are react components

  • In your react projects, install the dependancies using npm (or) yarn

In case of npm

npm i nutro-components

In case of yarn

yarn add nutro-components

Buttons

Educative.io flavoured buttons of different states

educative buttons
PropValueDefault
typeprimary, primary_outlined, outlinedoutlined
import { EdButton } from "nutro-components";
<EdButton type='primary'>Explore courses</EdButton>
<EdButton type='outlined'>Explore courses</EdButton>
<EdButton type='primary_outlined'>Explore courses</EdButton>

Search Input

Educative.io flavoured Search Input component

educative search educative search
import { EdSearch } from "nutro-components";
<EdSearch />;

Select Input

Educative.io flavoured custom select component

educative buttons educative buttons
PropValue
optionsarray of options
import { EdButton } from "nutro-components";
const options = [
{id: 1, name: 'USA'},
{id: 2, name: 'Canada'},
{id:3, name: 'UK'},
{id:4, name: "Brazil"},
{id:5, name: 'India'}
]
<EdSelect options={options} />;

Educative.io flavoured custom cookie banner - mobile & desktop version

cookie banner mobile cookie banner
Proptype
cookieTextstring
buttonTextstring
import { CookieBanner } from "nutro-components";
const cookieText = 'We use cookies to ensure you get the best experience on our website. Please review our <a className={styles.underline} href="/#">Privacy Policy</a> to learn more.'
const buttonText = 'Got it!'
<CookieBanner cookieText={cookieText} buttonText={buttonText}/>
Edit this page on GitHub