Skip to content
No-ScrollingPublic

About

Framework to create apps for the Light Phone III

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Ink

Latest Ink release Light SDK 0.1.2 MIT licence

A React and TypeScript framework to create Light Phone III apps. Powered by QuickJS-ng and Ink's Rust/Vulkan renderer.

Important

Ink is currently under heavy development.

Install

curl -fsSL https://ink.noscroll.ing/install.sh | sh

Follow the getting started guide to install Ink and create your first app.

Example

import { useState } from "react";
import { Button, Screen, Stack, Text } from "ink";

export default function Counter() {
  const [count, setCount] = useState(0);

  return (
    <Screen title="Counter" centered>
      <Stack gap={16} align="center">
        <Text size={40}>Count: {count}</Text>
        <Button onPress={() => setCount(value => value + 1)}>
          Increase
        </Button>
      </Stack>
    </Screen>
  );
}

About

Framework to create apps for the Light Phone III

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Contributors

Languages