Skip to content

polumeyv/ui-lib

Repository files navigation

@polumeyv/ui

Svelte 5 component library built on Tailwind CSS v4. The headless primitives are a vendored copy of bits-ui (see src/lib/VENDORED.md), so the package has no Svelte component dependencies to fight bundlers over.

Components

Accordion, Alert, Alert Dialog, Aspect Ratio, Avatar, Badge, Breadcrumb, Button, Button Group, Card, Carousel, Chart, Checkbox, Collapsible, Command, Context Menu, Copy Button, Data Table, Dialog, Drawer, Dropdown Menu, Empty, Field, Hover Card, Image Cropper, Input, Input Group, Input OTP, Item, Kbd, Label, Menubar, Native Select, Navigation Menu, Pagination, Popover, Progress, Radio Group, Resizable, Scroll Area, Select, Separator, Share Card, Sheet, Sidebar, Skeleton, Slider, Sonner, Spinner, Switch, Table, Tabs, Textarea, Theme Toggle, Toggle, Toggle Group, Tooltip

Install

bun add @polumeyv/ui

CSS Import

Import the theme CSS:

<script>
  import '@polumeyv/ui/styles';
</script>

This requires your app to provide the font files separately, since the CSS references /fonts/... paths.

Usage

<script>
  import { Button } from '@polumeyv/ui';
</script>

<Button variant="outline">Click me</Button>

Development

bun install
bun run check

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors