react-icons/io#IoIosArrowForward JavaScript Examples
The following examples show how to use
react-icons/io#IoIosArrowForward.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: index.js From layer5-ng with Apache License 2.0 | 6 votes |
FaqClassic = () => {
return (
<FaqSectionWrapper id="faq">
<img className="section__particle one" src={particle1} alt="img" />
<img className="section__particle two" src={particle2} alt="img" />
<Container fullWidthSM>
<SectionTitle className="section-title" UniWidth="80%">
<h2>
<span>Easy and perfect solution </span> for this app
</h2>
</SectionTitle>
<Row Vcenter={true}>
<Col className="faq-content-block" md={8} sm={12} offsetMd={2}>
<Accordion>
{data.faqs.map((faq, index) => (
<AccordionItem key={index}>
<AccordionTitle>
<h5>{faq.title}</h5>
<IconWrapper>
<OpenIcon>
<IoIosArrowForward />
</OpenIcon>
<CloseIcon>
<IoIosArrowDown />
</CloseIcon>
</IconWrapper>
</AccordionTitle>
<AccordionBody>
<p>{faq.content}</p>
</AccordionBody>
</AccordionItem>
))}
</Accordion>
</Col>
</Row>
</Container>
</FaqSectionWrapper>
);
}
Example #2
Source File: index.js From layer5-ng with Apache License 2.0 | 5 votes |
Faq = () => {
return (
<FaqSectionWrapper id="faq">
<img className="section__particle one" src={particle1} alt="img" />
<img className="section__particle two" src={particle2} alt="img" />
<Container fullWidthSM>
<Row Vcenter={true}>
<Col className="faq-thumb-block" xs={12} sm={6}>
<div className="faq-thumb">
<img src={FaqImage} alt="appion-faq" />
</div>
</Col>
<Col className="faq-content-block" xs={12} sm={6}>
<SectionTitle
className="section-title"
leftAlign={true}
UniWidth="100%"
>
<h4>Solution</h4>
<h2>
<span>Easy and perfect solution </span> for this app
</h2>
</SectionTitle>
<Accordion>
{data.faqs.map((faq, index) => (
<AccordionItem key={index}>
<AccordionTitle>
<h5>{faq.title}</h5>
<IconWrapper>
<OpenIcon>
<IoIosArrowForward />
</OpenIcon>
<CloseIcon>
<IoIosArrowDown />
</CloseIcon>
</IconWrapper>
</AccordionTitle>
<AccordionBody>
<p>{faq.content}</p>
</AccordionBody>
</AccordionItem>
))}
</Accordion>
<VintageBox
right={true}
vintageTwo={true}
position="relative"
>
<Button>Learn More</Button>
</VintageBox>
</Col>
</Row>
</Container>
</FaqSectionWrapper>
);
}
Example #3
Source File: index.js From layer5-ng with Apache License 2.0 | 5 votes |
Faq = () => {
return (
<FaqSectionWrapper id="faq">
<img className="section__particle one" src={particle1} alt="img" />
<img className="section__particle two" src={particle2} alt="img" />
<Container fullWidthSM>
<Row Vcenter={true}>
<Col className="faq-thumb-block" xs={12} sm={6}>
<div className="faq-thumb">
<img src={FaqImage} alt="appion faq" />
</div>
</Col>
<Col className="faq-content-block" xs={12} sm={6}>
<SectionTitle
className="section-title"
leftAlign={true}
UniWidth="100%"
>
<h4>Solution</h4>
<h2>
<span>Easy and perfect solution </span> for this app
</h2>
</SectionTitle>
<Accordion>
{data.faqs.map((faq, index) => (
<AccordionItem key={index}>
<AccordionTitle>
<h5>{faq.title}</h5>
<IconWrapper>
<OpenIcon>
<IoIosArrowForward />
</OpenIcon>
<CloseIcon>
<IoIosArrowDown />
</CloseIcon>
</IconWrapper>
</AccordionTitle>
<AccordionBody>
<p>{faq.content}</p>
</AccordionBody>
</AccordionItem>
))}
</Accordion>
<VintageBox
right={true}
vintageTwo={true}
position="relative"
>
<Button>Learn More</Button>
</VintageBox>
</Col>
</Row>
</Container>
</FaqSectionWrapper>
);
}
Example #4
Source File: Results.js From SauceKudasai with MIT License | 5 votes |
Results = () => {
const ctx = useContext(Context);
const truncate = (str, num) => {
if (str.length <= num) return str;
return str.substring(0, num).concat('...');
};
const closeResult = () => {
ctx.cardhandler();
};
return (
<AnimatePresence>
{ctx.animeinfoexits ? (
<>
<Overlay key="Overlay" onClick={closeResult} />
<Animecard key="animecard" variants={variants} initial="initial" animate="animate" exit="exit">
<Banner>
<Closebtn onClick={closeResult}></Closebtn>
{ctx.animeinfo.bannerImage ? (
<>
<Bannerimg src={ctx.animeinfo.bannerImage}></Bannerimg>
<Banneroverlay></Banneroverlay>{' '}
</>
) : null}
</Banner>
<Animeinfo>
<Cover>
<Coverimg src={ctx.animeinfo.coverImage.large} alt=""></Coverimg>
</Cover>
<Animetext>
<Title>{ctx.animeinfo.title.english || ctx.animeinfo.title.native}</Title>
<Info>
<Details>
<h3>Ep {ctx.animeinfo.episode}</h3>
<h3>at {(ctx.animeinfo.time / 60).toFixed(2).replace('.', ':')}</h3>
<h3>{ctx.animeinfo.seasonYear}</h3>
<Similarity props={ctx.animeinfo.similarity.toFixed(2) * 100}>
{ctx.animeinfo.similarity.toFixed(2) * 100}%
</Similarity>
</Details>
</Info>
<Summary>
<p>{ctx.animeinfo.description ? truncate(ctx.animeinfo.description, 250) : null}</p>
<Links>
{ctx.animeinfo.externalLinks.map(({ id, site, url }) => {
return (
<li key={id}>
<StyledLink href={url} target="_blank">
{site}
</StyledLink>
</li>
);
})}
</Links>
</Summary>
</Animetext>
<Resultfooter>
<Moreinfo href={ctx.animeinfo.siteUrl} target="_blank">
<AiOutlineInfoCircle size={15} />
<span>More Info</span>
<IoIosArrowForward size={15} />
</Moreinfo>
<span>
Information by{' '}
<StyledLink href="https://anilist.com" target="_blank">
Anilist
</StyledLink>
</span>
</Resultfooter>
</Animeinfo>
</Animecard>
</>
) : null}
</AnimatePresence>
);
}