New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

stayedcss

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stayedcss

CSS library for Next.js App Router

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-80%
Maintainers
0
Weekly downloads
 
Created
Source

stayedcss

version


Introduction

StayedCSS - beta version

StayedCSS is a static CSS library designed for Next.js App Router, offering full support for both server and client components. With a simple syntax similar to basic CSS, it enables efficient styling and aims to be the next-generation CSS library for the Next.js App Router.

Currently in its beta version, StayedCSS is rapidly improving in optimization and stability. It will continue to evolve to deliver a better styling experience for your projects.

Main Features

  • Server and Client Component Support: Apply styles seamlessly to server and client components in the Next.js App Router environment.
  • Various Styling Options: Supports various CSS styles such as :hover, ::after, and ~ p.
  • Media Queries: Simplify responsive design implementation.
  • Dark Mode: Offers flicker-free dark mode transitions.

Getting Started

Installation

npm install stayedcss
# or
yarn add stayedcss

Usage Example

import { useStyle } from "stayedcss";
const styles = useStyle({
  componentId: "components/example",
  container: {
    backgroundColor: "black",
    padding: "20px",
  },
});

For more details, check out the documentation.

Limitations (Beta Version)

  • StayedCSS is currently only compatible with the Next.js App Router environment.
  • As this is a beta release, stability is not guaranteed. It is recommended to thoroughly test before integrating it into your project.

Contribution

StayedCSS is an open-source project. Feel free to submit bug reports or feature requests on Issues. Your feedback is important for StayedCSS from a beta version to a stable and robust library.

License

MIT

Keywords

FAQs

Package last updated on 23 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc