Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@f97/twilight-ui

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@f97/twilight-ui

A super opinionated UI library for React & Tailwind CSS

npmnpm
Version
0.0.2
Version published
Weekly downloads
10
233.33%
Maintainers
1
Weekly downloads
 
Created
Source

Twilight UI

A super opinionated UI library for React & Tailwind CSS

twilight-toolkit-storybook


Foreword

This project is work in progress.


Storybook

https://ui.twilight-toolkit.ouorz.com →


Default usage (Standalone)

  • Import the Twilight UI stylesheet (with Tailwind CSS included in the bundle) globally:

    import "./node_module/@f97/twilight-ui/dist/index.css"
    
  • Import components from @f97/twilight-ui:

    import { Button } from "@f97/twilight-ui"
    

Headless usage

In a Tailwind CSS project, Twilight UI should be used headlessly (to avoid styling conflicts).

  • Import the Twilight UI stylesheet (without Tailwind CSS included in the bundle) globally:

    import "./node_module/@f97/twilight-ui/dist/index-headless.css"
    
  • Configure tailwind.config.js for Tailwind CSS to compile Twilight UI's styling:

    module.exports = {
      content: [
       // ...
       "./node_module/@f97/twilight-ui/dist/index-headless.js",
      ],
    }
    
  • Import components from @f97/twilight-ui:

    import { Button } from "@f97/twilight-ui"
    

FAQs

Package last updated on 19 Oct 2023

Did you know?

Socket

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.

Install

Related posts