New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@rkmodules/yalu

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rkmodules/yalu

start with a frame and specify the sides that should be visible:

latest
Source
npmnpm
Version
0.0.17
Version published
Maintainers
1
Created
Source

Yet Another LCARS UI

start with a frame and specify the sides that should be visible:

<Frame top left bottom right></Frame>

Width is 100% by default and as small as needed, just like a <div> element. You can add optional width and height attributes, a custom className or style to adjust this

Content goes inside the frame:

<Frame top left bottom height={400}>
    Content here
</Frame>

To add buttons to a side of the frame, use the specialized <Left>, <Top>, <Right> and <Bottom> elements together with <Button> and <Filler> elements

<Frame left top bottom height={400}>
    <Left>
        <Button>Engage</Button>
        <Filler flex />
    </Left>
    content here
</Frame>

For the frame, you can also adjust the border, innerRadius, outerRadius and className attributes. For the last one, the following color pallettes are available:

  • lcars-tng
  • lcars-voy
  • lcars-pic
  • lcars-alert
  • lcars-alert-strobe
  • lcars-yellow
  • lcars-blue
  • lcars-lavender
  • lcars-gray

You can use nested <Frame>s for additional effect:

<Frame
    left
    top
    height={400}
    className="lcars-gray"
    border={[4, 100]}
    outerradius={20}
    innerradius={16}
>
    <Left>
        <Button>Engage</Button>
        <Filler flex />
    </Left>
    <Frame left top border={2} innerradius={12} outerradius={12} flex>
        <Frame
            right
            bottom
            border={[12, 24]}
            flex
            innerradius={48}
            outerradius={64}
        >
            content here
        </Frame>
    </Frame>
</Frame>

FAQs

Package last updated on 29 Jul 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