Ribbon can highlight cards
Use .hk-ribbon-type-1
with .overhead-start, .overhead-end or .overhead-center
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
l
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
const RibbonOverhead = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 overhead-start">
<span>overhead start</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 overhead-center">
<span>overhead center</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 overhead-end">
<span>overhead end</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonOverhead;
Class | Values |
---|---|
className="hk-ribbon-type-1 overhead-[value]" | start / center / end |
Use .hk-ribbon-type-1
with .start-over, or .end-over
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
l
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
const RibbonOver = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 start-over">
<span>Start over</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 end-over">
<span>End over</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonOver;
Class | Values |
---|---|
class="hk-ribbon-type-1 [value]-over" | start / end |
Use .hk-ribbon-type-1
with .start-over, or .end-over
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
l
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
const RibbonTouch = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 start-touch">
<span>start touch</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 end-touch">
<span>end touch</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonTouch;
Class | Values |
---|---|
class="hk-ribbon-type-1 [value]-over" | start / end |
Use the .hk-ribbon-type-1 .ribbon-square
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
l
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
const RibbonSquare = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-square overhead-start">
<span>overhead start</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-square overhead-center">
<span>overhead center</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-square overhead-end">
<span>overhead end</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonSquare;
Use the .hk-ribbon-type-1 .ribbon-wth-icon
.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
l
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
import { Award, Settings } from 'react-feather';
const RibbonWithIcons = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon overhead-start">
<span><span className="feather-icon"><Award /></span> overhead start</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon overhead-center">
<span><span className="feather-icon"><Settings /></span>overhead center</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon overhead-end">
<span><span className="feather-icon"><Award /></span>overhead end</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonWithIcons;
Use the .hk-ribbon-type-1 .ribbon-wth-icon .ribbon-wth-flag
.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
import { Award, Settings } from 'react-feather';
const RibbonWithFlag = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag overhead-start">
<span><span className="feather-icon"><i data-feather="award" /></span> overhead start</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag overhead-center">
<span><span className="feather-icon"><i data-feather="settings" /></span>overhead center</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag overhead-end">
<span><span className="feather-icon"><i data-feather="award" /></span>overhead end</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag start-over">
<span><span className="feather-icon"><i data-feather="award" /></span>left over</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag end-over">
<span><span className="feather-icon"><i data-feather="award" /></span>right over</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag start-touch">
<span><span className="feather-icon"><i data-feather="award" /></span>start touch</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 ribbon-wth-icon ribbon-wth-flag end-touch">
<span><span className="feather-icon"><i data-feather="award" /></span>end touch</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonWithFlag;
Use the .hk-ribbon-type-2 .ribbon-wth-flag
.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
import { Award, Settings } from 'react-feather';
const RibbonType2 = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 ribbon-wth-flag overhead-start">
<span><span className="feather-icon"><i data-feather="award" /></span></span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 ribbon-wth-flag overhead-center">
<span><span className="feather-icon"><i data-feather="archive" /></span></span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 ribbon-wth-flag overhead-end">
<span><span className="feather-icon"><i data-feather="anchor" /></span></span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 ribbon-wth-flag overhead-start top-touch">
<span><span className="feather-icon"><i data-feather="book-open" /></span></span>
</div>
<div className="card-body mt-5">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</div>
<div className="card-footer text-muted">
Card Footer
</div>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 ribbon-wth-flag overhead-center top-touch">
<span><span className="feather-icon"><i data-feather="briefcase" /></span></span>
</div>
<div className="card-body mt-5">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</div>
<div className="card-footer text-muted">
Card Footer
</div>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 ribbon-wth-flag overhead-end top-touch">
<span><span className="feather-icon"><i data-feather="bell" /></span></span>
</div>
<div className="card-body mt-5">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</div>
<div className="card-footer text-muted">
Card Footer
</div>
</Card>
</Col>
</Row>
);
}
export default RibbonType2;
Use the .hk-ribbon-*
.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
With supporting text below as a natural lead-in to additional content.
import React from 'react';
import { Card, Col, Row } from 'react-bootstrap';
const RibbonColors = () => {
return (
<Row>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-1 hk-ribbon-warning overhead-start">
<span>overhead start</span>
</div>
<Card.Body className="mt-4">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 hk-ribbon-success ribbon-wth-flag overhead-center top-touch">
<span><span className="feather-icon"><i data-feather="award" /></span></span>
</div>
<Card.Body className="mt-5">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
<Col sm={4}>
<Card>
<div className="hk-ribbon-type-2 hk-ribbon-primary ribbon-wth-flag overhead-center top-touch">
<span><span className="feather-icon"><i data-feather="award" /></span></span>
</div>
<Card.Body className="mt-5">
<h5 className="card-title">Special title treatment</h5>
<p className="card-text">With supporting text below as a natural lead-in to additional content.</p>
</Card.Body>
<Card.Footer className="text-muted">
Card Footer
</Card.Footer>
</Card>
</Col>
</Row>
);
}
export default RibbonColors;
Class | Values |
---|---|
className="hk-ribbon-type-1 hk-ribbon-[Value]" | primary / success / warning / danger / info / light / dark / red / green / pink / purple / violet / indigo / blue / sky / cyan / teal / neon / lime / sun / yellow / orange / pumpkin / brown / grey / gold / smoke |