kotii-head
v1.0.0-beta.2.0
Published
is a group of components and hooks used internally in kotii framework
Readme
Convenience Components for kotii js
kotii-head is that provides app context management, head management, hooks, and reusable components for images and SVGs.
Installation
npm install kotii-head
# or
yarn add kotii-headExports
This package exports several components, hooks, and context utilities:
Components
AppProvider
Provides the application-wide context using the React Context API. Wrap your app with this provider to share global state.
Head
A React component to declaratively manage <head> elements (such as meta tags).
HeadHelmet
A specialized head management component, compatible with react-helmet patterns.
Image
A reusable image component with potential built-in optimizations.
Svg
A reusable SVG component that supports inline SVG rendering.
Hooks
useAppContext
Custom hook to access the state and methods provided by AppProvider.
useUniversalEffect
A hook that behaves like useEffect but works universally in both client- and server-side rendering environments.
Questions & Support
For questions and support please use kotii-routerjs's Suppport page on Github repo.
Issues
Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.
Changelog
Detailed changes for each release are documented in our Changelog.
Release Notes
A summary of release changes can be found in our Release Notes.
Stay In Touch
Contribution
Please make sure to read the Contributing Guide before making a pull request.
Licence
MIT - see the LICENSE file for details.
© Kotii Ecosystem 2025-present. Ntsako (Surprise) Mashele
