wonky-line
v0.0.6
Published
For when you want a line, but you know, a bit wonky
Downloads
10
Readme
wonky-line
A React component for creating wonky, animated lines with SVG. Perfect for adding playful and dynamic visual elements to your UI.
Features
- 🎨 Customizable wonky line animations
- 📱 Responsive design
- 🔄 Multi-line support with resize handling
- ⚛️ React 17+ compatible
- 🎭 Built with TypeScript for type safety
Demo
https://deansimcox.github.io/wonky-line/
Installation
npm install wonky-lineUsage
import { WonkyLine } from "wonky-line";
function App() {
return (
<h1>
This is <WonkyLine>really important</WonkyLine>
</h1>
);
}Development
This project uses:
- TypeScript for type safety
- Biome for formatting and linting
- Vitest for testing
- Ladle for component stories
- Changesets for version management
Available Scripts
npm run build- Build the projectnpm run test- Run testsnpm run format- Format codenpm run ladle- Start Ladle development servernpm run ci- Run all CI checks
Contributing
Feel free to open issues and pull requests! Check out the GitHub repository for more information.
License
MIT © Dean Simcox
