Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@fluixi-ui/fx

Latest version: v0.1.0-alpha.17

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: bambiste
17 Versions
6.6K Downloads

Scan summary

@fluixi-ui/fx was last scanned on 29 Nov 2026 at version 0.1.0-alpha.17. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 17 versions; the latest 3 were published within 6 days (24–29 Nov 2026).
  • Findings: No rules fired in version 0.1.0-alpha.17.
  • Downloads: 6,623 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.1.0-alpha.17 LATEST 29 Nov 2026 No rules fired
0.1.0-alpha.16 28 Nov 2026 No rules fired
0.1.0-alpha.15 24 Nov 2026 No rules fired
0.1.0-alpha.14 20 Nov 2026 Not shown
0.1.0-alpha.13 17 Nov 2026 Not shown

No rules fired in 0.1.0-alpha.17

Findings

Findings for v0.1.0-alpha.17. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.1.0-alpha.17; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@fluixi-ui/fx

Token-aware style objects for Fluixi UI — the engine behind the fx prop.

<Box fx={{ p: 4, bg: 'bgSubtle', radius: 'lg', _hover: { bg: 'bgMuted' } }} />

No CSS-in-JS runtime, no dependencies. Values resolve to the --flx-ui-* custom properties @fluixi-ui/tokens defines, so anything written with fx follows the theme, the accent, and the skin — including a theme driven from @fluixi-css.

Values

A property's scale decides both which tokens a string key resolves against and what a bare number means:

p: 3          // padding: var(--flx-ui-space-3)   — space scale
m: -2         // margin: calc(var(--flx-ui-space-2) * -1)
width: 240    // width: 240px                     — sizing is pixels
zIndex: 3     // z-index: 3                       — unitless stays bare
radius: 'lg'  // border-radius: var(--flx-ui-radius-lg)
bg: 'primary' // background-color: var(--flx-ui-color-primary)
bg: 'accent-9'// background-color: var(--flx-ui-accent-9)
bg: '#ff0000' // background-color: #ff0000        — raw CSS always allowed

Aliases are deliberately few — p px py m mx my bg radius shadow. Everything else is the real CSS property name (paddingTop, not pt), so there's no table to learn. px/py map to the logical properties and follow writing direction.

Selectors

A closed set of _-prefixed keys. They expand to the library's real conventions, not just the CSS pseudo — headless parts signal state through data-*/ARIA:

_disabled: { opacity: 'disabled' }
// :disabled, [disabled], [data-disabled]

State: _hover _active _focus _focusVisible _focusWithin _disabled _checked _selected _expanded _open _invalid Pseudo-elements: _before _after _placeholder _selection Structural: _first _last _odd _even _notFirst _notLast _children Environment: _dark _light _hc _rtl _motionReduce _motionSafe

_dark targets [data-theme='dark'] — the axis createTheme drives — and matches the element itself as well as a themed ancestor, so scoped theming works.

The set being closed is the point: fx can't reach an app's class names, so a component can never couple itself to consumer CSS.

Nesting composes:

_dark: { _hover: { bg: 'primaryHover' } }

Responsive

Mobile-first objects keyed by breakpoint. base carries no media query:

fx={{ p: { base: 3, md: 5 } }}

Container queries

Respond to the space a component is actually given rather than the viewport. The container is an ancestor — an element can't query itself:

<Card fx={{ containerType: 'inline-size' }}>
  <Stack fx={{ _container: { md: { flexDirection: 'row' } } }} />
</Card>

Keys are a breakpoint name or a raw condition. Element-relative sizes often don't line up with the page scale, so raw conditions are first-class:

_container: { '(min-width: 30rem)': { gap: 4 } }

Name a container when the nearest one isn't the one you mean:

<aside fx={{ containerType: 'inline-size', containerName: 'panel' }}>
  <div fx={{ _container: { name: 'panel', lg: { p: 6 } } }} />
</aside>

At-rules nest rather than combine, so a container query and a media query can wrap the same declarations.

Colour

