line/abc-def
line/abc-def has 108 GitHub stars and 10 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-16 19:43 UTC. Last push 2026-11-15.
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
About
ABC Def is an efficient design system using a three-tier token structure and Headless UI to create web components with consistent design and flexible customization.
Web & AppsREADME.md
OriginalABC Def
ABC Def is a CSS-first design system for shared UI packages. The visual contract lives in @line/abc-def-styles; the React and Vue packages render components against the same semantic selectors and tokens.
Packages
@line/abc-def-styles: Tailwind CSS v4 tokens, semantic variables, and component selectors.@line/abc-def-react: React components that render the shared selector contract.@line/abc-def-vue: Vue components that render the shared selector contract.
Install
pnpm add tailwindcss @line/abc-def-styles
pnpm add @line/abc-def-react react react-dom
pnpm add @line/abc-def-vue vue
Install only the framework package you use. Plain HTML projects only need @line/abc-def-styles.
Usage
Import the shared stylesheet from CSS processed by Tailwind CSS v4:
@import "tailwindcss";
@import "@line/abc-def-styles/css";
React apps import components from subpath entry points:
import { Button } from "@line/abc-def-react/button";
export function Example() {
return <Button variant="outline">Button</Button>;
}
ABC Def does not provide a root component export. Do not import components from @line/abc-def-react; use the component subpath such as @line/abc-def-react/button.
Vue apps use the same subpath pattern:
<script setup lang="ts">
import { Button } from "@line/abc-def-vue/button";
</script>
<template>
<Button variant="outline">Button</Button>
</template>
The Vue package follows the same rule: do not import components from @line/abc-def-vue; use subpath entries such as @line/abc-def-vue/button.
Tailwind v4 ignores most package sources by default. Add an @source rule for the installed component package when your app uses React or Vue components:
@source "../node_modules/@line/abc-def-react/dist/**/*.{js,cjs}";
@source "../node_modules/@line/abc-def-vue/dist/**/*.{js,cjs}";
Adjust the relative path for your app stylesheet location.
Examples
examples/html-vite: plain HTML consumer of@line/abc-def-styles/cssexamples/nextjs: React consumer of@line/abc-def-styles/cssand@line/abc-def-reactexamples/vue-vite: Vue consumer of@line/abc-def-styles/cssand@line/abc-def-vue
Compatibility
ABC Def 2.x follows strict SemVer for documented public APIs, including package subpath exports, component props, CSS entry points, semantic selectors, and documented token names. See Public API.
Development
pnpm install
pnpm dev
pnpm dev watches the framework packages under packages/*. Run an example app separately when you want to verify the UI in a browser:
pnpm --filter @abc-def/example-html-vite dev
pnpm --filter @abc-def/example-vue-vite dev
pnpm --filter @abc-def/example-nextjs dev
Before submitting changes, run:
pnpm lint
pnpm format
pnpm typecheck
pnpm build
For contribution details, see CONTRIBUTING.md. Security reports are handled through SECURITY.md.
License
Apache-2.0. See LICENSE.