01 Buttons
ButtonNeutral, soft and filled; five sizes. Tab to inspect focus.
Ready when you are.
Native buttons, links and icon actions.
Try an action
02 Inputs & selection
TextInput · Checkbox · SelectSelected: ts. Open, Tab to an option, then Enter.
03 Tags & choices
Pill · PillGroup · PillChoiceGroupActivity, at a glance
A subtle swoosh for work in progress. Respects reduced motion.
Removable group
- Svelte
- TypeScript
- CSS
Single choice / native radios
- Default
- Compact
- Expanded
Mode: default
Multiple choice / native checkboxes
- Lint
- Types
- Locked choice
04 Feedback & icons
Progress · Spinner · IconLoading indicators
Semantic icons
05 Surfaces & overlays
Surface · Popover · Dialogneutral
A crisp container with semantic paint and explicit spacing.
soft
A crisp container with semantic paint and explicit spacing.
filled
A crisp container with semantic paint and explicit spacing.
Scrollable content, line 1. Focus and use the arrow keys.
Scrollable content, line 2. Focus and use the arrow keys.
Scrollable content, line 3. Focus and use the arrow keys.
Scrollable content, line 4. Focus and use the arrow keys.
Scrollable content, line 5. Focus and use the arrow keys.
06 Tabs
Tabs · consumer-owned contentArrow keys select; Home and End jump. Disabled items are skipped. Overflow stays within each strip.
Panel · horizontal fit
Content belongs to the page.
Tabs select a value. Compose the matching content with ordinary Svelte.
Panel changes: 0
Settings scope · horizontal fill
Values persist independently when switching scope. Filled icons and a reduced-motion-aware fade.
Preferences · vertical
Editor
Formatting is enabled for this workspace.
The rounded selection moves between icons and joins the content panel. Use ↑/↓, Home or End to switch categories. Extensions stays disabled.
07 More components
Switch · Combobox · TextAreaA few finishing touches for the workspace. Edit settings or search a language. The navigation sidebar is the TreeView example: expand the source folder, select a file or filter with Search. Tab between controls; Enter or Space activates them. The unavailable file stays disabled.
Fields editable.
Notifications
SwitchNotifications are enabled.
Language mode
ComboboxType to filter; use arrow keys and Enter to select. Try an unmatched query.
Appearance
The VS Code preview uses a fixed dark workbench palette.
08 Make it part of your workspace.
Getting startedImport the theme and its components from one public entry point. Wrap the interface in Theme to apply the workbench palette.
<script>
import { Theme, Button, Pill } from 'bref-ui-themes/vscode';
</script>
<Theme>
<Button label="Save changes" variant="filled" color="primary" />
<Pill label="In progress" swoosh color="info" variant="soft" />
</Theme>