npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

fluekit

v1.0.1

Published

A Flutter-style Layout UI kit for Vue

Readme

FlueKit

FlueKit is a Vue 3 component library that brings Flutter's layout paradigm to the web. It allows you to build complex, responsive user interfaces using declarative, composable widgets instead of struggling with CSS layout quirks.

✨ Features

  • Flutter-like API: Familiar widget names and properties (Row, Column, Stack, Container, Expanded, etc.).
  • Responsive by Default: Built-in px to vw conversion system for mobile-first development.
  • Type Safe: Written in TypeScript with full type definitions.
  • Composable: Build UIs by nesting components, just like in Flutter.
  • Zero-CSS Layouts: Handle alignment, padding, margin, and positioning purely through props.

📦 Installation

npm install fluekit
# or
pnpm add fluekit
# or
yarn add fluekit

🚀 Usage

Basic Example

<script setup>
import { Container, Column, Row, Text, SizedBox, Alignment, MainAxisAlignment } from "fluekit";
</script>

<template>
  <Container alignment="center" color="#f5f5f5" :height="400">
    <Column :mainAxisAlignment="MainAxisAlignment.center">
      <!-- Avatar -->
      <Container
        :width="80"
        :height="80"
        :decoration="{
          color: 'blue',
          borderRadius: { all: 40 },
          boxShadow: [{ color: '#00000033', blurRadius: 10, offset: { x: 0, y: 5 } }],
        }"
      />

      <SizedBox :height="20" />

      <!-- Text Content -->
      <Text :style="{ fontSize: 24, fontWeight: 'bold' }"> Hello FlueKit </Text>

      <SizedBox :height="8" />

      <Text :style="{ color: '#666' }"> Flutter-style layouts in Vue 3 </Text>
    </Column>
  </Container>
</template>

Responsive Design (px to vw)

FlueKit automatically converts number values (e.g., :width="100") to vw units based on a default design width of 750px.

To change the design width (e.g., to 375px):

import { setDefaultVW } from "fluekit";

// Call this in your main.ts or App.vue setup
setDefaultVW(375);

To disable automatic conversion:

import { setTransform } from "fluekit";

setTransform(false); // Numbers will be treated as px

🧩 Component Overview

Layout Widgets

  • Container: A convenience widget that combines common painting, positioning, and sizing.
  • Row / Column: Flexbox layouts for horizontal and vertical arrays.
  • Stack / Positioned: Overlapping layouts.
  • Expanded: Expands a child of a Row or Column to fill available space.
  • SizedBox: A box with a specified size.
  • Center / Align: Alignment widgets.
  • Wrap: A widget that displays its children in multiple horizontal or vertical runs.

Scrolling

  • ListView: A scrollable list of widgets.
  • GridView: A scrollable, 2D array of widgets.
  • ScrollView: A box in which a single widget can be scrolled.

Painting & Effects

  • Opacity / AnimatedOpacity: Makes its child partially transparent.
  • Transform: Applies a transformation before painting its child.
  • Decorations: Rich styling support via BoxDecoration (borders, shadows, gradients, images).

Interactions

  • GestureDetector: Detects gestures (tap, double tap, pan, long press).
  • IgnorePointer: Invisible widget that controls hit-testing.

📄 License

MIT