Helpers emit CSS; they never compute a colour in JS. That matters here: tokens are custom properties that re-resolve against data-theme / data-accent, so a value computed at render would freeze whichever theme happened to be active. color-mix() and relative colour syntax re-resolve on their own, so a derived colour keeps following the theme, the accent and the skin.

import { alpha, mix, lighten, darken } from '@fluixi-ui/fx';

alpha('primary', 12)      // color-mix(in oklab, var(--flx-ui-color-primary) 12%, transparent)
mix('primary', 'bg', 20)  // 20% primary over the page background
lighten('primary', 8)     // oklch(from … calc(l + 0.08) c h / alpha)
darken('border', 10)

Every amount is a percentage, 0–100. lighten/darken shift lightness in OKLCH, which keeps chroma and hue — a tint stays the same colour instead of drifting grey the way mixing with white or black does. They need relative colour syntax (Chrome 119+, Safari 16.4+, Firefox 128+); for a wider floor use mix(color, 'white', n).

Ready-made objects

An fx value is a plain object, so a utility is just a named one — import it, spread it, merge it:

import { flexBetween, muted, bordered, clickable, truncate, mergeFx } from '@fluixi-ui/fx';

<div {...fxProps(() => mergeFx(bordered, clickable, { p: 3 }))} />
  • utilities — the everyday one-liners: flex*, fullWidth, stickyTop, muted, bold, nowrap, bordered, rounded, pill, scrim, pointer, clickable, focusRing, disabled. The ones that carry a decision are the point: flexFill includes the min-width: 0 a flex child needs before its text will truncate, muted is the token rather than a picked grey, focusRing is :focus-visible only.
  • presets — the recipes that only work as a set: truncate, lineClamp, visuallyHidden, stack, row, center, scrollY, scrollbarHidden, gradientText, aspect.
  • variants — map a component's own props to fx without a ternary chain: later groups win, false turns a defaulted group off.

Animation

keyframes() defines an animation and returns its name; animate() writes the longhands. A bare second argument is the duration.

const pulse = keyframes({ from: { opacity: 0.4 }, to: { opacity: 1 } });

fx={animate(pulse, { repeat: 'infinite' })}
fx={fadeIn('slow')}
fx={slideIn('bottom', { distance: 16 })}

Stop values go through the resolver, so tokens work inside them, and the name is hashed from the resolved body so the same animation defined twice is one rule. The stock set — fadeIn/fadeOut, scaleIn/scaleOut, slideIn/slideOut, spin, pulse, shimmer — registers its rules on first use rather than on import.

animate returns an object rather than the animation shorthand string, so it merges with what surrounds it instead of resetting the longhands it doesn't mention.

How it lands on the page

Flat declarations and every base value go to the style attribute — most fx usage never touches the stylesheet. Only selector keys and non-base breakpoints need a rule; those are hashed, deduped, and inserted under [data-fx="…"] into @layer flx.fx, which sits above components and skins so fx wins, and below unlayered consumer CSS so an app can still override it.

Server rendering

Inline declarations need nothing. For the rule tier, emit what was collected:

const { css, tokens } = collectFx();
`<style data-fx-sheet data-fx-tokens="${tokens}">${css}</style>`;

The client adopts that sheet instead of re-inserting its rules. resetFx() clears a request's rules but keeps the animations — those are registered once at module scope, so dropping them would leave every request after the first naming an animation nobody emits.

Composing

mergeFx folds a component's own styling, its sp entries, and the consumer's fx into one object — later wins per property, selector blocks and breakpoint records merge rather than replace:

resolveFx(mergeFx(componentOwn, sp.body?.fx, props.fx));

A compound component reaches its parts with slot, which takes both channels: the part's own sp entry, and the styles a caller addressed to it through fx.sp.

<PageBody {...slot('body', local.fx, local.sp)} />

Binding it to an element

const [local, others] = splitProps(props, ['fx', 'style']);
return <div {...fxProps(() => local.fx, () => local.style)} {...others} />;

Pass accessors, not values. The resolve runs inside a memo, so a reactive fx updates without re-rendering. A style prop is merged last and stays raw CSS — no token resolution — so it remains the lowest-level escape hatch.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @fluixi-ui/fx

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229