Modular Foundations for React & Expo

Unified foundations for serious React apps.

TypeScript libraries for styling, forms, state management, i18n and more. Use them together or bring one into an existing app.

View on GitHub
Start small Compose as needed Let types guide you Keep control of your stack
Core Foundations

Libraries for styling, forms, state management, and i18n

@fluentic/style
Static extraction

Component style composition

Typed slots, variants, and scoped themes for JSX. Extract static styles at build time and compose the rest at runtime.

Card.tsx style() + css prop
import { style } from '@fluentic/style';
const card = style({
padding: 16,
borderRadius: 12,
});
export const Card = () => <div css={card}>Hello</div>;
Reuse styles across components View Style Docs
@fluentic/form
Field subscriptions

Typed field refs. One controller.

Framework-independent form state with typed field refs, validation, and subscription-scoped React updates.

checkout-form.tsx form.refs + form.watch()
const form = useCreateForm({ initialData: { customer: { email: '', name: '' } } });
// Typed ref carries complete path
const emailRef = form.refs.customer.email;
form.watch(emailRef).value();
form.set(emailRef).value('team@fluentic.dev');
Catch field path typos at compile time View Form Docs
@fluentic/resource
Typed resources

Data fetching. Simply composed.

Resource-first TypeScript state. Turn remote data into ordinary typed functions that cache, deduplicate, invalidate, and stay in sync through tracked reads.

product-resource.ts useResource()
import { createResource } from '@fluentic/resource';
import { useResource } from '@fluentic/resource-react';
const product$ = createResource(
(id: string) => api.getProduct(id)
);
const product = useResource(product$(id));
Reuse cached results View Resource Docs
@fluentic/i18n
Catalog extraction

i18n made simple.

Write messages inline where they belong. Fluentic brings natural ICU formatting, typed descriptors, automated catalog extraction, and locale loaders into one workflow.

locale.tsx t.text() + t.jsx()
import { t } from '@fluentic/i18n';
// Format a message with typed values
t.text('Hello, {name}!', { name: 'Alex' });
t.jsx('Updated {count, plural, one{# item} other{# items}}', { count: 2 });
Translate without hooks View i18n Docs
@fluentic/router
Typed destinations

Named routes. Typed destinations.

Compose named routes, infer parameters, and give each feature its own nested layouts. Build navigation with typed destinations.

routes.ts route() + navigate()
const app = route('/app');
const agent = route(app, '/agents/$agentId');
const rules = route(agent, '/rules');
 
navigate(rules({ agentId: '42' }));
Bind parameters before navigation View Router Docs

Coming Soon

React Native

@fluentic/navigation

Connect header gestures and screen transitions in React Native apps.

Expo

@fluentic/expo

Run local builds, manage release channels, and serve OTA updates on free Cloudflare Pages.

Contact the Fluentic team

Have a question about a library or an idea for a package?

contact@fluenticstack.com