Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
@captn/joy
Advanced tools
Readme
The @captn/joy
package provides a suite of UI components and utilities that facilitate building attractive and consistent interfaces for applications within the Captain framework. Built on top of the MUI Joy library, it extends and customizes its components to fit the specific needs of Captain applications, ensuring seamless integration and enhanced user experiences.
To add the @captn/joy
package to your project, run the following command:
npm install @captn/joy
Or with Yarn:
yarn add @captn/joy
@captn/joy
extends MUI Joy's theme with additional colors and utility functions for more dynamic theming capabilities.
import { ThemeProvider } from '@captn/joy';
function MyApp() {
return (
<ThemeProvider>
{/* Your component tree */}
</ThemeProvider>
);
}
Embed your application within an AppFrame
and include a TitleBar
to handle window controls seamlessly and display your app title.
import { AppFrame, TitleBar } from '@captn/joy';
import Typography from "@mui/joy/Typography"
function MyApplication() {
return (
<AppFrame titleBar={<TitleBar><Typography>My Custom App</Typography></TitleBar>}>
{/* Content of your application */}
</AppFrame>
);
}
Use the CustomScrollbars
component to apply consistent scrollbars throughout your application.
import { CustomScrollbars } from '@captn/joy';
function MyScrollableComponent() {
return (
<CustomScrollbars>
{/* Scrollable content here */}
</CustomScrollbars>
);
}
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the AGPL 3.0 License - see the LICENSE file for details.
FAQs
The `@captn/joy` package provides a suite of UI components and utilities that facilitate building attractive and consistent interfaces for applications within the Captain framework. Built on top of the MUI Joy library, it extends and customizes its compon
The npm package @captn/joy receives a total of 398 weekly downloads. As such, @captn/joy popularity was classified as not popular.
We found that @captn/joy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.