AI Decision System
Replayable, offline-verifiable records for AI-assisted go/no-go decisions: experiment promotions, typed model answers and human-approved actions.
Rokkit 데이터 기반 Svelte 5 컴포넌트 라이브러리 및 디자인 시스템
Rokkit is a data-driven Svelte 5 component library and design system: components adapt to your data via field mapping, with built-in selection, validation, theming, keyboard nav, and accessibility.
개발 도구JavaScript · TypeScriptGitHub @jerrythomas온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
A set of composable, data-driven and themeable UI components.
저장소 README에서 가져옴
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Rokkit is a data-driven, configurable, and themeable UI library built for use with Svelte. Rokkit controls are designed to be easily themeable, so you can match the look and feel of your project with minimal effort.
Rokkit provides both composable and data-driven components.README 전문 보기 ↗Rokkit is a data-driven, configurable, and themeable UI library built for use with Svelte. Rokkit controls are designed to be easily themeable, so you can match the look and feel of your project with minimal effort.
Rokkit provides both composable and data-driven components.
Rokkit is currently under development and not feature complete yet. Rokkit has been rewritten to use Svelte 5 runes Some components are yet to be rewritten
Components have been separated into the following packages. Refer to the stories for examples of all available UI components. View a live demo here
--paper, --ink-mute, --accent-soft, …) and tokens: 'core' | 'extended' modesTo install Rokkit, use the following command:
degit jerrythomas/rokkit/sites/quick-start my-app
bun install
To use Rokkit in your Svelte project, simply import the desired control and use it in your template like any other Svelte component. For example, to use the List control:
<script>
import { List } from '@rokkit/ui'
let items = $state(['a', 'b', 'c'])
</script>
<List bind:items />
One of the key features of Rokkit is its data-driven controls. These controls automatically bind to your data and update its state whenever the data changes. All data-driven components follow a consistent pattern. Selection components that work on arrays have an items property and all components have a value property that has the current value.
<script>
import { List } from '@rokkit/ui'
let items = $state(['a', 'b', 'c'])
let value = $state(null)
</script>
<List bind:items bind:value />
To apply a theme to your controls, simply pass a theme prop to the body element.
<svelte:body data-style="rokkit" data-mode="dark" />
If you want to provide users the option of switching between dark theme and light mode or custom themes, then you can also use the themable action with the ToggleThemeMode component.
<script>
import { themable } from '@rokkit/actions'
import { ToggleThemeMode } from '@rokkit/ui'
</script>
<svelte:body use:themable />
<ToggleThemeMode />
For more detailed documentation on each control, including a list of all available props and usage examples, please refer to the Rokkit documentation on our website.
We hope you enjoy using Rokkit in your projects!
degit jerrythomas/rokkit/sites/quick-start my-app
cd my-app
bun install
bun dev