Add FishFYI entity cards, comparison tables, glossary terms, interactive tools, and inline elements to any website with a single line of HTML. No build tools. No dependencies. Live data from the FishFYI database.
Entity Card Preview
Two lines of HTML. That's all it takes.
Select a widget type to preview. Every widget includes Shadow DOM isolation and a "Powered by FishFYI" backlink.
Widget preview loads from live API
Widget preview loads from live API
Configure widgets with data-* attributes.
| Attribute | Values | Default | Description |
|---|---|---|---|
| data-fishfyi | entity, compare, glossary, guide, search, [tools] | required | Widget type to render |
| data-slug | any slug | — | Entity slug from the FishFYI database |
| data-theme | light, dark, sepia, auto | light | Visual theme (auto follows OS preference) |
| data-styleVariant | modern, organic | modern | Widget design style |
| data-size | default, compact, large | default | Widget size |
| data-slugs | slug-a,slug-b | — | Comma-separated slugs for compare widget |
| data-placeholder | any string | Search... | Search box placeholder text |
2 design styles × 4 themes. Mix and match to fit your site.
Clean lines, rounded corners, accent gradients. Ideal for product pages and educational sites. Default style.
Natural curves, earth-tone aesthetics, field-guide look. Ideal for nature blogs, conservation sites, and educational content.
Set explicitly or use auto to follow the visitor's OS preference (prefers-color-scheme).
Warm paper-tone background. Perfect for nature journals, field guides, and botanical documentation.
Multiple delivery options to fit your workflow.
Global CDN, auto-updates with npm. Recommended for most use cases.
<script src="https://cdn.jsdelivr.net/npm/fishfyi-embed@1/dist/embed.min.js"></script>
For Webpack, Vite, Rollup bundlers.
npm install fishfyi-embed // In your JS/TS: import 'fishfyi-embed';
Lock to a specific version for production stability.
<script src="https://cdn.jsdelivr.net/npm/fishfyi-embed@1.0.0/dist/embed.min.js"></script>
Part of FYIPedia — open-source developer tools for species taxonomy, ornithology, marine biology, botany, and paleontology. Hub: naturefyi.com.
| Site | Domain | Package |
|---|---|---|
| SpeciesFYI | speciesfyi.com | npm |
| BirdFYI | birdfyi.com | npm |
| FishFYI | fishfyi.com | npm |
| PlantFYI | plantfyi.com | npm |
| DinoFYI | dinofyi.com | npm |