GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - feuersteiner/bref-ui: A Svelte 5 component library for customizable websites and apps, with scoped CSS and source you can own. Discord: https://discord.gg/JpgQRTUsVS

BranchesTags
Open more actions menu

Latest commit

 

History

499 Commits
499 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
core
core
 
 
docs
docs
 
 
scripts
scripts
 
 
themes
themes
 
 
video-demo
video-demo
 
 
.gitignore
.gitignore
 
 
.npmrc
.npmrc
 
 
.prettierignore
.prettierignore
 
 
AGENTS.md
AGENTS.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
bun.lock
bun.lock
 
 
eslint-rules.js
eslint-rules.js
 
 
eslint.config.js
eslint.config.js
 
 
package.json
package.json
 
 
prettier.config.js
prettier.config.js
 
 
readme.md
readme.md
 
 

Repository files navigation

Bref-ui

A Svelte-first, human-first, agent-first UI library for building beautiful sites and apps with components you can make your own.

npm Discord MIT license

feuersteiner%2Fbref-ui | Trendshift feuersteiner%2Fbref-ui | Trendshift

The documentation includes component playgrounds and the Todo, House Shop and RunnerAI demos. Explore New Paris, VS Code, Glassy and Crystal Code through individual bref-ui-themes entry points.

See Bref-ui in 60 seconds

bref-ui-demo.mp4

Three apps side by side. Import components, customize a theme and copy the source into your codebase. Then explore New Paris shopping, the ADE workbench with VS Code styling and a Glassy workspace—all in one minute.

The Svelte production app and storyboard include the repeatable video renderer.

Get started

1. Install

In a Svelte 5.56.1+ or SvelteKit project:

npm install bref-ui

2. Import

Render Theme once in your app root, then use components anywhere:

<script lang="ts">
	import { Button, Theme } from 'bref-ui';
</script>

<Theme />
<Button label="Save" />

3. Customize

Paint native HTML with the same recipe as Surface and Button:

<script>
	import { surface } from 'bref-ui';
</script>

<button class={surface({ variant: 'filled', color: 'primary', shadow: 'small' })}>Save</button>

Or own the source: the optional CLI (runs on Node.js) copies components into your project.

npx bref-ui init
npx bref-ui add button

init adds a #bref import to package.json, pointing at src/lib/ui by default:

"imports": {
	"#bref": "./src/lib/ui/index.js",
	"#bref/*": "./src/lib/ui/*"
}

add previews every file and asks before overwriting anything. Import your copies from #bref and keep bref-ui installed for its shared types:

<script lang="ts">
	import { Button, Theme } from '#bref';
</script>

Components: button, checkbox, combobox, dialog, icon, pill, pill-choice-group, pill-group, popover, progress, select, spinner, surface, switch, tabs, text-area, text-input, theme and tree-view.

Why Bref-ui?

Watch the Bref-ui showcase.

  • Svelte-first. Strictly Svelte: no runtime dependencies, scoped CSS, native HTML, events, bindings and snippets. No class names to memorize.
  • Human-first. Simple to use, simpler to customize: copy the source and grow it as your own.
  • Agent-first. Typed APIs and an /llms.txt reference help agents discover, compose and verify interfaces.

Documentation

Explore the component gallery for examples, props and theme customization. Get started with Use the package, Own the code and Use a prebuilt theme.

Repository structure

Install workspace dependencies with Bun, then run commands from the repository root. Bun is used for workspace development; the published CLI runs through Node.js and npm.

bun install
bun run dev     # docs from workspace source exports
bun run check   # all package checks
bun run lint
bun run --workspaces --if-present test # CLI contract tests
bun run build   # both libraries and the static docs site
bun run preview # preview docs/build
  • core: the bref-ui package, with components, the copy CLI.
  • themes: New Paris, VS Code, Glassy and Crystal Code, each with its own package entry point.
  • docs: the static component documentation, playgrounds, demos and palette previews.
  • video-demo: the Svelte showcase app, storyboard and repeatable video renderer.

The root lint/format configuration covers every package. The docs site imports public package source exports directly; no package prebuild is required for development or checks.

On main, each package publishes directly when its manifest changes; npm rejects already-published versions. Releases use tags such as [email protected]. Docs deploy on every push to main and support manual dispatch. Publishing requires npm trusted-publisher configuration for publish-core.yml and publish-themes.yml; see npm setup.

Roadmap

flowchart LR
    foundation["✅ Component foundation<br/>19 components · npm + copy CLI"]
    themes["✅ Theme tooling<br/>static light/dark palettes · contrast reports"]
    agents["✅ Agent tooling<br/>/llms.txt today · CLI/SDK (WIP: MCP)"]
    sites["🗓️ Marketing sites<br/>sections, recipes, generated SvelteKit sites"]
    genui["🗓️ Generative UI<br/>json-render experiment"]
    foundation --> themes --> agents --> sites --> genui
Loading

✅ shipped · 🚧 in progress · 🗓️ planned. Generation and agent integrations will stay optional. Accessibility depends on your final composition and theme; component checks cannot guarantee every customization is accessible.

Community and contributing

For questions and examples, join Discord and use the bref-ui channel. Report bugs and suggest features through GitHub Issues.

See CONTRIBUTING.md for contribution guidelines.

License

MIT.

About

A Svelte 5 component library for customizable websites and apps, with scoped CSS and source you can own. Discord: https://discord.gg/JpgQRTUsVS

feuersteiner.github.io/bref-ui/

Topics

component-librarycustomizable-componentsdesign-systemscoped-cssstatic-sitesveltesvelte-5sveltekitui-library

Resources

Readme
MIT license

Contributing

Contributing
Activity

Stars

116 stars

Watchers

2 watching

Forks

2 forks
Report repository

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.