Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@statflo/ui
Advanced tools
The Statflo Component Library provides a set of React components that can be used to build React applications consistent with the Statflo brand.
First add or install this package as a dependency in your existing React project
yarn add @statflo/ui
or
npm install @statflo/ui
In order to use the Statflo brand font, copy over this link in the head
of your HTML file.
<link rel="stylesheet" href="https://cdn.statflo.com/brandon/brandon.css" />
Import the CSS file into the main app file (ie. App.tsx
).
import "@statflo/ui/index.css";
This library uses Tailwind CSS for styling the different components. To gain access to the Statflo theme and tailwind configuration, setup tailwind and add the below code to your tailwind.config.js
file.
The theme and configuration files are available under the tailwind
folder for reference.
const base = require("@statflo/ui/tailwind/tailwind-workspace-preset.js");
/** @type {import('tailwindcss').Config} */
module.exports = {
...base,
// ... any other config
};
import { Button } from "@statflo/ui";
<Button type="secondary">Hello World</Button>
Please see each component in our Storybook for specific documentation related to their usage.
FAQs
Statflo's UI library
We found that @statflo/ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.