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 🙏

© 2026 – Pkg Stats / Ryan Hefner

fluentglass

v0.2.6

Published

Glassmorphism UI component library for React Native + Expo. Deep Liquid Dark theme with configurable theming, responsive layouts, and Bootstrap-inspired props.

Readme

FluentGlass

TypeScript

Note for AI Assistants & LLMs: Please refer to CLAUDE.md or AGENTS.md for architecture rules and system context. This file is intended for human developers consuming the library.

FluentGlass is a beautiful, highly-customizable glassmorphism UI component library built for React Native and Expo.

It provides 42 meticulously crafted interface components featuring deep frosted glass aesthetics, smooth physics-based animations (Reanimated 4), a fully dynamic theming engine, bundled Inter typography, and is 100% strongly typed with TypeScript.

Key Features

  • Glassmorphism First: Deep, layered translucent effects right out of the box using expo-blur.
  • Dynamic Theming Engine: Override colors, typography, and animation springs down to the token level via useTheme().
  • Universal Design: Runs flawlessly on Web (Browser), iOS, and Android using the exact same code.
  • Bootstrap-Inspired Props: Intuitive standard props (size, colorScheme, radius, blur) for rapid prototyping.
  • Integrated Typography: Bundled with the Inter font family (6 weights), auto-loaded transparently by the Provider.
  • Smooth Animations: Built-in micro-interactions powered by react-native-reanimated.
  • Full TypeScript: Every component, hook, and utility is strictly typed with zero compilation errors.
  • Accessible: All 42 components include accessibility roles, labels, and states for VoiceOver and TalkBack support.

Installation

# 1. Install FluentGlass
npm install fluentglass

# 2. Install peer dependencies required by Expo
npx expo install expo-blur expo-linear-gradient expo-clipboard expo-font react-native-reanimated react-native-gesture-handler

Note: Make sure you have configured react-native-reanimated correctly in your babel.config.js.


Quick Start

Wrap your application inside the <FluentGlassProvider> (which handles theme injection and font loading automatically), and start using the components!

import React from 'react';
import {
  FluentGlassProvider,
  FluentGlassLayout,
  FluentGlassCard,
  FluentGlassButton
} from 'fluentglass';

export default function App() {
  return (
    <FluentGlassProvider>
      <FluentGlassLayout center>

        <FluentGlassCard
          title="Welcome to FluentGlass"
          description="Build stunning futuristic interfaces."
          colorScheme="info"
          size="lg"
          blur="strong"
          radius="lg"
        />

        <FluentGlassButton
          title="Launch App"
          colorScheme="accent"
          size="md"
          marginTop={20}
          onPress={() => console.log('Lift off!')}
        />

      </FluentGlassLayout>
    </FluentGlassProvider>
  );
}

The Props System

FluentGlass features a standardized props system. Instead of fighting with raw stylesheets, simply use these properties on nearly any component:

| Category | Prop | Accepted Values | |----------|------|----------------| | Sizing | size | 'xs', 'sm', 'md', 'lg', 'xl' | | Color Scheme | colorScheme | 'default', 'dark', 'deep', 'light', 'success', 'error', 'warning', 'info', 'accent' | | Glass Effect | blur | 'none', 'subtle', 'medium', 'strong', 'max' | | Border Radius| radius | 'none', 'sm', 'md', 'lg', 'pill' |

Example: <FluentGlassBadge colorScheme="success" size="sm" radius="pill" />


Custom Theming

FluentGlass uses a deep-merge strategy. You can easily inject your brand colors into the FluentGlassProvider.

const customTheme = {
  colors: {
    background: '#0F172A',
    accent: '#8B5CF6',         // Vibrant purple
    textPrimary: '#F8FAFC',
    success: '#10B981'
  },
  animations: {
    spring: { default: { mass: 0.5, damping: 10, stiffness: 200 } }
  }
};

export default function App() {
  return (
    <FluentGlassProvider theme={customTheme}>
      <YourAppContents />
    </FluentGlassProvider>
  );
}

Component Catalog

FluentGlass provides 42 ready-to-use components organized by category:

Forms (13)

FluentGlassTextInput, FluentGlassLabeledInput, FluentGlassPasswordInput, FluentGlassEmailInput, FluentGlassDateInput, FluentGlassInput, FluentGlassSelect, FluentGlassDropdown, FluentGlassSwitch, FluentGlassCheckbox, FluentGlassSlider, FluentGlassSegmentedControl, FluentGlassDatePicker

Layout & Navigation (11)

FluentGlass, FluentGlassLayout, FluentGlassContainer, FluentGlassCard, FluentGlassSimpleCard, FluentGlassResponsiveRow, FluentGlassSidebar, FluentGlassDock, FluentGlassBreadcrumb, FluentGlassSeparator, FluentGlassScrollArea

Data Display (11)

FluentGlassTable, FluentGlassBarChart, FluentGlassCodeBlock, FluentGlassTimeline, FluentGlassBadge, FluentGlassTag, FluentGlassStatusIndicator, FluentGlassStatWidget, FluentGlassCalendarWidget, FluentGlassClockWidget, FluentGlassWeatherWidget

Feedback & Overlays (6)

FluentGlassAlert, FluentGlassDialog, FluentGlassPopover, FluentGlassSheet, FluentGlassSkeleton, FluentGlassCrossfade

Actions (1)

FluentGlassButton

For detailed API documentation on all components, see the /docs folder.


Running the Example App

The repository includes a fully working documentation/demo app in the /example folder:

# Clone the repository
git clone https://github.com/grrdhdz/FluentGlass.git

# Enter the example directory
cd FluentGlass/example
npm install

# Start the local development web server
npx expo start --web

The example app showcases all 42 components across 5 sections: Home, Form Controls, Data Display, Layout & Nav, and Feedback.


License

Distributed under the MIT License. Copyright grrdhdz. See LICENSE for more information.