I'm a frontend dev from Pachuca, México. I lead the frontend team at dinkbit and I've been building websites since 2013.
I'm picky with the details: how it looks, how it feels to use it, and how clean the code is inside.
On the side I make open source packages for the stuff I kept rewriting on every project, like forms, drawers, toasts, scroll and formatting. They work with any framework or with plain HTML, and each one has its own docs.
They're all on npm under @samline. More at samline.github.io.
| Package | What it does |
|---|---|
| drawer | Bottom sheets and side panels with dragging and snap points |
| notify | Accessible toast notifications |
| autocomplete | Accessible combobox for any framework or plain HTML |
| ticker | Accessible ticker (marquee) that pauses on hover |
| Package | What it does |
|---|---|
| forms | Form handling, validation and reactive state for native forms |
| formatter | Input formatting (numeral, date, time, card, phone) plus Intl display helpers |
| string | Case conversion, slugify, accents, truncate and initials, Unicode-aware |
| Package | What it does |
|---|---|
| reveal | Reveal elements as they scroll into view, with stagger and a CSS-only scrub mode |
| scroll-lock | Lock page scroll while a modal, drawer or menu is open, including the iOS Safari fix |
| scroll-to | Smooth scrolling with fixed-header offsets, focus and hash handling |
| scroll-spy | Highlight the nav link of the section in view, with aria-current |
| horizontal-scroll | Pin a section and move it sideways on scroll, with a no-JS fallback |
| counter | Count numbers up as they enter the viewport, with Intl formatting |
| is-visible | Visibility callbacks on shared intersection observers |
| Package | What it does |
|---|---|
| theme | Light, dark and system themes without a flash |
| debounce | Tiny debounce, throttle and rafThrottle with cancel and flush |
| astro | Astro 7 starter and interactive installer |
- Keyboard support, proper ARIA and respect for
prefers-reduced-motion. - No framework lock-in. You can even use them from a
<script>tag. - Keep them small.
Older work: shido, a utility-first CSS framework (2013–2020).
Find me at samline.github.io, on LinkedIn and on X.




